
function buyAlLCards(cards) {
	cards = document.getElementById("Bo0d").value;
	window.location='http://www.coolstuffinc.com/main_deckBuilder.php?sList='+cards+'&mn1=1';
}

title = "<a href=\"http://mtgurl.com/Bo0d\">Dark Depths</a>";
author = "Lucas Blohon";
output = '<style type="text/css">.mtgurl-deck { background: #fff; }</style><div id="button-placeholder-deck"><form method="POST" action="/decksend.php" name="form-Bo0d"><input type="hidden" id="deck" name="deck" value="true"><input type="hidden" id="mn1" name="mn1" value="1"><table cellpadding="0" cellspacing="0"><tr><td class="alt"><input type="checkbox" name="spot_0" value="4_Dark_Depths" /></td><td class="alt">4</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Dark_Depths.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Dark Depths">Dark Depths</a> </td></tr><tr><td><input type="checkbox" name="spot_1" value="1_Ghost_Quarter" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Ghost_Quarter.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Ghost Quarter">Ghost Quarter</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_2" value="1_Island" /></td><td class="alt">1</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Island.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Island">Island</a> </td></tr><tr><td><input type="checkbox" name="spot_3" value="4_River_of_Tears" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/River_of_Tears.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=River of Tears">River of Tears</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_4" value="4_Sunken_Ruins" /></td><td class="alt">4</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Sunken_Ruins.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Sunken Ruins">Sunken Ruins</a> </td></tr><tr><td><input type="checkbox" name="spot_5" value="1_Swamp" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Swamp.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Swamp">Swamp</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_6" value="3_Tolaria_West" /></td><td class="alt">3</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Tolaria_West.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Tolaria West">Tolaria West</a> </td></tr><tr><td><input type="checkbox" name="spot_7" value="3_Urborg,_Tomb_of_Yawgmoth" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Urborg,_Tomb_of_Yawgmoth.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Urborg, Tomb of Yawgmoth">Urborg, Tomb of Yawgmoth</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_8" value="3_Watery_Grave" /></td><td class="alt">3</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Watery_Grave.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Watery Grave">Watery Grave</a> </td></tr><tr><td><input type="checkbox" name="spot_10" value="4_Dark_Confidant" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Dark_Confidant.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Dark Confidant">Dark Confidant</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_11" value="4_Vampire_Hexmage" /></td><td class="alt">4</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Vampire_Hexmage.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Vampire Hexmage">Vampire Hexmage</a> </td></tr><tr><td><input type="checkbox" name="spot_12" value="3_Vendilion_Clique" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Vendilion_Clique.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Vendilion Clique">Vendilion Clique</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_14" value="3_Beseech_the_Queen" /></td><td class="alt">3</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Beseech_the_Queen.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Beseech the Queen">Beseech the Queen</a> </td></tr><tr><td><input type="checkbox" name="spot_15" value="1_Chalice_of_the_Void" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Chalice_of_the_Void.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Chalice of the Void">Chalice of the Void</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_16" value="4_Chrome_Mox" /></td><td class="alt">4</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Chrome_Mox.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Chrome Mox">Chrome Mox</a> </td></tr><tr><td><input type="checkbox" name="spot_17" value="3_Engineered_Explosives" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Engineered_Explosives.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Engineered Explosives">Engineered Explosives</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_18" value="4_Muddle_the_Mixture" /></td><td class="alt">4</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Muddle_the_Mixture.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Muddle the Mixture">Muddle the Mixture</a> </td></tr><tr><td><input type="checkbox" name="spot_19" value="4_Repeal" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Repeal.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Repeal">Repeal</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_20" value="1_Sword_of_the_Meek" /></td><td class="alt">1</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Sword_of_the_Meek.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Sword of the Meek">Sword of the Meek</a> </td></tr><tr><td><input type="checkbox" name="spot_21" value="1_Thopter_Foundry" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Thopter_Foundry.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Thopter Foundry">Thopter Foundry</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_22" value="4_Thoughtseize" /></td><td class="alt">4</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Thoughtseize.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Thoughtseize">Thoughtseize</a> </td></tr><tr><td colspan="3">Sideboard</td></tr><tr><td class="alt"><input type="checkbox" name="spot_25" value="3_Cruel_Edict" /></td><td class="alt">3</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Cruel_Edict.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Cruel Edict">Cruel Edict</a> </td></tr><tr><td><input type="checkbox" name="spot_26" value="3_Extirpate" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Extirpate.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Extirpate">Extirpate</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_27" value="1_Ravenous_Trap" /></td><td class="alt">1</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Ravenous_Trap.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Ravenous Trap">Ravenous Trap</a> </td></tr><tr><td><input type="checkbox" name="spot_28" value="3_Tombstalker" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Tombstalker.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Tombstalker">Tombstalker</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_29" value="1_Tormod\'s_Crypt" /></td><td class="alt">1</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Tormod\'s_Crypt.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Tormod\'s Crypt">Tormod\'s Crypt</a> </td></tr><tr><td><input type="checkbox" name="spot_30" value="3_Wretched_Banquet" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Wretched_Banquet.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Wretched Banquet">Wretched Banquet</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_31" value="1_Yixlid_Jailer" /></td><td class="alt">1</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Yixlid_Jailer.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Yixlid Jailer">Yixlid Jailer</a> </td></tr><tr><td colspan="3"><div align="center"><input type="hidden" name="Bo0d" id="Bo0d" value="4 Dark Depths|1 Ghost Quarter|1 Island|4 River of Tears|4 Sunken Ruins|1 Swamp|3 Tolaria West|3 Urborg, Tomb of Yawgmoth|3 Watery Grave| |4 Dark Confidant|4 Vampire Hexmage|3 Vendilion Clique| |3 Beseech the Queen|1 Chalice of the Void|4 Chrome Mox|3 Engineered Explosives|4 Muddle the Mixture|4 Repeal|1 Sword of the Meek|1 Thopter Foundry|4 Thoughtseize| | |3 Cruel Edict|3 Extirpate|1 Ravenous Trap|3 Tombstalker|1 Tormod\'s Crypt|3 Wretched Banquet|1 Yixlid Jailer"><input type="button" text="Get All" onclick="buyAlLCards(\'Bo0d\')" value="Get ALL"> <input type="submit" text="Get Checked" value="Get Checked"></div></td></tr></table></form></div>';

document.write('<style type="text/css">.mtgurl-deck{width:250px;overflow-x:hidden;border:1px solid #000;padding:3px;}.mtgurl-deck table{width:100%;}.mtgurl-deck h3{margin-top:3px;margin-bottom:3px;}.mtgurl-deck h4{margin-top:3px;margin-bottom:3px;}.mtgurl-deck .alt{background:#ddd;}.mtgurl-deck td{color:#333;padding:0 2px;margin:0;}.mtgurl-deck a:link,.mtgurl-deck a:visited,.mtgurl-deck a:hover{color:#040;}.mtgurl-deck .badcard{color:#f00;}#JT_close_left,#JT_close_right{font-size:1.1em;}#JT_copy p,#JT_copy ul{font-size:1.1em;}#JT_arrow{position:absolute;background-repeat:no-repeat;background-position:left top;z-index:101;}.JT_arrow_top{height:23px;width:10px;top:-3px;}.JT_arrow_bottom{height:23px;width:10px;top:266px;}.JT_arrow_left{background-image:url(../images/arrow_left.gif);left:-11px;}.JT_arrow_right{background-image:url(../images/arrow_right.gif);}#JT{position:absolute;z-index:100;border:2px solid #000;background:transparent;width:200px;height:285px;background-image:url(../images/missing.jpg);background-repeat:no-repeat;background-position:left top;}#JT_copy{padding:0;color:#333;}#JT_copy p{margin:3px 0;}#JT_copy img{padding:0;}.jTip{cursor:hand;white-space:nowrap;}.mtgh{border:0 solid;list-style:none;margin:20px 0;padding:0;text-align:left;}.mtgh .header_options{float:right;margin-right:3px;color:#000;text-decoration:none;}.mtgh .header_options a{font-size:11px;color:#000;text-decoration:none;}.mtgh .header{margin:0;padding:3px 0;}.mtgh .header h4{font-weight:bold;font-size:150%;text-align:left;padding:0;margin:0;}.mtgh .header h4 hr{padding:0;margin:0;}.mtgh .header a{text-align:right;font-weight:normal;font-size:90%;padding:0;margin:0;}.mtgh .tab{background:#CCC;}.mtgh .tab ul{width:100%;margin:0;padding:0;list-style:none;}.mtgh .tab li{float:left;margin:0;padding:0;text-align:center;overflow:hidden;}.mtgh .tab li a{display:block;color:#000;margin:0;padding:0;text-decoration:none;width:100%%;height:100%;}.mtgh .tab li a:hover{text-decoration:underline;}.mtgh .content{margin:3px 3px 0 3px;padding:0;border:0 none;}.mtgh .content td{vertical-align:top;margin:0;padding:0;}.mtgh .content ul{list-style:none;margin:0;padding:0;}.mtgh .content li{line-height:110%;list-style:none;margin:0;padding:0;}.mtgh .content a{text-decoration:none;}.mtgh .card_box{margin:0!important;padding:0!important;width:200px!important;height:285px;}.mtgh .card_box img{margin:0;padding:0;}.mtgh .card_box table{border-spacing:0;}.mtgh .card_box table td{padding:0;margin:0;}.mtgh .display_preview{vertical-align:center;width:200px;height:285px;padding:0;margin:0;background-image:url(../images/missing.jpg);background-repeat:no-repeat;background-position:left top;background-color:#000;}.mtgh .thumbnail{margin:0;padding:0;}img.cardpick_border{border:2px solid red;}a.cardpick_border{color:red;font-weight:bold;}</style>');

document.write("<div class='mtgurl-deck'><h3>"+title+"</h3>");
document.write("<h4>"+author+"</h4>");
document.write(output+"<div align=\"center\"><small>Provided by <a href=\"http://mtgurl.com\">mtgurl.com</a></small></div></div>");
