
function buyAlLCards(cards) {
	cards = document.getElementById("SlaZ").value;
	window.location='http://www.coolstuffinc.com/main_deckBuilder.php?sList='+cards+'&mn1=1';
}

title = "<a href=\"http://mtgurl.com/SlaZ\">Tooth and Nail</a>";
author = "Ivan Lopez Garcia";
output = '<style type="text/css">.mtgurl-deck { background: #fff; }</style><div id="button-placeholder-deck"><form method="POST" action="/decksend.php" name="form-SlaZ"><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="1_Boseiju,_Who_Shelters_All" /></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/Boseiju,_Who_Shelters_All.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Boseiju, Who Shelters All">Boseiju, Who Shelters All</a> </td></tr><tr><td><input type="checkbox" name="spot_1" value="10_Forest" /></td><td>10</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Forest.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Forest">Forest</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_2" value="4_Urza\'s_Mine" /></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/Urza\'s_Mine.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Urza\'s Mine">Urza\'s Mine</a> </td></tr><tr><td><input type="checkbox" name="spot_3" value="4_Urza\'s_Power_Plant" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Urza\'s_Power_Plant.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Urza\'s Power Plant">Urza\'s Power Plant</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_4" value="4_Urza\'s_Tower" /></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/Urza\'s_Tower.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Urza\'s Tower">Urza\'s Tower</a> </td></tr><tr><td><input type="checkbox" name="spot_6" value="2_Eternal_Witness" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Eternal_Witness.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Eternal Witness">Eternal Witness</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_7" 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_8" value="1_Kiki-Jiki,_Mirror_Breaker" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Kiki-Jiki,_Mirror_Breaker.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Kiki-Jiki, Mirror Breaker">Kiki-Jiki, Mirror Breaker</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_9" value="4_Kitchen_Finks" /></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/Kitchen_Finks.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Kitchen Finks">Kitchen Finks</a> </td></tr><tr><td><input type="checkbox" name="spot_10" value="2_Mephidross_Vampire" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Mephidross_Vampire.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Mephidross Vampire">Mephidross Vampire</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_11" value="1_Painter\'s_Servant" /></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/Painter\'s_Servant.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Painter\'s Servant">Painter\'s Servant</a> </td></tr><tr><td><input type="checkbox" name="spot_12" value="4_Sakura-Tribe_Elder" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Sakura-Tribe_Elder.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Sakura-Tribe Elder">Sakura-Tribe Elder</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_13" value="1_Sundering_Titan" /></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/Sundering_Titan.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Sundering Titan">Sundering Titan</a> </td></tr><tr><td><input type="checkbox" name="spot_14" value="2_Triskelion" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Triskelion.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Triskelion">Triskelion</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_15" value="4_Wall_of_Roots" /></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/Wall_of_Roots.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Wall of Roots">Wall of Roots</a> </td></tr><tr><td><input type="checkbox" name="spot_17" value="3_Harmonize" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Harmonize.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Harmonize">Harmonize</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_18" value="2_Oblivion_Stone" /></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/Oblivion_Stone.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Oblivion Stone">Oblivion Stone</a> </td></tr><tr><td><input type="checkbox" name="spot_19" value="2_Reap_and_Sow" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Reap_and_Sow.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Reap and Sow">Reap and Sow</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_20" value="4_Sylvan_Scrying" /></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/Sylvan_Scrying.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Sylvan Scrying">Sylvan Scrying</a> </td></tr><tr><td><input type="checkbox" name="spot_21" value="4_Tooth_and_Nail" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Tooth_and_Nail.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Tooth and Nail">Tooth and Nail</a> </td></tr><tr><td colspan="3" class="alt">Sideboard</td></tr><tr><td><input type="checkbox" name="spot_24" value="4_Chalice_of_the_Void" /></td><td>4</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_25" value="2_Krosan_Grip" /></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/Krosan_Grip.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Krosan Grip">Krosan Grip</a> </td></tr><tr><td><input type="checkbox" name="spot_26" value="2_Primal_Command" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Primal_Command.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Primal Command">Primal Command</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_27" value="4_Relic_of_Progenitus" /></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/Relic_of_Progenitus.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Relic of Progenitus">Relic of Progenitus</a> </td></tr><tr><td><input type="checkbox" name="spot_28" value="3_Trinisphere" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Trinisphere.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Trinisphere">Trinisphere</a> </td></tr><tr><td colspan="3"><div align="center"><input type="hidden" name="SlaZ" id="SlaZ" value="1 Boseiju, Who Shelters All|10 Forest|4 Urza\'s Mine|4 Urza\'s Power Plant|4 Urza\'s Tower| |2 Eternal Witness|1 Iona, Shield of Emeria|1 Kiki-Jiki, Mirror Breaker|4 Kitchen Finks|2 Mephidross Vampire|1 Painter\'s Servant|4 Sakura-Tribe Elder|1 Sundering Titan|2 Triskelion|4 Wall of Roots| |3 Harmonize|2 Oblivion Stone|2 Reap and Sow|4 Sylvan Scrying|4 Tooth and Nail| | |4 Chalice of the Void|2 Krosan Grip|2 Primal Command|4 Relic of Progenitus|3 Trinisphere"><input type="button" text="Get All" onclick="buyAlLCards(\'SlaZ\')" 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>");
