function aprifinestra(pagina,nome,opzioni) { //v2.0
  window.open(pagina,nome,opzioni);
}




function apri ( szUrl, szName, iWidth, iHeight )
{
	var iTop, iLeft;

	var szFeatures = "";
	
	if (iWidth != null)	{
		szFeatures += "width=" + iWidth + ",";
		iLeft = (window.screen.availWidth -32 - iWidth) >> 1;
		szFeatures += "left=" + iLeft + ",";
	}
	if (iHeight != null) {
		szFeatures += "height=" + iHeight + ",";
		iHeight = (window.screen.availHeight - iHeight) >> 1;
		szFeatures += "top=" + iHeight + ",";
	}

	szFeatures += "scrollbars=no,titlebar=no,status=no,toolbar=no,menubar=no,location=no,fullscreen=no,resizable=no";

	window.open(szUrl, szName, szFeatures);
}