var webRoot = "http://www.hightowerweb.org/";
var copyrightDate = "1997-2010";
var bgColor = "#DD5008";

var styleSheet = webRoot + "shared/main.css";
var shortcutIcon = webRoot + "shared/jeffro.ico";
var prototypeJS = webRoot + "shared/lightbox/prototype.js";
var stJS = webRoot + "shared/lightbox/scriptaculous.js?load=effects";
var lightboxJS = webRoot + "shared/lightbox/lightbox.js";
var lightboxCSS = webRoot + "shared/lightbox/lightbox.css";

function writeJeffroHead(titleStr, max) {
  document.write('<html>\n\n<head>\n<title>Jeff Hightower: '+titleStr+'</title>\n');
  document.write('<meta http-equiv="Content-Language" content="en-us">\n');
  document.write('<meta name="Author" CONTENT="Jeffrey Hightower">\n');
  document.write('<meta name="Generator" CONTENT="Vim">\n');
  document.write('<meta name="keywords" CONTENT="Jeff Hightower, Jeffrey Hightower">\n');
  document.write('<meta name="ROBOTS" CONTENT="NOIMAGECLICK">\n');
  document.write('<script type="text/javascript" src="'+prototypeJS+'"></script>\n');
  document.write('<script type="text/javascript" src="'+stJS+'"></script>\n');
  document.write('<script type="text/javascript" src="'+lightboxJS+'"></script>\n');
  document.write('<link rel="stylesheet" href="'+lightboxCSS+'" type="text/css" media="screen" />\n');
  document.write('<link rel="stylesheet" href="'+styleSheet+'" type="text/css">\n');
  document.write('<link REL="SHORTCUT ICON" HREF="'+shortcutIcon+'">\n');
  document.write('</head>\n\n<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">\n\n');
  document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%">\n');
  document.write("  <tr>\n");
  document.write('    <td width="140" bgcolor="'+bgColor+'"><a href="'+webRoot+'" target="_top">\n');
  document.write('      <img src="'+webRoot+'images/jeffro.gif" width="144" height="76" border="0"></a></td>\n');
  document.write('    <td align="center" bgcolor="'+bgColor+'">');
  document.write('<h1>'+titleStr+'</h1>');
  document.write("</font></td>\n");
  document.write("  </tr>\n");
  document.write("  <tr>\n");
  document.write('    <td width="140" bgcolor="#000000">.</td>\n');
  document.write('    <td align="right" bgcolor="#000000">.</td>\n');
  document.write("  </tr>\n");
  document.write('  <tr>\n');
  document.write('    <td valign="middle" nowrap background="'+webRoot+'images/drop_shadow.jpg" colspan="2">&nbsp;</td>\n');
  document.write('  </tr>\n');
  document.write('</table>\n\n');
}

function writeJeffroFoot() {
  document.write("<hr>\n<address>\n");
  document.write('&copy; Copyright '+copyrightDate+' <a target="_top" href="'+webRoot+'">Jeff Hightower</a><br>\n');
  document.write("All Rights Reserved.\n</address>\n");
  document.write("</body>\n</html>\n");
}

function dropDown(selectTag) {
  document.location = selectTag.options[selectTag.selectedIndex].value;
//  top.location = selectTag.options[selectTag.selectedIndex].value;
//  window.open(selectTag.options[selectTag.selectedIndex].value);
//  parent.location = selectTag.options[selectTag.selectedIndex].value; 
//  parent.frames[target].location = selectTag.options[selectTag.selectedIndex].value; 
}
