function clockon() {

thistime= new Date()
var hours=thistime.getHours()
var minutes=thistime.getMinutes()
var seconds=thistime.getSeconds()

Day = thistime.getDate(); // Считываем число
Month = thistime.getMonth(); // Считываем месяц
Year = thistime.getYear(); // Считываем год

Year = Year % 100;
Year = ((Year < 50) ? (2000 + Year) : (1900 + Year));
Month = Month+1;
if (eval(Month) <10) {Month="0"+Month}
if (eval(Day) <10) {Day="0"+Day}

if (eval(hours) <10) {hours="0"+hours}
if (eval(minutes) < 10) {minutes="0"+minutes}
if (seconds < 10) {seconds="0"+seconds}

thistime =Day + "." + Month + "." + Year + " " + hours+":"+minutes+":"+seconds
//thistime ="в Екатеринбурге: "+hours+":"+minutes+":"+seconds;

if(document.all) {

bgclocknoshade.innerHTML=thistime

bgclockshade.innerHTML=thistime

}


if(document.layers) {
document.bgclockshade.document.write('<div id="bgclockshade" style="position:absolute;visibility:visible;font-family:Verdana;color:FFAAAAA;font-size:14px;top:10px;left:12px">'+thistime+'</div>')
document.bgclocknoshade.document.write('<div id="bgclocknoshade" style="position:absolute;visibility:visible;font-family:Verdana;color:DDDDDD;font-size:14px;top:10px;left:10px">'+thistime+'</div>')
document.close()

}

var timer=setTimeout("clockon()",200)

}

function Load_Currency_Informer()

{

document.write( '<a href="http://www.informer.ru/cgi-bin/redirect.cgi?id=5_1_1_19_9_1-0&url=http://www.rbc.ru&src_url=elections3.gif" target="_blank"><img src="http://pics.rbc.ru/img/grinf/elections3.gif?'+ Math.floor(100000*Math.random() ) + '" WIDTH=120 HEIGHT="88" border=0></a><br><br>');
document.write( '<a href="http://www.informer.ru/cgi-bin/redirect.cgi?id=89_1_1_19_6_1-0&url=http://www.rbc.ru&src_url=fond.gif" target="_blank"><img src="http://pics.rbc.ru/img/grinf/fond.gif?'+ Math.floor(100000*Math.random() ) + '" WIDTH=120 HEIGHT="172" border=0></a>');

}



function Load_Weather_Informer2()
{
	document.writeln('<a href="http://www2.gismeteo.ru/weather/towns/28440.htm"><img alt="ФОБОС: погода в г.Екатеринбург" src="http://informer.gismeteo.ru/28440-1.GIF" border=0 width=100 height=100></a>')
}

function Load_Weather_Informer()
{
	document.writeln('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=fobos WIDTH=120 HEIGHT=60><PARAM NAME=movie VALUE="http://img.gismeteo.ru/flash/fw120x60.swf?index=28440"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><PARAM NAME=menu VALUE=false><PARAM NAME=scale VALUE=exactfit><EMBED src="http://img.gismeteo.ru/flash/fw120x60.swf?index=28440" quality=high bgcolor=#FFFFFF WIDTH=120 HEIGHT=60 TYPE="application/x-shockwave-flash"PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT><br><br>');

document.writeln('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=fobos WIDTH=120 HEIGHT=60><PARAM NAME=movie VALUE="http://img.gismeteo.ru/flash/fw120x60.swf?index=28367"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><PARAM NAME=menu VALUE=false><PARAM NAME=scale VALUE=exactfit><EMBED src="http://img.gismeteo.ru/flash/fw120x60.swf?index=28367" quality=high bgcolor=#FFFFFF WIDTH=120 HEIGHT=60 TYPE="application/x-shockwave-flash"PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT><br><br>');	

document.writeln('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=fobos WIDTH=120 HEIGHT=60><PARAM NAME=movie VALUE="http://img.gismeteo.ru/flash/fw120x60.swf?index=28225"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><PARAM NAME=menu VALUE=false><PARAM NAME=scale VALUE=exactfit><EMBED src="http://img.gismeteo.ru/flash/fw120x60.swf?index=28225" quality=high bgcolor=#FFFFFF WIDTH=120 HEIGHT=60 TYPE="application/x-shockwave-flash"PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT><br><br>');

}


function To_Event()
{
	endYear = new Date("October 09, 2002") 
	msPerHour =   60 * 1000 *60

	var time = new Date()
	var hour = time.getHours()
	var minute = time.getMinutes()
	var second = time.getSeconds()
	
	hoursLeft = Math.floor ((endYear.getTime() - time.getTime()) / msPerHour)
	daysLeft = Math.floor(hoursLeft/24)
	hoursLeft=hoursLeft-daysLeft*24+10
	var temp="";
	if (daysLeft>4){
		strDays="<b> дн. </b>";}
	else{
		if ((daysLeft>1) && (daysLeft<5)) {strDays="дня"}
		else {strDays=" день"}
	}

	temp="<font color=red><b> " + daysLeft + "</b></font>"  +strDays + "<font color=red><b>" + ((hoursLeft < 10) ? " 0" : " ") +  hoursLeft+ "</b></font>" + "<b> ч!</b>"

	//document.napform.clock.value = temp;
	//id = setTimeout("nap_clc()",10000) 
	document.writeln(temp)
}


function Load_Event2()
{

	var s='<tr><td  vAlign=\"center\" width=100%  height=20 background=\"../images/red_yellow3.jpg\"><font color=\"white\" face=\"Microsoft Sant Serif\" size=2> <b>&nbsp;'

	s+='&nbsp;Cобытие</b></font></td></tr>'

	s+='<td background=\"../images/digits.gif\" vAlign=top align=\"justify\"><font face="\MS Sans Serif\" size=1><br>'

	s+='<font color=\"black\"><b>9 октября 2002 года </b></font>во всех городах России состоится очередной <center><font color=red><b>ЕДИНЫЙ СЕМИНАР 1C!</b></font> </center>Программа и регистрация <a href=\"../events/seminar09102002.html\"> здесь.</a><br><br>'

	s+='<b>&nbsp;<font color=\"#01206d\"> До семинара - </b><script language=\"JavaScript\">To_Event()</script></font><br><br></font></td></tr>'

	document.writeln(s)

}

function Load_Event()
{
}