
function buyAlLCards(cards) {
	cards = document.getElementById("Yoqx").value;
	window.location='http://www.coolstuffinc.com/main_deckBuilder.php?sList='+cards+'&mn1=1';
}

title = "<a href=\"http://mtgurl.com/Yoqx\">Nayaria</a>";
author = "Lunacite";
output = '<style type="text/css">.mtgurl-deck { background: #fff; }</style><div id="button-placeholder-deck"><form method="POST" action="/decksend.php" name="form-Yoqx"><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 colspan="3" class="alt">Creatures</td></tr><tr><td><input type="checkbox" name="spot_1" value="1_Birds_of_Paradise" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Birds_of_Paradise.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Birds of Paradise">Birds of Paradise</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_2" value="4_Woolly_Thoctar" /></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/Woolly_Thoctar.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Woolly Thoctar">Woolly Thoctar</a> </td></tr><tr><td><input type="checkbox" name="spot_3" value="2_Oracle_of_Mul_Daya" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Oracle_of_Mul_Daya.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Oracle of Mul Daya">Oracle of Mul Daya</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_4" value="2_Mycoid_Shepherd" /></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/Mycoid_Shepherd.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Mycoid Shepherd">Mycoid Shepherd</a> </td></tr><tr><td><input type="checkbox" name="spot_5" value="1_Cliffrunner_Behemoth" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Cliffrunner_Behemoth.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Cliffrunner Behemoth">Cliffrunner Behemoth</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_6" value="2_Enlisted_Wurm" /></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/Enlisted_Wurm.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Enlisted Wurm">Enlisted Wurm</a> </td></tr><tr><td><input type="checkbox" name="spot_7" value="1_Meglonoth" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Meglonoth.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Meglonoth">Meglonoth</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_8" value="3_Spearbreaker_Behemoth" /></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/Spearbreaker_Behemoth.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Spearbreaker Behemoth">Spearbreaker Behemoth</a> </td></tr><tr><td><input type="checkbox" name="spot_9" value="1_Kalonian_Behemoth" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Kalonian_Behemoth.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Kalonian Behemoth">Kalonian Behemoth</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_10" value="2_Bogardan_Hellkite" /></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/Bogardan_Hellkite.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Bogardan Hellkite">Bogardan Hellkite</a> </td></tr><tr><td><input type="checkbox" name="spot_11" value="1_Godsire" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Godsire.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Godsire">Godsire</a> </td></tr><tr><td colspan="3" class="alt">Spells</td></tr><tr><td><input type="checkbox" name="spot_13" value="3_Khalni_Heart_Expedition" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Khalni_Heart_Expedition.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Khalni Heart Expedition">Khalni Heart Expedition</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_14" value="2_Mayael\'s_Aria" /></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/Mayael\'s_Aria.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Mayael\'s Aria">Mayael\'s Aria</a> </td></tr><tr><td><input type="checkbox" name="spot_15" value="2_Mighty_Emergence" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Mighty_Emergence.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Mighty Emergence">Mighty Emergence</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_16" value="3_Where_Ancients_Tread" /></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/Where_Ancients_Tread.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Where Ancients Tread">Where Ancients Tread</a> </td></tr><tr><td><input type="checkbox" name="spot_17" value="2_Lurking_Predators" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Lurking_Predators.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Lurking Predators">Lurking Predators</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_18" value="3_Soul\'s_Might" /></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/Soul\'s_Might.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Soul\'s Might">Soul\'s Might</a> </td></tr><tr><td><input type="checkbox" name="spot_19" value="4_Harrow" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Harrow.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Harrow">Harrow</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_20" value="2_Naya_Charm" /></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/Naya_Charm.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Naya Charm">Naya Charm</a> </td></tr><tr><td><input type="checkbox" name="spot_21" value="1_Summoning_Trap" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Summoning_Trap.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Summoning Trap">Summoning Trap</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_22" value="2_Behemoth_Sledge" /></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/Behemoth_Sledge.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Behemoth Sledge">Behemoth Sledge</a> </td></tr><tr><td><input type="checkbox" name="spot_23" value="1_Mage_Slayer" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Mage_Slayer.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Mage Slayer">Mage Slayer</a> </td></tr><tr><td colspan="3" class="alt">Lands</td></tr><tr><td><input type="checkbox" name="spot_25" value="3_Plains" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Plains.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Plains">Plains</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_26" value="1_Arid_Mesa" /></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/Arid_Mesa.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Arid Mesa">Arid Mesa</a> </td></tr><tr><td><input type="checkbox" name="spot_27" value="4_Mountain" /></td><td>4</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Mountain.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Mountain">Mountain</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_28" value="6_Forest" /></td><td class="alt">6</td><td class="alt"><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><input type="checkbox" name="spot_29" value="1_Rootbound_Crag" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Rootbound_Crag.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Rootbound Crag">Rootbound Crag</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_30" value="1_Jungle_Shrine" /></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/Jungle_Shrine.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Jungle Shrine">Jungle Shrine</a> </td></tr><tr><td><input type="checkbox" name="spot_31" value="3_Graypelt_Refuge" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Graypelt_Refuge.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Graypelt Refuge">Graypelt Refuge</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_32" value="1_Kazandu_Refuge" /></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/Kazandu_Refuge.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Kazandu Refuge">Kazandu Refuge</a> </td></tr><tr><td colspan="3"><div align="center"><input type="hidden" name="Yoqx" id="Yoqx" value="|1 Birds of Paradise|4 Woolly Thoctar|2 Oracle of Mul Daya|2 Mycoid Shepherd|1 Cliffrunner Behemoth|2 Enlisted Wurm|1 Meglonoth|3 Spearbreaker Behemoth|1 Kalonian Behemoth|2 Bogardan Hellkite|1 Godsire| |3 Khalni Heart Expedition|2 Mayael\'s Aria|2 Mighty Emergence|3 Where Ancients Tread|2 Lurking Predators|3 Soul\'s Might|4 Harrow|2 Naya Charm|1 Summoning Trap|2 Behemoth Sledge|1 Mage Slayer| |3 Plains|1 Arid Mesa|4 Mountain|6 Forest|1 Rootbound Crag|1 Jungle Shrine|3 Graypelt Refuge|1 Kazandu Refuge"><input type="button" text="Get All" onclick="buyAlLCards(\'Yoqx\')" 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>");
