﻿// JScript File

function ShowContent(target){

    $("#hide" + target).hide();
    $("#show" + target).show();

}

function HideContent(target){
    $("#hide" + target).show();
    $("#show" + target).hide();
}

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", "");
			    }
		    }
	    }
    }
}
function winOnLoad() {
    startList();
    return;
}

window.onload   = function() { if (window.winOnLoad) window.winOnLoad(); }
window.onunload = function() { if (window.winOnUnload) window.winOnUnload(); }

