navHover = function() {
	var navul = document.getElementById("navmenu")
	if(navul)
	{
	var lis = document.getElementById("navmenu").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);

navHover = function() {
	var globalnavul = document.getElementById("globalnavdropnew")
	if(globalnavul)
	{
	var lis = document.getElementById("globalnavdropnew").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);

navHover = function() {
	var assetul = document.getElementById("eyAssetManagement")
	if(assetul)
	{
	var lis = document.getElementById("eyAssetManagement").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);
// Functions for Asset Dropdown in Homepage
function showMoreAsset(carry)
	{
		if (document.getElementById) {
			var visId = document.getElementById(carry);
			var vis = visId.style;
			if (vis.display == "block"){
				return false;
				vis.display = "none";
			} else {
				vis.display = "block";
				selectLastTag(carry)
				var lsttag = document.getElementById("lastoption");
				if(lsttag)
					lsttag.focus();
			}
			return false;
		} else {
			return true;
		} 
	}
function hideMoreAsset(carry)
	{
		if (document.getElementById) {
			var visId = document.getElementById(carry);
			var vis = visId.style;
			if (vis.display == "block"){
				vis.display = "none";
			} 
			return true;
		} else {
			return true;
		} 
	}

function showsites(carry){
	if (document.getElementById) {
		var visId = document.getElementById(carry);
		var vis = visId.style;
		if (vis.display == "none" || vis.display == ""){
			vis.display = "block";
		}else{
			vis.display = "none"
		}
	} 
}

function showmore(eleId){
var showitem = document.getElementById(eleId)
alert(showitem)
	if(showitem)
	{
		if(showitem.style.display=="none" || showitem.style.display==""){
			showitem.style.display="block"
			}else{
			showitem.style.display="none"
		}
	}
}
