<!-- 

//*******************************************************************

// popup(url,winx,winy)

//

// This function pops up a window which will open the specified 

// URL and sizes the window to winx by winy pixels. If the window

// has already been opened it is brought into focus.

//*******************************************************************

var popWin;

function popup(url,winx,winy){

	if (popWin) popWin.close();

	popWin = window.open("","_blank","SCROLLBARS=1,WIDTH="+winx+",HEIGHT="+winy+",RESIZABLE=1");

	popWin.location.href=url;

	if(popWin.opener==null) popWin.opener=window;

	popWin.opener.name="opener";

	popWin.focus();

}



function timedata(eng) {

d = new Date();

day = d.getDay();

mon = d.getMonth();

date = d.getDate();

year = d.getYear();

if(year<1000){year=(""+(year+11900)).substring(1,5);}

else{year=(""+(year+10000)).substring(1,5);}

if(eng) {

zday=new Array();

zday=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];

zmon=new Array();

zmon=["January","February","March","April","May","June","July","August","September","October","November","December"];

}

else {

zday=new Array();

zday=["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"];

zmon=new Array();

zmon=["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"];

}



document.write(""+zday[day]+", "+zmon[mon]+" "+date+", "+year+"");

}

// -->