<!--
function fwLoadMenus() {
if (window.fw_menu_0) return;
  window.fw_menu_0 = new Menu("root",95,20,"Verdana, Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#FFCC66","#336600");
fw_menu_0.addMenuItem("This Week","location='This Week.html'");
fw_menu_0.addMenuItem("September","location='September.html'");
fw_menu_0.addMenuItem("October","location='October.html'");
fw_menu_0.addMenuItem("November","location='November.html'");
fw_menu_0.addMenuItem("December","location='December.html'");
fw_menu_0.addMenuItem("January","location='January.html'");
fw_menu_0.addMenuItem("February","location='February.html'");
fw_menu_0.addMenuItem("March","location='March.html'");
fw_menu_0.addMenuItem("April","location='April.html'");
fw_menu_0.addMenuItem("May","location='May.html'");
fw_menu_0.addMenuItem("June","location='June.html'");
fw_menu_0.hideOnMouseOut=true;
 window.fw_menu_1 = new Menu("root",125,30,"Verdana, Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#FFCC66","#336600");
fw_menu_1.addMenuItem("Overview","location='APOverview.html'");
fw_menu_1.addMenuItem("Calendar","location='APCalendar.html'");
fw_menu_1.addMenuItem("Terms","location='APTerms.html'");
fw_menu_1.addMenuItem("Pageant","location='APPageant.html'");
fw_menu_1.addMenuItem("Out of Many","location='APOOM.html'");
fw_menu_1.addMenuItem("Essay Info","location='Essays.html'");
fw_menu_1.addMenuItem("Plagiarism","location='Plagiarism.html'");
fw_menu_1.addMenuItem("Footnoting","location='Footnoting.html'");
fw_menu_1.addMenuItem("Primary Readings","location='APReadings.html'");
fw_menu_1.addMenuItem("Summer Assignment","location='APSummer.html'");
fw_menu_1.hideOnMouseOut=true;
 window.fw_menu_2 = new Menu("root",125,30,"Verdana, Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#FFCC66","#336600");
fw_menu_2.addMenuItem("Overview","location='CPOverview.html'");
fw_menu_2.addMenuItem("HW Grid","location='CPHWGrid.html'");
fw_menu_2.addMenuItem("Calendar","location='CPCalendar.html'");
fw_menu_2.addMenuItem("TAV Text","location='CPTextbook.html'");
fw_menu_2.addMenuItem("Essay Info","location='Essays.html'");
fw_menu_2.addMenuItem("Plagiarism","location='Plagiarism.html'");
fw_menu_2.addMenuItem("Footnoting","location='Footnoting.html'");
fw_menu_2.addMenuItem("Primary Readings","location='CPReadings.html'");
fw_menu_2.addMenuItem("Summer Assignment","location='CPSummer.html'");
fw_menu_2.hideOnMouseOut=true;
 window.fw_menu_3 = new Menu("root",125,30,"Verdana, Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#FFCC66","#336600");
fw_menu_3.addMenuItem("Overview","location='HNOverview.html'");
fw_menu_3.addMenuItem("HW Grid","location='HNHWGrid.html'");
fw_menu_3.addMenuItem("Calendar","location='HNCalendar.html'");
fw_menu_3.addMenuItem("TAV Text","location='HNTextbook.html'");
fw_menu_3.addMenuItem("Essay Info","location='Essays.html'");
fw_menu_3.addMenuItem("Plagiarism","location='Plagiarism.html'");
fw_menu_3.addMenuItem("Footnoting","location='Footnoting.html'");
fw_menu_3.addMenuItem("Primary Readings","location='HNReadings.html'");
fw_menu_3.addMenuItem("Summer Assignment","location='HNSummer.html'");
fw_menu_3.hideOnMouseOut=true;
 window.fw_menu_4 = new Menu("root",115,30,"Verdana, Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#FFCC66","#336600");
fw_menu_4.addMenuItem("Overview","location='HGSOverview.html'");
fw_menu_4.addMenuItem("Calendar","location='HGSCalendar.html'");
fw_menu_4.addMenuItem("Bluebook","location='HGSBluebook.html'");
fw_menu_4.addMenuItem("Plagiarism","location='Plagiarism.html'");
fw_menu_4.addMenuItem("Footnoting","location='Footnoting.html'");
fw_menu_4.addMenuItem("Added Readings","location='HGSReadings.html'");
fw_menu_4.hideOnMouseOut=true;
 window.fw_menu_5 = new Menu("root",95,20,"Verdana, Arial, Helvetica, sans-serif",11,"#000000","#FFFFFF","#FFCC66","#336600");
fw_menu_5.addMenuItem("Updates","location='2012Updates.html'");
fw_menu_5.addMenuItem("Calendar","location='2012Calendar.html'");
fw_menu_5.hideOnMouseOut=true;
  fw_menu_5.writeMenus();
} // fwLoadMenus()

 var bName = navigator.appName;
 var bVer = parseInt(navigator.appVersion);
 var bAgent=navigator.userAgent;
 indOP=bAgent.indexOf("Opera");
 verOP=parseInt(bAgent.charAt(indOP+6));
 var OP = (indOP!=-1);
 var OP7 = (indOP!=-1 && verOP<8);
 var OP8 = (indOP!=-1 && verOP>=8);
 var FF = (bAgent.indexOf("Firefox")!=-1);
 indNS=bAgent.indexOf("Netscape");
 verNS=bAgent.charAt(indNS+9);
 if (!isInteger(verNS)) verNS=parseInt(bAgent.charAt(indNS+8));
 else verNS=parseInt(verNS);
 var NS = (bName == "Netscape" && indNS!=-1)
 var NS4 = (bName == "Netscape" && indNS!=-1 && verNS < 5);
 var NS6 = (bName == "Netscape" && indNS!=-1 && verNS >= 6);
 var IE6 = (bName != "Netscape" && bVer >= 4 && bAgent.indexOf("MSIE 6")!=-1 && !OP);
 var IE5 = (bName != "Netscape" && bVer >= 4 && bAgent.indexOf("MSIE 5")!=-1 && !OP);
 var IE4 = (bName != "Netscape" && !IE5 && !IE6 && !OP && !FF);
 var intTop=17;
 //var intLeft=100;
 if (NS4) {intTop=intTop-1;}

function imgPos(imgName){
 img = getImage(imgName);
 imgLeft = getImagePageLeft(img); // LEFT POSITION
 return imgLeft;
}
function imgPos2(imgName){
 img = getImage(imgName);
 imgLeft = getImagePageLeft(img); // LEFT POSITION
 return imgLeft-5;
}

function getImage(name) {
	if (document.getElementById && !(NS6 && verNS<7)) return document.images[name];
	else if (document.layers) return findImage(name,document);
	else if (document.all) return findImage(name,document.all);
	else return findImage(name,document);
}

function findImage(name,doc){
  var i, img;
  for (i = 0; i < doc.images.length; i++)
    if (doc.images[i].name == name)
      return doc.images[i];
  for (i = 0; i < doc.layers.length; i++)
    if ((img = findImage(name, doc.layers[i].document)) != null) {
      img.container = doc.layers[i];
      return img;
    }
  return null;
}

function getImagePageLeft(img) {
  var x, obj;
  if (NS4) {
    if (img.container != null)
      return img.container.pageX + img.x - 1;
    else
      return img.x - 1;
  } else {
    x = 0;
    obj = img;
    while (obj.offsetParent != null) {
      x += obj.offsetLeft;
      obj = obj.offsetParent;
    }
    x += obj.offsetLeft;
    return x;
  }
  return -1;
}

function isInteger(s){
	var i;
    for (i = 0; i < s.length; i++){   
        var c = s.charAt(i);
		if (((c < "0") || (c > "9"))) return false;
    }
    return true;
}
//-->