function apriFinestra(url, myname, w, h, prop, res) {
 	var winl = (screen.width - w) / 2;
 	var wint = (screen.height - h) / 2;
 	winprops = "scrollbars="+prop+",height="+h+",width="+w+",top="+wint+",left="+winl+",resizable="+res+",status=yes";
	var win;
 	win = window.open(url, myname, winprops);
 if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

//per la visualizzaione dei livelli di scadenziario
function getObj(nome)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(nome);
	this.style = document.getElementById(nome).style;
  }
  else if (document.all)
  {
	this.obj = document.all[nome];
	this.style = document.all[nome].style;
  }
}

function vis(val,nomelivello)
{
	var f = new getObj(nomelivello);
	f.style.visibility = val;
}

