
function buyAlLCards(cards) {
	cards = document.getElementById("fbVk").value;
	window.location='http://www.coolstuffinc.com/main_deckBuilder.php?sList='+cards+'&mn1=1';
}

title = "<a href=\"http://mtgurl.com/fbVk\">Extended - Thopter Sword Combo</a>";
author = "";
output = '<style type="text/css">.mtgurl-deck { background: #fff; }</style><div id="button-placeholder-deck"><form method="POST" action="/decksend.php" name="form-fbVk"><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="3_Island" /></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/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_1" value="1_Plains" /></td><td>1</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_2" value="1_Wrath_of_God" /></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/Wrath_of_God.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Wrath of God">Wrath of God</a> </td></tr><tr><td><input type="checkbox" name="spot_3" value="2_Thopter_Foundry" /></td><td>2</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_4" 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_5" value="2_Gifts_Ungiven" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Gifts_Ungiven.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Gifts Ungiven">Gifts Ungiven</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_6" value="3_Path_to_Exile" /></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/Path_to_Exile.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Path to Exile">Path to Exile</a> </td></tr><tr><td><input type="checkbox" name="spot_7" 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_8" value="2_Hallowed_Fountain" /></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/Hallowed_Fountain.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Hallowed Fountain">Hallowed Fountain</a> </td></tr><tr><td><input type="checkbox" name="spot_9" value="2_Spell_Snare" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Spell_Snare.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Spell Snare">Spell Snare</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_10" value="1_Pithing_Needle" /></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/Pithing_Needle.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Pithing Needle">Pithing Needle</a> </td></tr><tr><td><input type="checkbox" name="spot_11" 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_12" value="2_Trinket_Mage" /></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/Trinket_Mage.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Trinket Mage">Trinket Mage</a> </td></tr><tr><td><input type="checkbox" name="spot_13" value="1_Vedalken_Shackles" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Vedalken_Shackles.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Vedalken Shackles">Vedalken Shackles</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_14" 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_15" value="1_Tolaria_West" /></td><td>1</td><td><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 class="alt"><input type="checkbox" name="spot_16" 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_17" value="3_Snow-Covered_Island" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Snow-Covered_Island.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Snow-Covered Island">Snow-Covered Island</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_18" value="1_Snow-Covered_Plains" /></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/Snow-Covered_Plains.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Snow-Covered Plains">Snow-Covered Plains</a> </td></tr><tr><td><input type="checkbox" name="spot_19" value="3_Cryptic_Command" /></td><td>3</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Cryptic_Command.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Cryptic Command">Cryptic Command</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_20" value="1_Ancient_Den" /></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/Ancient_Den.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Ancient Den">Ancient Den</a> </td></tr><tr><td><input type="checkbox" name="spot_21" 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_22" value="3_Chrome_Mox" /></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/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_23" value="1_Seat_of_the_Synod" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Seat_of_the_Synod.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Seat of the Synod">Seat of the Synod</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_24" value="4_Thirst_For_Knowledge" /></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/Thirst_For_Knowledge.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Thirst For Knowledge">Thirst For Knowledge</a> </td></tr><tr><td><input type="checkbox" name="spot_25" value="1_Muddle_the_Mixture" /></td><td>1</td><td><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 class="alt"><input type="checkbox" name="spot_26" value="2_Mana_Leak" /></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/Mana_Leak.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Mana Leak">Mana Leak</a> </td></tr><tr><td><input type="checkbox" name="spot_27" value="2_Tezzeret_the_Seeker" /></td><td>2</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Tezzeret_the_Seeker.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Tezzeret the Seeker">Tezzeret the Seeker</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_28" value="1_Mystic_Gate" /></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/Mystic_Gate.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Mystic Gate">Mystic Gate</a> </td></tr><tr><td><input type="checkbox" name="spot_29" value="1_Academy_Ruins" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Academy_Ruins.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Academy Ruins">Academy Ruins</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_30" value="3_Arid_Mesa" /></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/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_31" value="1_Day_of_Judgment" /></td><td>1</td><td><a rel="nofollow" target="_blank" class="magiccard" cardimg="http://www.wizards.com/global/images/magic/general/Day_of_Judgment.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Day of Judgment">Day of Judgment</a> </td></tr><tr><td class="alt"><input type="checkbox" name="spot_32" value="3_Misty_Rainforest" /></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/Misty_Rainforest.jpg" href="http://www.mananation.com/magic-the-gathering/redirect.php?card=Misty Rainforest">Misty Rainforest</a> </td></tr><tr><td colspan="3"><div align="center"><input type="hidden" name="fbVk" id="fbVk" value="3 Island|1 Plains|1 Wrath of God|2 Thopter Foundry|1 Tormod\'s Crypt|2 Gifts Ungiven|3 Path to Exile|1 Ghost Quarter|2 Hallowed Fountain|2 Spell Snare|1 Pithing Needle|3 Engineered Explosives|2 Trinket Mage|1 Vedalken Shackles|1 Sword of the Meek|1 Tolaria West|1 Steam Vents|3 Snow-Covered Island|1 Snow-Covered Plains|3 Cryptic Command|1 Ancient Den|1 Chalice of the Void|3 Chrome Mox|1 Seat of the Synod|4 Thirst For Knowledge|1 Muddle the Mixture|2 Mana Leak|2 Tezzeret the Seeker|1 Mystic Gate|1 Academy Ruins|3 Arid Mesa|1 Day of Judgment|3 Misty Rainforest"><input type="button" text="Get All" onclick="buyAlLCards(\'fbVk\')" 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>");
