<!--
var time = 3000;
var numofitems = 7;

//menu constructor
function menu(allitems,thisitem,startstate){ 
  callname= "gl"+thisitem;
  divname="subglobal"+thisitem;  
  this.numberofmenuitems = 7;
  this.caller = document.getElementById(callname);
  this.thediv = document.getElementById(divname);
  this.thediv.style.visibility = startstate;
}

//menu methods
function ehandler(event,theobj){
  for (var i=1; i<= theobj.numberofmenuitems; i++){
    var shutdiv =eval( "menuitem"+i+".thediv");
    shutdiv.style.visibility="hidden";
  }
  theobj.thediv.style.visibility="visible";
}
				
function closesubnav(event){
  if ((event.clientY <48)||(event.clientY > 107)){
    for (var i=1; i<= numofitems; i++){
      var shutdiv =eval('menuitem'+i+'.thediv');
      shutdiv.style.visibility='hidden';
    }
  }
}

// mySafemail hides email addresses from spam crawlers by creating them via Javascript on the client
function mySafemail(name, domain, display) {
		displayed=(typeof(display)=="undefined") ? name+"@"+domain : display
		document.write('<a href=mailto:' + name + '@' + domain + '>' + displayed + '</a>');
}

// opens a browser window and moves it to the center of the users screen
function openWindow(url, width, height) {
	var arguments, h, w, moreInfo;
	
	arguments = "width=" + width + ",height=" + height + ",resizable=yes,dependent,scrollbars=no";
	
	moreInfo = window.open(url, moreInfo, arguments);
	
	h = screen.height;
	w = screen.width;

	h = h / 2 - (height/2);
	w = w / 2 - (width/2);

	// to center the new window
	moreInfo.moveTo(w,h);
}			
// -->