menuBgColor = "ffffff";
menuBgMouseover = "e0e0e0";
menuDividerColor = "e0e0e0";
tdLine = "<td onmouseover=\"style.background=\'#" + menuBgMouseover + "\'\" onmouseout=\"style.background=\'#" + menuBgColor + "\'\" ";

numPics		  = 74;
var date = new Date();

function getNewImage() {
  var t = date.getTime();
  var d = date.getDate();
  var m = date.getMonth();
  var pic1 = t % numPics;
  return "url(http://www.mfli.net/images/img" + pic1 + ".jpg)";
}

document.writeln("<script type=\"text/javascript\">function getNewImage() { var date=new Date(); var t = date.getTime(); var pic = t % " + numPics + "; return \"url(http://www.mfli.net/images/img\" + pic + \".jpg)\";}</script>");

document.writeln("<style src=\"style.css\"></style>");

document.writeln("<body>");
document.writeln("<center>");
document.writeln("<div id=\"wrap\">"); // this is for centering
document.writeln("<style>#header {background: #fff " + getNewImage() + " no-repeat center;}</style>");
document.writeln("<div id=\"header\" onclick=\"style.background=getNewImage() + ' no-repeat center'\">"); // this is the header
document.writeln("<h1>mfli.net</h1>");
document.writeln("</div>"); // header

document.writeln("<div id=\"menu\">"); // menu
document.writeln("<style>.topmenu {background: #" + menuBgColor + "}</style>");
document.writeln("<table width=\"250\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"topmenu\">");
document.writeln("<tr align=center><td width=\"1\" bgcolor=\"#" + menuDividerColor + "\"></td>");
document.writeln(" " + tdLine + "onclick=\"window.location='http://www.mfli.net/blog/'\"><a href=\"http://www.mfli.net/blog/\" title=\"a written glimpse of my life\">blog</a></td><td width=\"1\" bgcolor=\"#" + menuDividerColor + "\"></td>");
document.writeln("" + tdLine + "onclick=\"window.location='http://www.mfli.net/ids/index.cgi'\"><a href=\"http://www.mfli.net/ids/index.cgi\" title=\"a graphical glimpse of my life\">photos</a></td><td width=\"1\" bgcolor=\"#" + menuDividerColor + "\"></td>");
document.writeln("" + tdLine + "onclick=\"window.location='http://www.mfli.net/resume.html'\"><a href=\"http://www.mfli.net/resume.html\" title=\"a professional glimpse of my life\">r&eacute;sum&eacute;</a></td><td width=\"1\" bgcolor=\"#" + menuDividerColor + "\"></td>");
document.writeln("" + tdLine + "onclick=\"window.location='http://www.mfli.net/other.html'\"><a href=\"http://www.mfli.net/other.html\" title=\"other glimpses of my life\">other</a></td><td width=\"1\" bgcolor=\"#" + menuDividerColor + "\"></td>");
document.writeln("<td><br \\><br \\></td></tr>");
document.writeln("<tr height=\"1\"><td colspan=\"9\" bgcolor=\"#" + menuDividerColor + "\"></td></tr>");
document.writeln("</table>");
document.writeln("</div>"); // menu
document.writeln("<div id=\"content\">");
