// Displays the current date in the place where the function is called.
function WriteDate_RO() {
	var arrMonths = new Array("Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie");
	var todayDate = new Date();
	document.write(todayDate.getDate() + ' ' + arrMonths[todayDate.getMonth()] + ' ' + todayDate.getFullYear());
}
function WriteDate_EN() {
	var arrMonths = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
	var todayDate = new Date();
	document.write(arrMonths[todayDate.getMonth()] + ' ' + todayDate.getDate() + ', ' + todayDate.getFullYear());
}

function WriteDate2() {
	var arrMonths = new Array("Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie");
	var todayDate = new Date();
	document.write('<IMG src="images/blank.gif" width=150 height=5><BR><FONT class=date>' + todayDate.getDate() + ' ' + arrMonths[todayDate.getMonth()] + ', ' + todayDate.getFullYear() + '</FONT>');
}

function transferview(titlu,image,width,height,text) 
{
if (width==0) cond1=" "
else cond1="width="+(width+20)+"";
if (height==0) {cond2=" "};
else {cond2="height="+(height+120)+""};
var s1 ="<TITLE>"+titlu+"</TITLE><LINK href='altamira.css' type=text/css rel=stylesheet>"
var s2 ="<CENTER><IMG SRC='"+image+"' BORDER=0>"
var s3 ="<FORM><INPUT TYPE='BUTTON' class='text' VALUE='Inchide fereastra'"+ " onClick='self.close()'>"
var s4 ="</FORM></CENTER>"
var s5 = "<p class='text'><strong>"+text+"</strong></p>"
x=screen.availWidth/2-width/2-10;
y=screen.availHeight/2-height/2-35;
ImageWindow=window.open("", "newwin"+width,"toolbar=no,scrollbars="+scroll+",menubar=no,"+cond1+","+cond2+",top="+y+",left="+x);
ImageWindow.document.write(s1+s2+s5+s3+s4)
ImageWindow.document.close()
}
