function setTime(hour,minute,second)
    {
    h=hour;   //Москва
    m=minute;
    s=second; 
    showTime();
    } 
function showTime() 
    { 
    s=s+1;
    if(s>=60)
        {
        s=0;
        m=m+1;
        }
    if(m>=60)
        {
        h=h+1;
        m=0;
        }
    if(h>=24)
        {
        h=h-24;
        } 
	h2=h+3;  //Барнаул
    h3=h+7;   //Владисвосток
    h4=h-3;   //Лондон
    h5=h+6;   //Токио 
	 if(h2>=24)
        {
        h2=h2-24;
        } 
	if(h3>=24)
        {
        h3=h3-24;
        } 
	if(h4<0)
        {
        h4=24+h4;
        } 
	if(h5>=24)
        {
        h5=h5-24;
        } 
	if (m<10)
		{
		minut="0"+m;
		}
	else
	   {
	   minut=m
	   }	
	document.getElementById("time_h").innerHTML=h2;
    document.getElementById("time_h2").innerHTML=h;
    document.getElementById("time_h3").innerHTML=h3;
    document.getElementById("time_h4").innerHTML=h4;
    document.getElementById("time_h5").innerHTML=h5;   
    document.getElementById("time_m").innerHTML=minut;
    document.getElementById("time_m2").innerHTML=minut;
    document.getElementById("time_m3").innerHTML=minut;
    document.getElementById("time_m4").innerHTML=minut;
    document.getElementById("time_m5").innerHTML=minut;  
    timerId=setTimeout("showTime()",1000); 
    }
