schoolid = 156 document.write("'); document.write("'); document.write("'); document.write("'); document.write("'); document.write("'); document.write("'); document.write("'); document.write("'); document.write("'); document.write("") document.write("") document.write(""); menumouseovers(0); document.write(""); menumouseovers(1); document.write(""); menumouseovers(2); document.write(""); menumouseovers(3); document.write(""); menumouseovers(4); document.write(""); menumouseovers(5); document.write(""); menumouseovers(6); document.write(""); menumouseovers(7); document.write(""); menumouseovers(8); menumouseovers(9); document.write("") document.write("
") MyTimeout = NaN; var openlyr; var openL1; var leveloneon; function findPosX(obj) { var curleft = 0; if (obj.offsetParent) { while (obj.offsetParent) { curleft += obj.offsetLeft obj = obj.offsetParent; } } else if (obj.x) curleft += obj.x; return curleft; } function findPosY(obj) { var curtop = 0; if (obj.offsetParent) { while (obj.offsetParent) { curtop += obj.offsetTop obj = obj.offsetParent; } } else if (obj.y) curtop += obj.y; return curtop; } function hide(lyr) { //alert(lyr); if(undefined != leveloneon){ if(lyr == leveloneon){ imageoff = new getNavObj(lyr); imageoff.src = '/images/home/'+lyr+'_on.gif' }else { imageoff = new getNavObj(lyr); imageoff.src = '/images/home/'+lyr+'_off.gif' } }else{ imageoff = new getNavObj(lyr); imageoff.src = '/images/home/'+lyr+'_off.gif' } contentObj = new getNavObj('L2_'+lyr); var ifr = new getNavObj('cover'); contentObj.style.display = 'none'; ifr.style.display = 'none'; } function cleartime(){ if(MyTimeout) { clearTimeout(MyTimeout); } } function goToURL(urlString) { window.location.href=urlString; } function setLyr(obj) { // alert(obj.name); var newX = findPosX(obj); var newY = findPosY(obj); if (undefined != openL1) { hide(openL1); } newY += 20; newX -= 48; imageon = new getNavObj(obj.name); //alert(imageon.src); imageon.src = '/images/home/'+obj.name+'_on.gif'; //alert ('L2_'+obj.name) var x = new getNavObj('L2_'+obj.name); //if (obj.name == 'L1_7') newX -= 77; x.style.top = newY + 'px'; x.style.left = newX + 'px'; x.style.display = ''; var ifr = new getNavObj('cover'); ifr.style.width = x.style.width; ifr.style.top = newY + 'px'; ifr.style.left = newX + 'px'; x.style.zIndex = 100; ifr.style.zIndex = 99; x.style.display = ''; ifr.style.height = x.offsetHeight openL1 = obj.name; } function hideLyr(lyrname) { MyTimeout = setTimeout("hide("+lyrname+");",100); } function menumouseovers(menunumber){ nextnum = menunumber; nextnum += 1; menu = new getNavObj("L1_"+nextnum); menu.onmouseover = function(){cleartime();setLyr(this);} menu.onmouseout = function(){hideLyr('"'+this.name+'"');} submenu = new getNavObj("l2_L1_"+nextnum); submenu.onmouseover = function(){cleartime();} //submenu.onmouseout = function(){hideLyr('"'+this.getAttribute("parentmenu")+'"');} submenu = new getNavObj("subL2_L1_"+nextnum); submenu.onmouseover = function(){cleartime();} submenu.onmouseout = function(){ hideLyr('"'+this.getAttribute("parentmenu")+'"');} } function SetTaskStay(pdimageon){ //alert(pdimageon); switch(pdimageon){ case 2177: leveloneon = 'L1_'+1 imageon = new getNavObj('L1_'+1) imageon.src = '/images/home/L1_1_on.gif' break case 2178: leveloneon = 'L1_'+2 imageon = new getNavObj('L1_'+2) imageon.src = '/images/home/L1_2_on.gif' break case 2179: leveloneon = 'L1_'+3 imageon = new getNavObj('L1_'+3) imageon.src = '/images/home/L1_3_on.gif' break case 2180: leveloneon = 'L1_'+4 imageon = new getNavObj('L1_'+4) imageon.src = '/images/home/L1_4_on.gif' break case 2199: leveloneon = 'L1_'+5 imageon = new getNavObj('L1_'+5) imageon.src = '/images/home/L1_5_on.gif' break case 2200: leveloneon = 'L1_'+6 imageon = new getNavObj('L1_'+6) imageon.src = '/images/home/L1_6_on.gif' break case 2201: leveloneon = 'L1_'+7 imageon = new getNavObj('L1_'+7) imageon.src = '/images/home/L1_7_on.gif' break case 115829: leveloneon = 'L1_'+8 imageon = new getNavObj('L1_'+8) imageon.src = '/images/home/L1_8_on.gif' break case 114161: leveloneon = 'L1_'+9 imageon = new getNavObj('L1_'+9) imageon.src = '/images/home/L1_9_on.gif' break case 116013: leveloneon = 'L1_'+10 imageon = new getNavObj('L1_'+10) imageon.src = '/images/home/L1_10_on.gif' break default: leveloneon = '' break } } function getNavObj(obj){ if (document.getElementById) return document.getElementById(obj) else if (document.all) return document.all[obj] } function over(linknum) { contentObj = new getNavObj('link_'+linknum); contentObj.className = 'quicklink_on' // contentObj.style.backgroundColor = '#358229'; // contentObj.style.background = 'url(/images/home/dropdown_on.gif)'; } function off(linknum) { contentObj = new getNavObj('link_'+linknum); contentObj.className = 'quicklink_off' // contentObj.style.backgroundColor = '#FFFFFF'; // contentObj.style.background = 'url(/images/home/dropdown_off.gif)'; } document.write(" "); document.write(""); function iSwap(el,which){ el.src=el.getAttribute(which || "origsrc"); } function iSwapSetup(){ var x = document.getElementsByTagName("img"); for (var i=0;i