function timer(v){
GMT = v;
var gmt = new Date();
var now = new Date();
var set = now.getTimezoneOffset();
gmt.setTime(now.getTime()+(set/60+parseFloat(GMT))*60*60*1000);
hor = gmt.getHours();	if(hor < 10)hor = "0" + hor;
min = gmt.getMinutes();	if(min < 10)min = "0" + min;
sec = gmt.getSeconds();	if(sec < 10)sec = "0" + sec;
document.W_clock.W_text.value = " "+hor+":"+min+":"+sec;
hor = now.getHours();	if(hor < 10)hor = "0" + hor;
min = now.getMinutes();	if(min < 10)min = "0" + min;
sec = now.getSeconds();	if(sec < 10)sec = "0" + sec;
document.W_clock.W_text2.value = " "+hor+":"+min+":"+sec;
setTimeout("timer(GMT)",999);
}
