
<!--
function GetTime() { 
var dt = new Date();

var def = dt.getTimezoneOffset()/60;
var gmt = (dt.getHours() + def);
document.clock.local.value = (IfZero(dt.getHours()) + ":" + IfZero(dt.getMinutes()));
var ending = ":" + IfZero(dt.getMinutes());

var leo =check24(((gmt + 1) > 24) ? ((gmt + 1) - 24) : (gmt + 1));
document.clock.leo.value = (IfZero(leo) + ending);

var wads =check24(((gmt + (24-5)) > 24) ? ((gmt + (24-5)) - 24) : (gmt + (24-5)));
document.clock.wads.value = (IfZero(wads) + ending);

var tok =check24(((gmt + 9) > 24) ? ((gmt + 9) - 24) : (gmt + 9));
document.clock.tok.value = (IfZero(tok) + ending);

var shan =check24(((gmt + 8) > 24) ? ((gmt + 8) - 24) : (gmt + 8));
document.clock.shan.value = (IfZero(shan) + ending);

//var kua =check24(((gmt + 8) > 24) ? ((gmt + 8) - 24) : (gmt + 8));
//document.clock.kua.value = (IfZero(kua) + ending);

var kao =check24(((gmt + 8) > 24) ? ((gmt + 8) - 24) : (gmt + 8));
document.clock.kao.value = (IfZero(kao) + ending);

var sao =check24(((gmt + (24-2)) > 24) ? ((gmt + (24-2)) - 24) : (gmt + (24-2)));
document.clock.sao.value = (IfZero(sao) + ending);

var _GMT =check24(((gmt) > 24) ? ((gmt) - 24) : (gmt));

setTimeout("GetTime()", 1000);
}

function IfZero(num) {
return ((num <= 9) ? ("0" + num) : num);
}
function check24(hour) {
return (hour >= 24) ? hour - 24 : hour;
}

//-->

