<!--//
var myTZ = -10;
var timerID = null
var timerRunning = false
function stopclock(){
    if(timerRunning)
        clearTimeout(timerID)
    timerRunning = false
}
function startclock(){
    stopclock()
    showtime()
}
function showtime(){
    var now = new Date()
    var LocalHours = Math.round(now.getTimezoneOffset()/60)
    var hours = now.getHours()
// Figure that with the offset you supplied
    var myhours = (hours + LocalHours) + (myTZ) 
    var minutes = now.getMinutes()
    if (myhours > 23) 
        myhours = myhours - 23
    var myTimeValue = "" + ((myhours > 12) ? myhours - 12 : myhours)
    myTimeValue  += ((minutes < 10) ? ":0" : ":") + minutes
    myTimeValue  += (myhours >= 12) ? " PM" : " AM"
    document.clock.myTime.value = myTimeValue 
    timerID = setTimeout("showtime()",1000)
    timerRunning = true
}
//-->
