document.write(
"<center>\n"+
"<table width=\"100%\" height=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n"+
"<tr><td valign=\"middle\" align=\"center\">\n"+
"<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n"+
"<tr><td align=\"center\">\n"+
//"<h2 align=\"center\">\n"+
//"JavaScript Solitaire!\n"+
//"</h2>\n"+
"<p>\n"+
"<table bgcolor=\"#007777\" cellpadding=\"15\" cellspacing=\"0\" border=\"1\" align=\"center\">\n"+
"<tr><td align=\"center\">");

if(navigator.appName != "Microsoft Internet Explorer") {
  document.write(
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img0\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img1\">\n"+
  "<a href=\"#\" onclick=\"window.move(2);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img2\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(3);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img3\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(4);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img4\"></a>\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img5\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img6\"><br />\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img7\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img8\">\n"+
  "<a href=\"#\" onclick=\"window.move(9);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img9\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(10);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img10\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(11);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img11\"></a>\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img12\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img13\"><br />\n"+
  "<a href=\"#\" onclick=\"window.move(14);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img14\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(15);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img15\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(16);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img16\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(17);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img17\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(18);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img18\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(19);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img19\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(20);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img20\"></a><br />\n"+
  "<a href=\"#\" onclick=\"window.move(21);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img21\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(22);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img22\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(23);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img23\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(24);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"empty.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img24\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(25);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img25\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(26);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img26\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(27);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img27\"></a><br />\n"+
  "<a href=\"#\" onclick=\"window.move(28);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img28\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(29);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img29\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(30);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img30\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(31);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img31\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(32);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img32\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(33);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img33\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(34);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img34\"></a><br />\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img35\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img36\">\n"+
  "<a href=\"#\" onclick=\"window.move(37);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img37\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(38);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img38\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(39);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img39\"></a>\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img40\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img41\"><br />\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img42\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img43\">\n"+
  "<a href=\"#\" onclick=\"window.move(44);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img44\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(45);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img45\"></a>\n"+
  "<a href=\"#\" onclick=\"window.move(46);return false\" onmouseover=\"window.status='';\n"+
  "return true\"><img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img46\"></a>\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img47\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img48\"><br />")
}
else {
  document.write(
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img0\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img1\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img2\" \n"+
  "onclick=\"window.move(2);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img3\" \n"+
  "onclick=\"window.move(3);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img4\" \n"+
  "onclick=\"window.move(4);return false\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img5\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img6\"><br />\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img7\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img8\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img9\" \n"+
  "onclick=\"window.move(9);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img10\" \n"+
  "onclick=\"window.move(10);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img11\" \n"+
  "onclick=\"window.move(11);return false\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img12\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img13\"><br />\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img14\" \n"+
  "onclick=\"window.move(14);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img15\" \n"+
  "onclick=\"window.move(15);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img16\" \n"+
  "onclick=\"window.move(16);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img17\" \n"+
  "onclick=\"window.move(17);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img18\" \n"+
  "onclick=\"window.move(18);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img19\" \n"+
  "onclick=\"window.move(19);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img20\" \n"+
  "onclick=\"window.move(20);return false\"><br />\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img21\" \n"+
  "onclick=\"window.move(21);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img22\" \n"+
  "onclick=\"window.move(22);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img23\" \n"+
  "onclick=\"window.move(23);return false\">\n"+
  "<img src=\"empty.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img24\" \n"+
  "onclick=\"window.move(24);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img25\" \n"+
  "onclick=\"window.move(25);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img26\" \n"+
  "onclick=\"window.move(26);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img27\" \n"+
  "onclick=\"window.move(27);return false\"><br />\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img28\" \n"+
  "onclick=\"window.move(28);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img29\" \n"+
  "onclick=\"window.move(29);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img30\" \n"+
  "onclick=\"window.move(30);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img31\" \n"+
  "onclick=\"window.move(31);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img32\" \n"+
  "onclick=\"window.move(32);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img33\" \n"+
  "onclick=\"window.move(33);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img34\" \n"+
  "onclick=\"window.move(34);return false\"><br />\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img35\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img36\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img37\" \n"+
  "onclick=\"window.move(37);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img38\" \n"+
  "onclick=\"window.move(38);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img39\" \n"+
  "onclick=\"window.move(39);return false\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img40\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img41\"><br />\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img42\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img43\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img44\" \n"+
  "onclick=\"window.move(44);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img45\" \n"+
  "onclick=\"window.move(45);return false\">\n"+
  "<img src=\"peg.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img46\" \n"+
  "onclick=\"window.move(46);return false\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img47\">\n"+
  "<img src=\"blank.gif\" border=\"0\" width=\"19\" height=\"19\" name=\"img48\"><br />\n");
}

document.write(
"</td></tr>\n"+
"</table>\n"+
"<p>\n"+
"<form name=\"buttonsform\">\n"+
"<input type=\"button\" name=\"new\" value=\"Uusi peli\" onclick=\"window.newGame()\">\n"+
"<input type=\"button\" name=\"solve\" value=\"Ratkaise\" onclick=\"window.solve()\">\n"+
"<select name=\"options\" onchange=\"(window.changeBoard())\">\n"+
"<option value=\"Risti\">Risti\n"+
"<option value=\"Plussa\">Plussa\n"+
"<option value=\"Takka\">Takka\n"+
"<option value=\"Nuoli\">Nuoli\n"+
"<option value=\"Pyramidi\">Pyramidi\n"+
"<option value=\"Jalokivi\">Jalokivi\n"+
"<option selected value=\"Solitaire\">Solitaire\n"+
"</select>\n"+
"</form>\n"+
"</p>\n"+
"</td></tr>\n"+
"</table>\n"+
"</td></tr>\n"+
"</table>\n"+
"</center>");

