﻿// JScript File
function OpenWind(windURL, width, height) {
    window.open(windURL, "window_lg", "width=" + width + ",height=" + height + ",status=1");
}

function showComponent(divShow) {
    document.getElementById("divHW").className = 'component_hide';
    document.getElementById("divBP").className = 'component_hide';
    document.getElementById("divBC").className = 'component_hide';
    document.getElementById("divAF").className = 'component_hide';
    document.getElementById("divAS").className = 'component_hide';
    document.getElementById("divFT").className = 'component_hide';
    document.getElementById(divShow).className = 'component_show';
}

startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=startList;


