//anylink
var isMSIE = (window.external && typeof window.XMLHttpRequest == "undefined");

if(isMSIE){
	
	function hideovers2(){
			var m =  document.getElementsByTagName('LI');
			
			 for (i=0; i<m.length; i++){
						
				var h = m.item(i).childNodes;
				if(m.item(i).className == 'menusup' || m.item(i).className == 'menusupactive'  ){
					
					for (j=0; j<h.length; j++){
							 if(h.item(j).tagName == "shape"){
								
							h.item(j).style.display='none';
							
							
								}
								
								 if(h.item(j).tagName == "DIV"){
								h.item(j).style.display='none';
								
							}
					}
				}
				
			 }	
		}
		
	
	
navHover = function() {
	
	var lis = document.getElementById("navmenu-h").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		if(lis[i].className == "menusup" || lis[i].className == "menusupactive" ){
		lis[i].onmouseover=function() {
			
				var m =this.childNodes;
				 for (i=0; i<m.length; i++){
							if(m.item(i).tagName == "shape"){
							
								m.item(i).style.display='';
							}
							 if(m.item(i).tagName == "DIV"){
								m.item(i).style.display='';
								
							}
					
				 }	 
			
		
			this.className+=" iehover";
			
		
		}
		
		lis[i].onmouseout=function() {
			
			if(time){
					var m =this.childNodes;
				 for (i=0; i<m.length; i++){
							if(m.item(i).tagName == "shape" ){
								
								m.item(i).style.display='none';
							}
							 if(m.item(i).tagName == "DIV"){
								m.item(i).style.display='none';
								
							}
							}
					
			}
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
		
		}else{
				lis[i].onmouseover=function() {
					clearTimeout(time2);
							time = true;
								setTimeout('time = true;',20)
				this.className+=" iehover";
			}
		
			lis[i].onmouseout=function() {
							
				
				time =false;
				setTimeout('time =true;',15);
				
				time2 = setTimeout('hideovers2();',100);
				
				this.className=this.className.replace(new RegExp(" iehover\\b"), "");
			}
		}
}
	
}
if (window.attachEvent) window.attachEvent("onload", navHover);
}else{
	
	navHover = function() {
	var lis = document.getElementById("navmenu-h").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
	
}
if (window.attachEvent) window.attachEvent("onload", navHover);
	}
