<!--

function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

function makesure(s) {
    if (confirm(s)) {
      return true;
    }
    else {
      return false;
    }
}

	var currentMenu = null;
	var mytimer = null;
	var timerOn = false;
	var opera = window.opera ? true : false;

	if (!document.getElementById)
		document.getElementById = function() { return null; }
	
	function initialiseMenu(menuId, starterId) {
		var menu = document.getElementById(menuId);
		var starter = document.getElementById(starterId);

		if (menu == null || starter == null) return;
			currentMenu = menu;

//		document.getElementById('subnavSolutions').style.left = document.body.clientWidth/2 - (logoutbutton ? 283 : 245) + 'px';
		document.getElementById('subnavProducts').style.left = document.body.clientWidth/2 - (logoutbutton ? 246 : 208) + 'px';
		document.getElementById('subnavSupport').style.left = document.body.clientWidth/2 + (logoutbutton ? 59 : 97) + 'px';
		document.getElementById('subnavContact').style.left = document.body.clientWidth/2 + (logoutbutton ? 142 : 180) + 'px';
		
//		document.getElementById('subnavSolutions').style.top = 117;		
		document.getElementById('subnavProducts').style.top = 117;		
		document.getElementById('subnavSupport').style.top = 117;		
		document.getElementById('subnavContact').style.top = 117;

	
		starter.onmouseover = function() {
			if (currentMenu) {
				currentMenu.style.visibility = "hidden";
				currentMenu = null;
				this.showMenu();
				stopTime();
	        	}
		}
	
		menu.onmouseover = function() {
			if (currentMenu) {
				currentMenu.style.visibility = "hidden";
				currentMenu = null;
				this.showMenu();
	        	}
		}	
	
		starter.showMenu = function() {
			menu.style.visibility = "visible";
			currentMenu = menu;
		}

		starter.onfocus	 = function() {
			this.onmouseover();
		}
	
		starter.onblur	 = function() {
			this.onmouseout();
		}

		menu.showMenu = function() {
			menu.style.visibility = "visible";
			currentMenu = menu;
			stopTime();
		}

		menu.hideMenu = function()  {
			if (!timerOn) {
				 mytimer = setTimeout("killMenu('" + menuId + "');", 1000);
				timerOn = true;
			}
		}

		menu.onmouseout = function(event) {
			this.hideMenu();
		}

		starter.onmouseout = function() {
			menu.hideMenu();
		}
}
	function killMenu(amenu) {
		var menu = document.getElementById(amenu);
		menu.style.visibility = "hidden";
		stopTime();
			
//		document.getElementById('subnavSolutions').style.left = document.body.clientWidth/2 - (logoutbutton ? 283 : 245) + 'px';
		document.getElementById('subnavProducts').style.left = document.body.clientWidth/2 - (logoutbutton ? 246 : 208) + 'px';
		document.getElementById('subnavSupport').style.left = document.body.clientWidth/2 + (logoutbutton ? 59 : 97) + 'px';
		document.getElementById('subnavContact').style.left = document.body.clientWidth/2 + (logoutbutton ? 142 : 180) + 'px';
		
//		document.getElementById('subnavSolutions').style.top = 117;		
		document.getElementById('subnavProducts').style.top = 117;		
		document.getElementById('subnavSupport').style.top = 117;		
		document.getElementById('subnavContact').style.top = 117;

		
	}
	function stopTime() {
		if (mytimer) {
		 	 clearTimeout(mytimer);
			 mytimer = null;
			 timerOn = false;
		}
	} 

  window.onload = function() {
//			initialiseMenu("subnavSolutions", "starterSolutions");
			initialiseMenu("subnavProducts", "starterProducts");
			initialiseMenu("subnavSupport", "starterSupport");
			initialiseMenu("subnavContact", "starterContact");
			
			// these two lines correspond to the new home page rotation js code
			if (typeof nextPhoto == 'function') nextPhotoTimeout = setTimeout('nextPhoto()', rotationInterval);
			if (typeof MM_preloadImages == 'function') MM_preloadImages('/Images/bgDataCenterRelocation.jpg','/Images/bgDisasterRecovery.jpg');
	}

-->