function init(){ if(frontpage == 1){ // rightads = $('rightlinks'); // rightads.style.top = 0; // rightads.style.left = 550; thedropdown = $('dropdown'); thedropdown.style.top = 42; thedropdown.style.left = 15; // thetitle = $('headerimage'); // thetitle.style.top = 0; // thetitle.style.left = -132; // thetitle.hide(); }else{ // thetitle = $('headerimage'); // thetitle.style.top = 0; // thetitle.style.left = 0; thedropdown = $('dropdown'); thedropdown.style.top = 42; thedropdown.style.left = 147; } if(activepage != ""){ $(activepage).src = "images/" + activepage + "2.jpg"; } } // used to track when to turn off the dropdown menu showmenu = 0; function showdropdown(){ dodropdown = window.showshopdropdownsetting || "Y"; if (dodropdown == "Y"){ showmenu = 1; // $('headerimage').show(); $('dropdown').show(); } } // fire off a dropdown kill request. if it's not on again due to another mouseover then it will hide function triggerhidedropdown(){ showmenu = 0; setTimeout("hidedropdown()",150); } function hidedropdown(){ if (showmenu == 0){ $('dropdown').hide(); // $('headerimage').hide(); rollout('navshop'); } } function rollover(which, type){ if (!type || type == ""){ type = "jpg"; } if(which != activepage){ $(which).src = "images/" + which + "1." + type; } } function rollout(which, type){ if (!type || type == ""){ type = "jpg"; } if(which != activepage){ $(which).src = "images/" + which + "3." + type; } }