var timerID=null;
var timerRunning = false;
										
function stopclock () 
{
  if(timerRunning)
	clearTimeout(timerID);
	timerRunning = false;
}
function showtime1 ()  // LA(ÀÏ±¤Àý¾à ½Ã°£Á¦)
{
	var now=new Date();
	now.setHours(now.getHours() - 16);
	now.setMinutes(now.getMinutes());
	now.setSeconds(now.getSeconds()); 
	now.setMonth(now.getMonth()+1);
	var year=now.getYear(); 
	var month=((now.getMonth()<10) ? "0" : "")+now.getMonth();
	var date=((now.getDate()<10) ? "0" : "")+now.getDate();      
	var hours=now.getHours();
	var minutes=now.getMinutes();
	var seconds=now.getSeconds();
	var timeValue=year;
	timeValue+="/"+month;
	timeValue+="/"+date+" ";
	timeValue+=((hours<10) ? "0" : "")+hours;
	timeValue+=((minutes<10) ? ":0" : ":")+minutes;
	//timeValue+=((seconds<10) ? ":0" : ":")+seconds;
	
	document.WTime.time1.value = "  " + timeValue;
	timerID=setTimeout("showtime1()",1000);        
	timerRunning=true;
}
function showtime2 () // ´º¿å(ÀÏ±¤Àý¾à ½Ã°£Á¦)
{	
	var now=new Date();
	now.setHours(now.getHours() - 13);
	now.setMinutes(now.getMinutes());
	now.setSeconds(now.getSeconds()); 
	now.setMonth(now.getMonth()+1);	
	var year=now.getYear(); 
	var month=((now.getMonth()<10) ? "0" : "")+now.getMonth();
	var date=((now.getDate()<10) ? "0" : "")+now.getDate();    
	var hours=now.getHours();
	var minutes=now.getMinutes();
	var seconds=now.getSeconds();
	var timeValue=year;	
	timeValue+="/"+month;
	timeValue+="/"+date+" ";
	timeValue+=((hours<10) ? "0" : "")+hours;
	timeValue+=((minutes<10) ? ":0" : ":")+minutes;
	//timeValue+=((seconds<10) ? ":0" : ":")+seconds;
	
	document.WTime.time2.value = "  " + timeValue;
	timerID=setTimeout("showtime2()",1000);        
	timerRunning=true;		
}
function showtime3()	// »óÇØ
{
	var now=new Date();
	now.setHours(now.getHours() - 1);
	now.setMinutes(now.getMinutes());
	now.setSeconds(now.getSeconds()); 
	now.setMonth(now.getMonth()+1);	
	var year=now.getYear(); 
	var month=((now.getMonth()<10) ? "0" : "")+now.getMonth();
	var date=((now.getDate()<10) ? "0" : "")+now.getDate();    
	var hours=now.getHours();
	var minutes=now.getMinutes();
	var seconds=now.getSeconds();
	var timeValue=year;	
	timeValue+="/"+month;
	timeValue+="/"+date+" ";
	timeValue+=((hours<10) ? "0" : "")+hours;
	timeValue+=((minutes<10) ? ":0" : ":")+minutes;
	//timeValue+=((seconds<10) ? ":0" : ":")+seconds;
	
	document.WTime.time3.value = "  " + timeValue;
	timerID=setTimeout("showtime3()",1000);        
	timerRunning=true;
}
function showtime4 ()  // È«Äá
{
	var now=new Date();
	now.setHours(now.getHours() - 1);
	now.setMinutes(now.getMinutes() );
	now.setSeconds(now.getSeconds() ); 
	now.setMonth(now.getMonth()+1);
	var year=now.getYear(); 
	var month=((now.getMonth()<10) ? "0" : "")+now.getMonth();
	var date=((now.getDate()<10) ? "0" : "")+now.getDate();    
	var hours=now.getHours();
	var minutes=now.getMinutes();
	var seconds=now.getSeconds();
	var timeValue=year;
	timeValue+="/"+month;
	timeValue+="/"+date+" ";
	timeValue+=((hours<10) ? "0" : "")+hours;
	timeValue+=((minutes<10) ? ":0" : ":")+minutes;
	//timeValue+=((seconds<10) ? ":0" : ":")+seconds;
	
	document.WTime.time4.value = "  " + timeValue;
	timerID=setTimeout("showtime4()",1000);        
	timerRunning=true;
}
function showtime5 ()  // µÎ¹ÙÀÌ
{
	var now=new Date();
	now.setHours(now.getHours() - 5);
	now.setMinutes(now.getMinutes() );
	now.setSeconds(now.getSeconds() ); 
	now.setMonth(now.getMonth()+1);
	var year=now.getYear(); 
	var month=((now.getMonth()<10) ? "0" : "")+now.getMonth();
	var date=((now.getDate()<10) ? "0" : "")+now.getDate();    
	var hours=now.getHours();
	var minutes=now.getMinutes();
	var seconds=now.getSeconds();
	var timeValue=year;
	timeValue+="/"+month;
	timeValue+="/"+date+" ";
	timeValue+=((hours<10) ? "0" : "")+hours;
	timeValue+=((minutes<10) ? ":0" : ":")+minutes;
	//timeValue+=((seconds<10) ? ":0" : ":")+seconds;
	
	document.WTime.time5.value = "  " + timeValue;
	timerID=setTimeout("showtime5()",1000);        
	timerRunning=true;
}														
function showtime6 ()  // ·±´ø
{
	var now=new Date();
	now.setHours(now.getHours() - 8);
	now.setMinutes(now.getMinutes() );
	now.setSeconds(now.getSeconds() ); 
	now.setMonth(now.getMonth()+1);
	var year=now.getYear(); 
	var month=((now.getMonth()<10) ? "0" : "")+now.getMonth();
	var date=((now.getDate()<10) ? "0" : "")+now.getDate();    
	var hours=now.getHours();
	var minutes=now.getMinutes();
	var seconds=now.getSeconds();
	var timeValue=year;
	timeValue+="/"+month;
	timeValue+="/"+date+" ";
	timeValue+=((hours<10) ? "0" : "")+hours;
	timeValue+=((minutes<10) ? ":0" : ":")+minutes;
	//timeValue+=((seconds<10) ? ":0" : ":")+seconds;
	
	document.WTime.time6.value = "  " + timeValue;
	timerID=setTimeout("showtime6()",1000);        
	timerRunning=true;
}
function showtime7 ()  // ¸ð½ºÅ©¹Ù(ÀÏ±¤Àý¾à ½Ã°£Á¦)
{
	var now=new Date();
	now.setHours(now.getHours() - 5);
	now.setMinutes(now.getMinutes() );
	now.setSeconds(now.getSeconds() ); 
	now.setMonth(now.getMonth()+1);
	var year=now.getYear(); 
	var month=((now.getMonth()<10) ? "0" : "")+now.getMonth();
	var date=((now.getDate()<10) ? "0" : "")+now.getDate();    
	var hours=now.getHours();
	var minutes=now.getMinutes();
	var seconds=now.getSeconds();
	var timeValue=year;
	timeValue+="/"+month;
	timeValue+="/"+date+" ";
	timeValue+=((hours<10) ? "0" : "")+hours;
	timeValue+=((minutes<10) ? ":0" : ":")+minutes;
	//timeValue+=((seconds<10) ? ":0" : ":")+seconds;
	
	document.WTime.time7.value = "  " + timeValue;
	timerID=setTimeout("showtime7()",1000);        
	timerRunning=true;
}
function showtime8 () // ¹æÄÛ
{
	var now=new Date();
	now.setHours(now.getHours() - 2);
	now.setMinutes(now.getMinutes() + 2);
	now.setSeconds(now.getSeconds() + 2);
	now.setMonth(now.getMonth()+1);
	var year=now.getYear(); 
	var month=((now.getMonth()<10) ? "0" : "")+now.getMonth();
	var date=((now.getDate()<10) ? "0" : "")+now.getDate();     
	var hours=now.getHours();
	var minutes=now.getMinutes();
	var seconds=now.getSeconds();
	var timeValue=year;
	timeValue+="/"+month;
	timeValue+="/"+date+" ";
	timeValue+=((hours<10) ? "0" : "")+hours;
	timeValue+=((minutes<10) ? ":0" : ":")+minutes;
	//timeValue+=((seconds<10) ? ":0" : ":")+seconds;
	
	document.WTime.time8.value = "  " + timeValue;
	timerID=setTimeout("showtime8()",1000);        
	timerRunning=true;
}
function showtime9 ()  // ½Ãµå´Ï
{
	var now=new Date();
	now.setHours(now.getHours() + 1);
	now.setMinutes(now.getMinutes());
	now.setSeconds(now.getSeconds()); 
	now.setMonth(now.getMonth()+1);
	var year=now.getYear(); 
	var month=((now.getMonth()<10) ? "0" : "")+now.getMonth();
	var date=((now.getDate()<10) ? "0" : "")+now.getDate();    
	var hours=now.getHours();
	var minutes=now.getMinutes();
	var seconds=now.getSeconds();
	var timeValue=year;
	timeValue+="/"+month;
	timeValue+="/"+date+" ";
	timeValue+=((hours<10) ? "0" : "")+hours;
	timeValue+=((minutes<10) ? ":0" : ":")+minutes;
	//timeValue+=((seconds<10) ? ":0" : ":")+seconds;
	
	document.WTime.time9.value = "  " + timeValue;
	timerID=setTimeout("showtime9()",1000);        
	timerRunning=true;
}
function showtime10 () // ¼­¿ï
{
	var now=new Date();
	now.setHours(now.getHours() );
	now.setMinutes(now.getMinutes() );
	now.setSeconds(now.getSeconds() ); 
	now.setMonth(now.getMonth()+1);
	var year=now.getYear(); 
	var month=((now.getMonth()<10) ? "0" : "")+now.getMonth();
	var date=((now.getDate()<10) ? "0" : "")+now.getDate();         
	var hours=now.getHours();
	var minutes=now.getMinutes();
	var seconds=now.getSeconds();
	var timeValue=year;
	timeValue+="/"+month;
	timeValue+="/"+date+" ";
	timeValue+=((hours<10) ? "0" : "")+hours;
	timeValue+=((minutes<10) ? ":0" : ":")+minutes;
	//timeValue+=((seconds<10) ? ":0" : ":")+seconds;
	
	//document.WTime.time10.value = "  " + timeValue;
	timerID=setTimeout("showtime10()",1000);        
	timerRunning=true;
}
function showtime11 ()  // µ¿°æ
{
	var now=new Date();
	now.setHours(now.getHours() );
	now.setMinutes(now.getMinutes() );
	now.setSeconds(now.getSeconds() );
	now.setMonth(now.getMonth()+1); 
	var year=now.getYear(); 
	var month=((now.getMonth()<10) ? "0" : "")+now.getMonth();
	var date=((now.getDate()<10) ? "0" : "")+now.getDate();     
	var hours=now.getHours();
	var minutes=now.getMinutes();
	var seconds=now.getSeconds();
	var timeValue=year;
	timeValue+="/"+month;
	timeValue+="/"+date+" ";
	timeValue+=((hours<10) ? "0" : "")+hours;
	timeValue+=((minutes<10) ? ":0" : ":")+minutes;
	//timeValue+=((seconds<10) ? ":0" : ":")+seconds;
	
	//document.WTime.time11.value = "  " + timeValue;
	timerID=setTimeout("showtime11()",1000);        
	timerRunning=true;
}		
function startclock()
{
	stopclock();
	showtime1();
	showtime2();
	showtime3();
	showtime4();
	showtime5();
	showtime6();
	showtime7();
	showtime8();
	showtime9();
}
startclock();