// JavaScript Document

//if Example:
// var b = new BrowserInfo();
// alert(b.version); 
function BrowserInfo()
{
  this.name = navigator.appName;
  this.codename = navigator.appCodeName;
  this.version = navigator.appVersion.substring(0,4);
  this.platform = navigator.platform;
  this.javaEnabled = navigator.javaEnabled();
  this.screenWidth = screen.width;
  this.screenHeight = screen.height;
}

function displaySubmenu(index)
{
  var b = new BrowserInfo();
  var theWidth = 0;
  var fromLeft = 0;
  
 if (b.name == "Netscape"){
	theWidth = window.innerWidth;	
	document.getElementById('subMenu_' + index).style.top = 185 + "px";
  	document.getElementById('subMenu_' + index).style.left = (((theWidth - 802)/2) + 122) + "px"; 	
 } else{
 	 if (document.compatMode && document.compatMode != "BackCompat")
    theWidth = document.documentElement.clientWidth;
  else
    theWidth = document.body.clientWidth;	
	
  document.getElementById('subMenu_' + index).style.top = 205;
  document.getElementById('subMenu_' + index).style.left = (((theWidth - 802)/2) + 125); 	
}
  document.getElementById('subMenu_' + index).style.visibility = "hidden";
  navMouseOver(index);
}


function navMouseOver(index) {

	document.getElementById('subMenu_' + index).style.visibility='visible';
	//document.getElementById('navLinkImage_' + index).src='';
	return true;
}
function navMouseOut(index) {
	document.getElementById('subMenu_' + index).style.visibility='hidden'; 
	//document.getElementById('navLinkImage_' + index).src='';
	return true;
}

