randomBanner=function (){

	var k = Math.round(Math.random()*3) +1
	var a = Math.round(Math.random()*2) +1
	if (k<5){
	document.getElementById("banner").src="images/banner"+k+".jpg";
	var g = new Array("Managing complex business IT environment is now simple with SapphireIMS", "Asset and License compliance Management", "SapphireIMS Wireless Device Manageability", "Intel Active Management Technology")
	var b =k-1
	document.getElementById("banner").alt=g[b];
	document.getElementById("banner").title=g[b]
	}
	if(a<4){
		document.getElementById("customerLogo").src="images/customer"+a+".jpg";
		var l= new Array("Wipro", "TVS", "Orchid Pharmaceuticals")
		document.getElementById("customerLogo").alt=l[a];
		document.getElementById("customerLogo").title=l[a];
		
	}
}

navHover = function() {
		if(navigator.appName=="Microsoft Internet Explorer"){
		
	var lis = document.getElementById("mainNav").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"), "");		
	}	
	}
}
}



window.onload = function(){ navHover(); randomBanner();}
