// Create a window:

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=750,height=500,left = 340,top = 112');");
}
	
function apri(url,nome){
var win = window.open(url,nome,"scrollbars=1,fullscreen=no,resizable=no,toolbar=no,width=410,height=450");				   			   
win.focus()
}
function stamp(url,nome){
var win1 = window.open(url,nome,"scrollbars=1,fullscreen=no,resizable=no,toolbar=no, width=410, height=450");				   			   
win1.self.print();
win1.setTimeout("self.close();",3000);
}

	
function pop_up(url,nome)
	{ 
	var win2 = window.open(url,nome,"menubar=no,scrollbars=1,fullscreen=no,resizable=no,height=440,width=520")
	win2.focus()
	} 

function pop_up_1(url)
	{ 
	window.open(url,"nome","menubar=no,toolbar=yes,scrollbars=1,fullscreen=no,resizable=yes") 
	} 

 function WebDate() {
	var now = new Date();
	var year= now.getYear();if (year < 1000) year += 1900;
	nameDay = new Array('Domenica','Lunedi','Martedi','Mercoledi','Giovedi','Venerdi','Sabato');
	nameMth = new Array('Gennaio','Febbraio','Marzo','Aprile','Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre','Dicembre');
	document.write(nameDay[now.getDay()]+ ' ' + now.getDate() + " " + nameMth[now.getMonth()] + " " + year);
	
}
