var timerID = 0;
var tStart  = null;

function UpdateTimer() {
   if(timerID) {
      clearTimeout(timerID);
      clockID  = 0;
   }

   if(!tStart)
      tStart   = new Date();

   var   tDate = new Date();
   var   tDiff = tDate.getTime() - tStart.getTime();
   tDate.setTime(tDiff);
   timerID = setTimeout("UpdateTimer()", 1000);
   return  ("" + tDate.getMinutes() + ":" + tDate.getSeconds());
}

function Start() {
   tStart   = new Date();
   timerID  = setTimeout("UpdateTimer()", 1000);
}

function Stop() {
   if(timerID) {
      clearTimeout(timerID);
      timerID  = 0;
   }

   tStart = null;
}

function Reset() {
   tStart = null;
}

function RegTime() {

//alert("LoadTime:"+UpdateTimer());
//pageTracker._trackVisit('LoadTime:'+UpdateTimer());
urchinTracker("LoadTime:"+UpdateTimer());
}
