\n'); } //////////////////////// Start Navigation Related Functions ///////////////////////////// var timerID = null; var timerOn = false; var timecount = 200; // Change this to the time delay that you desire var timerIDSub = null; var timerOnSub = false; var timecountSub = 200; // Change this to the time delay that you desire var what = null; var newbrowser = true; var check = false; function centerLayer(ycoord) { if (navigator.appName == "Netscape") { xcoord = (self.innerWidth/2) - 440; } else { xcoord = (document.body.clientWidth / 2) - 440; } //alert(xcoord); //ycoord = 181; - 29 //document.getElementById('mainLayer').style.left = xcoord; //document.getElementById('mainLayer').style.top = ycoord; } function showLayer(layerName) { document.getElementById(layerName).style.visibility="visible"; } function hideLayer(layerName) { document.getElementById(layerName).style.visibility="hidden"; } function hideAll() { hideLayer('menu'); //Put all layers used in the nav here. } function hideAllSub() { hideLayer('menu'); //Put all layers used in the nav here. } function startTime() { if (timerOn == false) { timerID=setTimeout( "hideAll()" , timecount); timerOn = true; } } function stopTime() { if (timerOn) { clearTimeout(timerID); timerID = null; timerOn = false; } } function startTimeSub() { if (timerOnSub == false) { timerIDSub=setTimeout( "hideAllSub()" , timecountSub); timerOnSub = true; } } function stopTimeSub() { if (timerOnSub) { clearTimeout(timerIDSub); timerIDSub = null; timerOnSub = false; } } //-->
|
|||||||||||||||||||||||||||||||||||||||||||||