function updateTime()
{
  var mst = " MST"
  var now = new Date();
  var theHour = now.getHours();

  
  // 0 = 10pm , -2am
  // 1 = 11pm , -1am
  // 2 = 12am
  
  var theMin = now.getMinutes();
  
  if (theHour ==1)
  { theHour = 23 }
  else if (theHour ==0)
  { theHour = 22 }
  else
  { theHour = (theHour - 2) }// for MST

  var theTime = "" + ( (theHour > 12) ? theHour - 12 : theHour )
  
  
  theTime += ((theMin < 10) ? ":0" : ":") + theMin
  var theDay = "" + ((theHour >= 12) ? " pm" : " am")
  //timerId = setTimeout("updateTime()", 1000)
  
  document.write("<font size='-2'><FONT FACE='verdana' SIZE='-2' COLOR='#ffffff'><B>");
  document.write(theTime);
  document.write("<br>");
  document.write(theDay + mst);
  document.write("</B></FONT><br><FONT FACE='verdana' SIZE='-2' COLOR='#ffffff'><b>&nbsp;</b></FONT></font>"); 
}

