  var oInterval = "";

  function getMenuPos(element, menuName) {
	var drop1 = document.getElementById("header");
	element.style.textDecoration = "underline";
	element.style.cursor = "hand";
	stcls();
	showFloatMenuAt(menuName, drop1.cells[element.cellIndex].offsetLeft+10, (drop1.offsetTop + drop1.clientHeight-22));
  }

  function clearMenus() {
	stcls();
  }

  function on_clearTimeout() {
    alert("hello");
  }

  function setTimer(inTime) {
    oInterval = window.setInterval("showTime()",inTime);
  }

  function showTime() {
   var d = new Date();
   var days = new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat");
   var months = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
   var sSwitch="am";
   var iHours=d.getHours();
   if(iHours>12){
     iHours-=12;
     sSwitch="pm";
   }
   var sMinutes=d.getMinutes() + "";
   if(sMinutes.length==1){
     sMinutes="0" + sMinutes;
   }
   var sSeconds=d.getSeconds() + "";
   if(sSeconds.length==1){
     sSeconds="0" + sSeconds;
   }
   if (iHours==12 && sMinutes>0 && sSeconds>0) {
     sSwitch="pm";
   }
  
   //document.all.timeTag.innerHTML = days[d.getDay()] + " " + d.getDate() + " " + months[d.getMonth()] + " " + d.getFullYear() + " - " +iHours + " :" + sMinutes + " :" + sSeconds + " " + sSwitch;
   var element = document.getElementById("timeTag");
   timeTag.innerHTML = days[d.getDay()] + " " + d.getDate() + " " + months[d.getMonth()] + " " + d.getFullYear();
  }

  function changeLocation(newLoc) {
	document.location = newLoc;
  }
