function tS(){x=new Date(tN().getUTCFullYear(),tN().getUTCMonth(),tN().getUTCDate(),tN().getUTCHours(),tN().getUTCMinutes(),tN().getUTCSeconds()); x.setTime(x.getTime()+21600000); return x; } 
function tN(){ return new Date(); } 
function lZ(x){ return (x>9)?x:'0'+x; } 
function dT(){ document.getElementById('tP').innerHTML=eval(oT); document.getElementById('dP').innerHTML=eval(oD); setTimeout('dT()',1000); } 
function y4(x){ return (x<500)?x+1900:x; } 
var dN=new Array('Воскресенье','Понедельник','Вторник','Среда','Четверг','Пятница','Суббота');
var oT="lZ(tS().getHours())+':'+lZ(tS().getMinutes())+':'+lZ(tS().getSeconds())+' '";
var oD="lZ(tS().getDate())+'/'+(tS().getMonth()+1)+'/'+y4(tS().getYear())+' '+dN[tS().getDay()]";
window.onload=dT;

var NN=(window.navigator.appName=="Netscape") ? true : false;
function OpenWindow(picture, w, h) {
	if (NN) {
		new_window = window.open("picture.htm?arg="+picture, "Picture", "outerWidth="+w+", outerHeight="+(h+50)+", Status=no, Toolbar=no, Menubar=no, Location=no", defaultStatus="");
	} else {
		window.open("picture.htm?arg="+picture, "", "Height="+h+", Width="+w+", Status=no, Toolbar=no, Menubar=no, Location=no");
	}
}
