startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace (" over", "");
   }
   }
  }
 }
}
window.onload=startList;
// function to calculate local time
// in a different city
// given the city's UTC offset
function calcTime(offset) {

    // create Date object for current location
    d = new Date();
   
    // convert to msec
    // add local time zone offset
    // get UTC time in msec
    utc = d.getTime() + (d.getTimezoneOffset() * 60000);
   
    // create new Date object for different city
    // using supplied offset
    nd = new Date(utc + (3600000*offset));
	
	hours = nd.getHours()
	ampm = "AM";
	if(hours > 12){
		hours = nd.getHours() - 12;
		ampm = "PM";
	}
	minutes = nd.getMinutes();
	if(minutes < 12){
		minutes = "0" + minutes;
	}
   
    // return time as a string
   if(hours == 0)
	{
		hours = 12;
	}
   document.write( hours + ":" + minutes + " " + ampm );
}

function displayCurrent() {
    // create Date object for current location
    d = new Date();
   
    // convert to msec
    // add local time zone offset
    // get UTC time in msec
    utc = d.getTime() + (d.getTimezoneOffset());
   
    // create new Date object for different city
    // using supplied offset
    nd = new Date(utc);
	hours = nd.getHours()
	ampm = "AM";
	if(hours > 12){
		hours = nd.getHours() - 12;
		ampm = "PM";
	}
	minutes = nd.getMinutes();
	if(minutes < 12){
		minutes = "0" + minutes;
	}
	
    // return time as a string
    //document.write( nd.toLocaleString() );
	if(hours == 0)
	{
		hours = 12;
	}
	document.write( hours + ":" + minutes + " " + ampm );
}