var strUserAgent = navigator.userAgent.toLowerCase(); var isIE = ((strUserAgent.indexOf("msie") != -1) && (strUserAgent.indexOf("opera") == -1) && (strUserAgent.indexOf("webtv") == -1)); var isGecko = (strUserAgent.indexOf("gecko") != -1); var isSafari = (strUserAgent.indexOf("safari") != -1); var isKonqueror = (strUserAgent.indexOf("konqueror") != -1); function fnShowLayer(strLayerName, strAction){ //eval("document.all." + strLayerName + ".style.display='" + strAction + "'"); document.getElementById(strLayerName).style.display = strAction; if(strAction=="block"){ if(strLayerName == "smExperience") MM_swapImage('menu_experience','','/images/menu-exp-m.gif',1); if(strLayerName == "smBusiness") MM_swapImage('menu_business','','/images/menu-bus-m.gif',1); if(strLayerName == "smCulture") MM_swapImage('menu_culture','','/images/menu-cul-m.gif',1); }else if(strAction=="none"){ if(strLayerName == "smExperience") MM_swapImage('menu_experience','','/images/menu-exp.gif',1); if(strLayerName == "smBusiness") MM_swapImage('menu_business','','/images/menu-bus.gif',1); if(strLayerName == "smCulture") MM_swapImage('menu_culture','','/images/menu-cul.gif',1); } } smTimer = ""; function fnShowSM(strLayerName){ clearTimeout(smTimer); if(strLayerName != "smExperience") fnShowLayer("smExperience", "none"); if(strLayerName != "smBusiness") fnShowLayer("smBusiness", "none"); if(strLayerName != "smCulture") fnShowLayer("smCulture", "none"); fnShowLayer(strLayerName, "block"); } function fnHideSM(strLayerName){ smTimer = setTimeout("fnShowLayer('"+ strLayerName +"', 'none')", 500); } function fnShowObj(objElement, objPointer, intX, intY){ if(objPointer.offsetParent){ for(; objPointer.offsetParent; objPointer=objPointer.offsetParent){ intX += objPointer.offsetLeft; intY += objPointer.offsetTop; } }else{ intX += objPointer.x; intY += objPointer.y; } if(!isIE){ intX -= 10; intY -= 17; } if(intX < 0 ) intX = 0; if(intY < 0 ) intY = 0; document.getElementById(objElement).style.left = (intX) + "px"; document.getElementById(objElement).style.top = (intY) + "px"; fnShowSM(objElement); } ////////////// function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i