
// some corrections for different browsers...
//
//
//if (is_opera6up) {
//document.write( '<style type="text/css">'
//			+	'#nav #nav2 ul{width: 32em;}'
//			+	'#nav #nav2 li ul { top: 100%; margin-top: -0.5em;}'
//			+	'</style>');
//}

// this hides dropdowns from Safari .86 (they are corrupt)
//if (is_safari && is_safari < 86) {
//	document.write('<style type="text/css">#nav #nav2 li:hover ul { display: none } </style>'); 
//}

// shift drop down origin on ie 5.01 down half a line
//if(is_ie5 && ! is_ie5_5up){
//	document.write('<style type="text/css">#nav #nav2 li:hover ul { display: none } </style>'); 
//} 


// fix MISE functionality
// recursive attachment of LI rollover function.
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		if ( navRoot ) { startlistR(navRoot)}
	}
}

startlistR = function(newNode){
	var i;
	for (i=0; i<newNode.childNodes.length; i++) {
		node = newNode.childNodes[i];
		if (node.nodeName=="LI") {
			node.onmouseover=function() { this.className+=" over"; }
			node.onmouseout =function() { this.className=this.className.replace(" over", ""); }
			if (node.hasChildNodes){ startlistR(node); }
		}
		if (node.nodeName=="UL" && node.hasChildNodes){ startlistR(node); }
	}
}

window.onload=startList;