function menustart()
{ document.write("<table width=990 border=1 cellpadding=5 cellspacing=0>")
  document.write("  <tr>")
  document.write("    <td width=230 rowspan=100 valign=top bgcolor=FFFFFF><center>")
}

function menuend(title)
{ document.write("      <table width=100% bgcolor=red cellpadding=3><tr><td>")
  document.write("      <span class='menuhead'><center>SITE MAP</center></span></td></tr></table>")
  
  document.write("      <table width=100%><tr>")
  document.write("        <td><li><a href=\"index.html\">&nbsp;Home&nbsp;</a></td>")
  document.write("        <td><li><a href=\"javascript:history.back(1)\">&nbsp;Previous Page&nbsp;</a></td>")
  document.write("      </tr></table>")
    
  document.write("      <table width=100% bgcolor=666666 cellpadding=3><tr><td>")
  document.write("      <span class='menuhead'><center>About Magnum Opus puzzles</center></span></td></tr></table>")
    
  document.write("      <table width=100%>")
  document.write("        <tr><td colspan=2>")
  document.write("            <li><a href=\"newcrossword.html\">&nbsp;Standard Crosswords&nbsp;</a>")
  document.write("            <li><a href=\"newfreeform.html\">&nbsp;Freeform Crosswords&nbsp;</a>")
  document.write("        </td></tr>")
  document.write("        <tr>")
  document.write("          <td valign=top>")
  document.write("            <li><a href=\"newacrostic.html\">&nbsp;Acrostic&nbsp;</a>")
  document.write("            <li><a href=\"newdomino.html\">&nbsp;Domino&nbsp;</a>")
  document.write("            <li><a href=\"newdoublet.html\">&nbsp;Doublet&nbsp;</a>")
  document.write("            <li><a href=\"fillomino.html\">&nbsp;Fillomino&nbsp;</a>")
  document.write("            <li><a href=\"newfutoshiki.html\">&nbsp;Futoshiki&nbsp;</a>")
  document.write("            <li><a href=\"gokigen.html\">&nbsp;Gokigen&nbsp;</a>")
  document.write("            <li><a href=\"newkakuro.html\">&nbsp;Kakuro&nbsp;</a>")
  document.write("            <li><a href=\"newkendoku.html\">&nbsp;Kendoku&nbsp;</a>")
  document.write("            <li><a href=\"newladderword.html\">&nbsp;Ladderword&nbsp;</a>")
  document.write("          </td>")
  document.write("          <td valign=top>")
  document.write("            <li><a href=\"newletterdrop.html\">&nbsp;Letterdrop&nbsp;</a>")
  document.write("            <li><a href=\"newpyramidword.html\">&nbsp;Pyramidword&nbsp;</a>")
  document.write("            <li><a href=\"roundabouts.html\">&nbsp;Roundabouts&nbsp;</a>")
  document.write("            <li><a href=\"sikaku.html\">&nbsp;Sikaku&nbsp;</a>")
  document.write("            <li><a href=\"sixpack.html\">&nbsp;Sixpack&nbsp;</a>")
  document.write("            <li><a href=\"newslitherlink.html\">&nbsp;Slitherlink&nbsp;</a>")
  document.write("            <li><a href=\"newsudoku.html\">&nbsp;Sudoku&nbsp;</a>")
  document.write("            <li><a href=\"tents.html\">&nbsp;Tents&nbsp;</a>")
  document.write("            <li><a href=\"wordsearch.html\">&nbsp;Wordsearch&nbsp;</a>")
  document.write("          </td>")
  document.write("        </tr>")
  document.write("      </table>")

  document.write("      <table width=100% bgcolor=666666 cellpadding=3><tr><td>")
  document.write("      <span class='menuhead'><center>Applet User Instructions</center></span></td></tr></table>")

  document.write("      <table width=100%>")
  document.write("        <tr>")
  document.write("          <td valign=top>")
  document.write("            <li><a href=\"crossworduser.html\">&nbsp;Crossword&nbsp;</a>")
  document.write("            <li><a href=\"acrosticuser.html\">&nbsp;Acrostic&nbsp;</a>")
  document.write("            <li><a href=\"dominouser.html\">&nbsp;Domino&nbsp;</a>")
  document.write("            <li><a href=\"doubletuser.html\">&nbsp;Doublet&nbsp;</a>")
  document.write("            <li><a href=\"fillominouser.html\">&nbsp;Fillomino&nbsp;</a>")
  document.write("            <li><a href=\"futoshikiuser.html\">&nbsp;Futoshiki&nbsp;</a>")
  document.write("            <li><a href=\"gokigenuser.html\">&nbsp;Gokigen&nbsp;</a>")
  document.write("            <li><a href=\"kakurouser.html\">&nbsp;Kakuro&nbsp;</a>")
  document.write("            <li><a href=\"kendokuuser.html\">&nbsp;Kendoku&nbsp;</a>")
  document.write("          </td>")
  document.write("          <td valign=top>")
  document.write("            <li><a href=\"ladderworduser.html\">&nbsp;Ladderword&nbsp;</a>")
  document.write("            <li><a href=\"letterdropuser.html\">&nbsp;Letterdrop&nbsp;</a>")
  document.write("            <li><a href=\"pyramidworduser.html\">&nbsp;Pyramidword&nbsp;</a>")
  document.write("            <li><a href=\"roundaboutsuser.html\">&nbsp;Roundabouts&nbsp;</a>")
  document.write("            <li><a href=\"sikakuuser.html\">&nbsp;Sikaku&nbsp;</a>")
  document.write("            <li><a href=\"slitherlinkuser.html\">&nbsp;Slitherlink&nbsp;</a>")
  document.write("            <li><a href=\"sudokuuser.html\">&nbsp;Sudoku&nbsp;</a>")
  document.write("            <li><a href=\"tentsuser.html\">&nbsp;Tents&nbsp;</a>")
  document.write("            <li><a href=\"wordsearchuser.html\">&nbsp;Wordsearch&nbsp;</a>")
  document.write("          </td>")
  document.write("        </tr>")
  document.write("      </table>")

  document.write("      <table width=100% bgcolor=666666 cellpadding=3><tr><td>")
  document.write("      <span class='menuhead'><center>Daily Puzzles</center></span></td></tr></table>")

  document.write("      <table width=100%>")
  document.write("        <tr><td colspan=2><li><a href=\"dailypuzzles.html\">&nbsp;Daily Puzzle Index&nbsp;</a></td></tr>")
  document.write("        <tr>")
  document.write("          <td valign=top>")
  document.write("            <li><a href=\"dailydomino.html\">&nbsp;Domino&nbsp;</a>")
  document.write("            <li><a href=\"dailyfillomino.html\">&nbsp;Fillomino&nbsp;</a>")
  document.write("            <li><a href=\"dailyfutoshiki.html\">&nbsp;Futoshiki&nbsp;</a>")
  document.write("            <li><a href=\"dailygokigen.html\">&nbsp;Gokigen&nbsp;</a>")
  document.write("            <li><a href=\"dailykakuro.html\">&nbsp;Kakuro&nbsp;</a>")
  document.write("            <li><a href=\"dailykendoku.html\">&nbsp;Kendoku&nbsp;</a>")
  document.write("          </td>")
  document.write("          <td valign=top>")
  document.write("            <li><a href=\"dailyquiz.html\">&nbsp;Quiz&nbsp;</a>")
  document.write("            <li><a href=\"dailyroundabouts.html\">&nbsp;Roundabouts&nbsp;</a>")
  document.write("            <li><a href=\"dailysikaku.html\">&nbsp;Sikaku&nbsp;</a>")
  document.write("            <li><a href=\"dailyslitherlink.html\">&nbsp;Slitherlink&nbsp;</a>")
  document.write("            <li><a href=\"dailysudoku.html\">&nbsp;Sudoku&nbsp;</a>")
  document.write("            <li><a href=\"dailytents.html\">&nbsp;Tents&nbsp;</a>")
  document.write("          </td>")
  document.write("        </tr>")
  document.write("      </table>")

  document.write("      <table width=100% bgcolor=666666 cellpadding=3><tr><td>")
  document.write("      <span class='menuhead'><center>Download : FAQ : History</center></span></td></tr></table>")

  document.write("      <li><a href=\"newdownload.html\">&nbsp;Download Magnum Opus&nbsp;</a>")
  document.write("      <li><a href=\"newfaq.html\">&nbsp;Frequently Asked Questions&nbsp;</a>")
  document.write("      <li><a href=\"newhistory.html\">&nbsp;History of Magnum Opus&nbsp;</a>")
  document.write("    </td>")
  document.write("    <td bgcolor=EEEEEE colspan=10>")
  document.write("&nbsp; &nbsp; &nbsp;" +    title)
  document.write("    </td>")
  document.write("  </tr>")
}
//------------------------------------------------------------------------------
function heading()
{ document.write("<table width=990 bgcolor=004455 border=0>")
  document.write("  <tr>")
  document.write("    <td><center>")
  document.write("      <span class='banner1'>Magnum Opus<br></span>")
  document.write("      <span class='banner2'>Word, Number and Logic Puzzles.<br></span>")
  document.write("      <span class='banner3'>Copyright &copy; 2010 AUS-PC-SOFT Shareware<br></span>")
  document.write("    </center></td>")
  document.write("  </tr>")
  document.write("</table>")
}
//------------------------------------------------------------------------------
function footer()
{ var dateMod=document.lastModified;
  var m=new Array(13);
  m[0]="Jan"; m[1]="Feb"; m[2]="Mar"; m[3]="Apr"; m[4]="May"; m[5]="Jun"; m[6]="Jul"; m[7]="Aug"; m[8]="Sep"; m[9]="Oct"; m[10]="Nov"; m[11]="Dec"; 
  document.write("<span class='footer'><br>This page was last up-dated: ")
  document.write(dateMod.substring(3, 5) + " " + m[parseInt(dateMod.substring(0, 1))*10 + parseInt(dateMod.substring(1, 2)) - 1] + " " + dateMod.substring(6, 10));
  document.write("<br>Copyright &copy; 2010 AUS-PC-SOFT Shareware")
  document.write("<br>38 Gum Tree Drive")
  document.write("<br>Littlehampton, S.A. 5250 Australia")
  document.write("<br></span>")
}
//------------------------------------------------------------------------------
function param(name, value)
{ document.write("<tr><td width=250 valign=top><span class='param'>&lt;param name=\"" + name + "\"</span></td>")
  document.write("<td><span class='param'>value=\"" + value + "\"></span></td></tr>")
}
//------------------------------------------------------------------------------
function new_window(url, width, height)
{ window.open(url, "","width=" + width + ",height=" + height + ",left=20,top=20")
}

