function readCookie(cookieName) { var theCookie=""+document.cookie; var ind=theCookie.indexOf(cookieName); if (ind==-1 || cookieName=="") return ""; var ind1=theCookie.indexOf(';',ind); if (ind1==-1) ind1=theCookie.length; return unescape(theCookie.substring(ind+cookieName.length+2,ind1-1)); } // browsercheck var isIE = false; var isDOM = false; if (parseInt(navigator.appVersion) >= 4) { if (navigator.appName.indexOf("Netscape") != -1) { isNav = true; } if (navigator.appName.indexOf("Microsoft") != -1) { isIE = true; } } checkDOM = (typeof(document.getElementsByTagName) != 'undefined') ? 1 : 0; if (checkDOM) { if(isIE != true) { isDOM = true; } } // --- end browsercheck var cursorstyle = "hand"; if(isDOM) { cursorstyle = "pointer"; } //secnav function sn_over(obj) { if(obj.className != "secnavelem1_self") { obj.className = "secnavelem1_act"; } obj.style.cursor = cursorstyle; } function sn_out(obj) { if(obj.className != "secnavelem1_self") { obj.className = "secnavelem1"; } } function sn_click(obj) { for(i = 0; i < obj.childNodes.length; i++) { if(obj.childNodes[i].nodeName == "A") { top.location.href = obj.childNodes[i].getAttribute("href"); } } } //tercernav function tn_over(obj) { if(obj.className != "ternavelem1_self") { obj.className = "ternavelem1_act"; } obj.style.cursor = cursorstyle; } function tn_out(obj) { if(obj.className != "ternavelem1_self") { obj.className = "ternavelem1"; } }