defaultStatus= "::EnerGia_Da::";
 function PopupOss() {
	var w = 608;
	var h = 520;
	var l = Math.floor((screen.width-w)/2);
	var t = Math.floor((screen.height-h)/2);
      window.open("../osservatorio.php","Osservatorio","scrollbars=yes,resizable=yes,width=" + w + ",height=" + h + ",top=" + t + ",left=" + l);
}
function PopupFoto(z) {
//fh=screen.height-40;  theID
//fl=screen.width-5;    +theID+
var h=160;
var w=160;
var l = 1;
var t = 1;
      //window.open("popup.htm","Immagine","scrollbars=no,resizable=no,width=" + fl + ",height=" + fh + ",top=" + t + ",left=" + l);
		window.open("popup.php?id="+ z ,"Foto","scrollbars=no,resizable=no,width=" + w + ",height=" + h + ",top=" + t + ",left=" + l);

}
function confirmSubmit() {
	setTimeout('mostraMessaggio()',1000);
	return true ;
}
function mostraMessaggio() {
	document.mailform.testo.value = 'Messaggio Inviato Grazie';
}
function PopupGallery(z, x) {
	var w = 100;
	var h = 100;
	var l = 1;
	var t = 1;
      window.open("popgallery.php?id="+ z +"&xx="+ x,"Foto"+ z + x,"scrollbars=no,resizable=no,width=" + w + ",height=" + h + ",top=" + t + ",left=" + l);
}