//IE Menu
var isIE8 = IsIE8Browser();
try{
	if(!isIE8){
		if(document.body.currentStyle){
			var subs = document.getElementsByName('submenu');
			for(var i=0; i<subs.length; i++) {
				var li = subs[i].parentNode;
				if(li && li.lastChild.style) {
					li.onmouseover = function() {
						this.lastChild.style.visibility = 'visible';
					}
					li.onmouseout = function() {
						this.lastChild.style.visibility = 'hidden';
					}
				}
			}
		}
	}
}catch(err){
	//alert(err.message);
	//Not IE Or IE 8
}

function IsIE8Browser(){
	var rv=false;
	if(navigator.appName=='Microsoft Internet Explorer'){
		var ua=navigator.userAgent;
		var re=new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
		if(re.exec(ua)!=null){
  		rv=parseFloat(RegExp.$1);}
	}
	if(rv>=8){
		return true;
	}else{
		return false;
	}
}


