function dispW(cGmt) {
	var now = new Date();
	var t = new Date();
	var n_t = now.getTime();
	var nl_t;
	
	//現地時間時差計算
	nl_t  = n_t - (9-cGmt) * 60 * 60 * 1000;
	//alert(jisa*60);
	t.setTime(nl_t);
	nl_t = dtFormat(t);
	
		//日本時間
	t.setTime(n_t);
	n_t = dtFormat(t);
	
	var lt = document.getElementById("lt");
	var jt = document.getElementById("jt");
	lt.innerText = nl_t;
	lt.textContent = nl_t;
	jt.innerText = n_t;
	jt.textContent = n_t;
	
	setTimeout('dispW('+cGmt+')', 999);        // 1000msec = 1sec（秒
}

function dtFormat (tm) {
	month = tm.getMonth() + 1;
	date = tm.getDate();
	hour = tm.getHours();
	min  = tm.getMinutes();
	sec  = tm.getSeconds();
	day = tm.getDay();
	if (date < 10 ) date = "0"+date;
	if (hour < 10 ) hour = "0"+ hour;
	if (min < 10 ) min = "0"+ min;
	return month+"/"+date+" "+hour+":"+min;
	
}
