tz_pl = 1 * 60; // ポーランド冬時間はGMT+1 
tz_jp = 9 * 60; // GMT+9
var pl, jp; // 時刻文字列を入れるところ  
function update_watch() {
	now = new Date();
	pl = nowat(now, tz_pl)
	jp = nowat(now, tz_jp)
	document.forms[0].elements[0].value = pl
	document.forms[0].elements[1].value = jp
	setTimeout('update_watch()', 999); // 1000msec = 1sec
}
function nowat(now, tz) {
	var hour, min, sec;
	var t = new Date();
	t.setTime(now.getTime() + (now.getTimezoneOffset() + tz) * 60 * 1000);
	hour = t.getHours();
	min = t.getMinutes();
	sec = t.getSeconds();
	if (hour < 10) {
		hour = "0" + hour;
	}
	if (min < 10) {
		min = "0" + min;
	}
	if (sec < 10) {
		sec = "0" + sec;
	}
	return hour + ":" + min + ":" + sec; 
}
update_watch();