var clockID = 0;


function UpdateClock(language) {
   if(clockID) {
      clearTimeout(clockID);
      clockID  = 0;
   }

   var tDate = new Date();
   var hours, minutes;
   if (tDate.getHours() < 10 )
   hours = "0" + tDate.getHours()
     else
   hours = tDate.getHours()
   if (tDate.getMinutes() <10)
   minutes = "0" + tDate.getMinutes()
   else
   minutes = tDate.getMinutes()
////////////////////////////////////////////////////////////////////////////////////////////
  
var currentdate;
var themonth;
var month=tDate.getMonth()+1;
var month_Eng = new Array("January", "February", "March", "April",  "May", "June", "July", "August", "September", "October", "November", "December")
var month_Rus = new Array("января", "февраля", "марта", "апреля",  "мая", "июня", "июля", "августа", "сентября", "октября", "ноября", "декабря")


	themonth = eval("month_" + language  + "[month-1]")
	



var date=tDate.getDate();
var year=tDate.getYear();
var day=tDate.getDay();

if (year==100){year="2000";}
if (year==101){year="2001";}
if (year==102){year="2002";}
if (year==103){year="2003";}
if (year==104){year="2004";}
if (year==105){year="2005";}
//////////////////////////////////////////////////////////////////////////////////////////
   

 //document.theClock.theTime.value = "" 
document.all.item("spDate").innerHTML = ""
									+ date + " "
									+ themonth + ", "
									+ year;	                                  
 
}
function StartClock(language) {
UpdateClock(language)
}

function KillClock() {
   if(clockID) {
      clearTimeout(clockID);
      clockID  = 0;
   }
}
function writeTime()
{
	document.write(NowTime)
}
function getDate(){


currentdate=themonth+" "+date+", "+year+""
}

//-->