function popup(theURL,winName,w,h,scrollbars,resizable,status,toolbar) { //v2.0
	var l = Math.floor((screen.width-w)/2);
	var t = Math.floor((screen.height-h)/2);
	window.open(theURL,winName,"top=" + t + ",left=" + l+",width="+w+",height="+h+",scrollbars="+scrollbars+",resizable="+resizable+",status="+status+",toolbar="+toolbar);
}

var title = "<title>DIRITTOITALIA.IT - RIVISTA GIURIDICA ON LINE DEDICATA ALLE PROFESSIONI LEGALI ALLA P.A. ED AGLI ENTI LOCALI</title>";


/* funzioni vecchie per div centrale
function banner_centrale(){
	var l = Math.floor((screen.width-725)/2);//numero + alto si sposta a sinistra
	var t = Math.floor((screen.height-400)/2);//numero + alto si sposta in alto
	document.getElementById('div_bann').style.position='absolute'
	document.getElementById('div_bann').style.top=t
	document.getElementById('div_bann').style.left=l 
		if(document.getElementById('div_bann').style.visibility =='visible'){
			document.getElementById('div_bann').style.visibility='hidden';
			}else{
			document.getElementById('div_bann').style.visibility='visible';
			} 
}

function banner_centrale_chiudi(){
	document.getElementById('div_bann').style.visibility='hidden';
	//document.getElementById('objoverlay').style.display='none';
	document.body.scroll='yes';
}

function overlay(){
	//document.body.scroll='no';
	var w = document.body.clientWidth;
	//var h = 100+'%';
	var h = document.body.scrollHeight;
	document.getElementById('objoverlay').style.width=w;
	document.getElementById('objoverlay').style.height=h;
	document.getElementById('objoverlay').style.top=0;
	document.getElementById('objoverlay').style.left=0;
}
*/