function GetTime() { 
				
				var dt = new Date();
				var def = dt.getTimezoneOffset()/60;
				var gmt = (dt.getHours() + def);

				var Month = dt.getUTCMonth();
				var MonthNum = Month.toString();
				var Dat = dt.getUTCDate();

				if (Dat > 9){
					var DatNum = Dat.toString();	
				}
				else{
					var DatNum = "0" + Dat.toString();	
				}

				var MonthDate = MonthNum + DatNum;

				var ending = ":" + IfZero(dt.getMinutes()) + ":" +  IfZero(dt.getSeconds());

				//hongkong
				var ho =check24(((gmt + 8) > 24) ? ((gmt + 8) - 24) : (gmt + 8));
				document.clock.ho.value = (IfZero(ho) + ending);

				//shanghai
				var sh =check24(((gmt + 8) > 24) ? ((gmt + 8) - 24) : (gmt + 8));
				document.clock.sh.value = (IfZero(sh) + ending);

				//tokyo

				var tky =check24(((gmt + 9) > 24) ? ((gmt + 9) - 24) : (gmt + 9));
				document.clock.tky.value = (IfZero(tky) + ending);


				//New York
				if ((MonthDate > 301) && (MonthDate <928)){
					var ny =check24(((gmt + (24-4)) > 24) ? ((gmt + (24-4)) - 24) : (gmt + (24-4)));
					document.clock.ny.value = (IfZero(ny) + ending);					
				}
				else
				{

					var ny =check24(((gmt + (24-5)) > 24) ? ((gmt + (24-5)) - 24) : (gmt + (24-5)));
					document.clock.ny.value = (IfZero(ny) + ending);
				}

				//London
				if ((MonthDate > 201) && (MonthDate <928)){
					var lon =check24(((gmt + (24+1)) > 24) ? ((gmt + (24+1)) - 24) : (gmt + (24+1)));
					document.clock.lon.value = (IfZero(lon) + ending);
				}
				else{
					var lon =check24(((gmt + (24+0)) > 24) ? ((gmt + (24+0)) - 24) : (gmt + (24+0)));
					document.clock.lon.value = (IfZero(lon) + ending);
				}

				//paris
				if ((MonthDate > 201) && (MonthDate <928)){
					var lon =check24(((gmt + (24+2)) > 24) ? ((gmt + (24+2)) - 24) : (gmt + (24+2)));
					document.clock.par.value = (IfZero(lon) + ending);
				}
				else{
					var lon =check24(((gmt + (24+1)) > 24) ? ((gmt + (24+1)) - 24) : (gmt + (24+1)));
					document.clock.par.value = (IfZero(lon) + ending);
				}

				setTimeout("GetTime()", 1000);
				}
				function IfZero(num) {
				return ((num <= 9) ? ("0" + num) : num);
				}
				function check24(hour) {
				return (hour >= 24) ? hour - 24 : hour;
				}
				window.onload=GetTime;