
function buyAlLCards(cards) {
	cards = document.getElementById("rvSy").value;
	window.location='http://www.coolstuffinc.com/main_deckBuilder.php?sList='+cards+'&mn1=1';
}

title = "<a href=\"http://mtgurl.com/rvSy\">Dredge</a>";
author = "Christopher Wolf";
output = '<style type="text/css">.mtgurl-deck { background: #fff; }</style><div id="button-placeholder-deck"><form method="POST" action="/decksend.php" name="form-rvSy"><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="2_Breeding_Pool" /></td><td class="alt">2</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Breeding_Pool.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Breeding Pool">Breeding Pool</a> </td></tr><tr><td><input type="checkbox" name="spot_1" value="2_Island" /></td><td>2</td><td><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 class="alt"><input type="checkbox" name="spot_2" value="4_Misty_Rainforest" /></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/Misty_Rainforest.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Misty Rainforest">Misty Rainforest</a> </td></tr><tr><td><input type="checkbox" name="spot_3" value="4_Scalding_Tarn" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Scalding_Tarn.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Scalding Tarn">Scalding Tarn</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_4" value="1_Steam_Vents" /></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/Steam_Vents.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Steam Vents">Steam Vents</a> </td></tr><tr><td><input type="checkbox" name="spot_5" value="3_Verdant_Catacombs" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Verdant_Catacombs.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Verdant Catacombs">Verdant Catacombs</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_6" 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_8" value="3_Bloodghast" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Bloodghast.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Bloodghast">Bloodghast</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_9" value="4_Drowned_Rusalka" /></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/Drowned_Rusalka.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Drowned Rusalka">Drowned Rusalka</a> </td></tr><tr><td><input type="checkbox" name="spot_10" value="1_Flame-Kin_Zealot" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Flame-Kin_Zealot.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Flame-Kin Zealot">Flame-Kin Zealot</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_11" value="4_Golgari_Grave-Troll" /></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/Golgari_Grave-Troll.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Golgari Grave-Troll">Golgari Grave-Troll</a> </td></tr><tr><td><input type="checkbox" name="spot_12" value="4_Hedron_Crab" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Hedron_Crab.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Hedron Crab">Hedron Crab</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_13" value="1_Iona,_Shield_of_Emeria" /></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/Iona,_Shield_of_Emeria.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Iona, Shield of Emeria">Iona, Shield of Emeria</a> </td></tr><tr><td><input type="checkbox" name="spot_14" value="4_Narcomoeba" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Narcomoeba.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Narcomoeba">Narcomoeba</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_15" value="1_Sphinx_of_Lost_Truths" /></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/Sphinx_of_Lost_Truths.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Sphinx of Lost Truths">Sphinx of Lost Truths</a> </td></tr><tr><td><input type="checkbox" name="spot_16" value="4_Stinkweed_Imp" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Stinkweed_Imp.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Stinkweed Imp">Stinkweed Imp</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_18" value="4_Bridge_from_Below" /></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/Bridge_from_Below.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Bridge from Below">Bridge from Below</a> </td></tr><tr><td><input type="checkbox" name="spot_19" value="3_Dread_Return" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Dread_Return.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Dread Return">Dread Return</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_20" value="3_Glimpse_the_Unthinkable" /></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/Glimpse_the_Unthinkable.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Glimpse the Unthinkable">Glimpse the Unthinkable</a> </td></tr><tr><td><input type="checkbox" name="spot_21" value="4_Ideas_Unbound" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Ideas_Unbound.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Ideas Unbound">Ideas Unbound</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_22" value="1_Life_from_the_Loam" /></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/Life_from_the_Loam.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Life from the Loam">Life from the Loam</a> </td></tr><tr><td colspan="3">Sideboard</td></tr><tr><td class="alt"><input type="checkbox" name="spot_25" value="2_Ancient_Grudge" /></td><td class="alt">2</td><td class="alt"><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Ancient_Grudge.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Ancient Grudge">Ancient Grudge</a> </td></tr><tr><td><input type="checkbox" name="spot_26" value="2_Darkblast" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Darkblast.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Darkblast">Darkblast</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_27" value="4_Echoing_Truth" /></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/Echoing_Truth.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Echoing Truth">Echoing Truth</a> </td></tr><tr><td><input type="checkbox" name="spot_28" value="4_Leyline_of_the_Void" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Leyline_of_the_Void.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Leyline of the Void">Leyline of the Void</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_29" value="3_Tombstalker" /></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/Tombstalker.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Tombstalker">Tombstalker</a> </td></tr><tr><td colspan="3"><div align="center"><input type="hidden" name="rvSy" id="rvSy" value="2 Breeding Pool|2 Island|4 Misty Rainforest|4 Scalding Tarn|1 Steam Vents|3 Verdant Catacombs|3 Watery Grave| |3 Bloodghast|4 Drowned Rusalka|1 Flame-Kin Zealot|4 Golgari Grave-Troll|4 Hedron Crab|1 Iona, Shield of Emeria|4 Narcomoeba|1 Sphinx of Lost Truths|4 Stinkweed Imp| |4 Bridge from Below|3 Dread Return|3 Glimpse the Unthinkable|4 Ideas Unbound|1 Life from the Loam| | |2 Ancient Grudge|2 Darkblast|4 Echoing Truth|4 Leyline of the Void|3 Tombstalker"><input type="button" text="Get All" onclick="buyAlLCards(\'rvSy\')" 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>");
