/***** BEGIN - STATUS BAR CHANGE ***********/ function Status() { window.defaultStatus="Welcome to Celebrity-Girls.com!"; } function Mouse_Change_IN (status) { window.status=status; return true; } function Mouse_Change_OUT () { Status(); window.status=self.defaultStatus; return true; } /***** END - STATUS BAR CHANGE ***********/ /***** BEGIN - POSITION FUNCTIONS ***********/ function getLeft(l) { if (l.offsetParent) return (l.offsetLeft + getLeft(l.offsetParent)); else return (l.offsetLeft); } function getTop(l) { if (l.offsetParent) return (l.offsetTop + getTop(l.offsetParent)); else return (l.offsetTop); } function getInnerHeight () { var y; if (window.innerHeight) // all except Explorer { y = window.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode { y = document.documentElement.clientHeight; } else if (document.body) // other Explorers { y = document.body.clientHeight; } return y; } function getInnerWidth () { var x; if (window.innerWidth) // all except Explorer { x = window.innerWidth; } else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode { x = document.documentElement.clientWidth; } else if (document.body) // other Explorers { x = document.body.clientWidth; } return x; } function getPageXOffset () { var x; if (window.pageYOffset) // all except Explorer { x = window.pageXOffset; } else if (document.documentElement && document.documentElement.scrollTop) // Explorer 6 Strict { x = document.documentElement.scrollLeft; } else if (document.body) // all other Explorers { x = document.body.scrollLeft; } return x; } function getPageYOffset () { var y; if (window.pageYOffset) // all except Explorer { y = window.pageYOffset; } else if (document.documentElement && document.documentElement.scrollTop) // Explorer 6 Strict { y = document.documentElement.scrollTop; } else if (document.body) // all other Explorers { y = document.body.scrollTop; } return y; } /***** END - POSITION FUNCTIONS ***********/ /***** BEGIN - MOUSEOVER LAYER SHOW ***********/ var isDOM = (document.getElementById ? true : false); var isIE4 = ((document.all && !isDOM) ? true : false); var isNS4 = (document.layers ? true : false); var isNS = navigator.appName == "Netscape"; function getRef(id) { if (isDOM) return document.getElementById(id); if (isIE4) return document.all[id]; if (isNS4) return document.layers[id]; } function move (object) { object.style.top = (isNS ? window.pageYOffset : document.body.scrollTop) + 10+"px"; } function show (id) { var divMenu = getRef(id); //move(divMenu); divMenu.style.visibility = "visible"; } function hide (id) { var divMenu = getRef(id); divMenu.style.visibility = "hidden"; } /***** END - MOUSEOVER LAYER SHOW ***********/