// 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"; } // rollover primary navigation //this primary navigation script is not same to the other page. Because there is no pulldown menu function pn_over(obj) { obj.style.cursor = cursorstyle; obj.className = "bgpn_act"; for(i = 0; i < obj.childNodes.length; i++) { if(obj.childNodes[i].nodeName == "A") { obj.childNodes[i].className = "txtpn_text_act"; } } } function pn_out(obj) { obj.className = "bgpn"; for(i = 0; i < obj.childNodes.length; i++) { if(obj.childNodes[i].nodeName == "A") { obj.childNodes[i].className = "txtpn_text"; } } } function pn_click(obj) { for(i = 0; i < obj.childNodes.length; i++) { if(obj.childNodes[i].nodeName == "A") { top.location.href = obj.childNodes[i].getAttribute("href"); } } }