function apri(url, lunghezza, altezza, pScrollBar) {
	// ------------------------------------------
	// URL del file da aprire: url
	// ------------------------------------------
	// Nome della finestra: nome
	nome = 'notizie';
	// ------------------------------------------
	// Altezza della finestra [numero]
	if (! altezza) {
		altezza = 500;		
	}
	// ------------------------------------------
	// Lunghezza della finestra [numero]
	if (! lunghezza) {	
		lunghezza = 720;
	}
	// ------------------------------------------
	// Posiziona finestra al centro [true|false]
	centra = true;
	// ------------------------------------------
	// Distanza dal margine sinistro [numero]
	posX = 100;
	// ------------------------------------------
	// Distanza dal margine destro [numero]
	posY = 100;
	// ------------------------------------------
	// Visualizza a pieno schermo - solo IE4
	fullscreen='no';
	// ------------------------------------------
	// Ridimensionabile [yes|no]
	resizable='yes';
	// ------------------------------------------
	// Visualizza barra del menu [yes|no]
	menuB='no';
	// ------------------------------------------
	if (! pScrollBar) {
	// Visualizza barre di scorrimento [yes|no]
		pScrollBar='no';	
	}
	// ------------------------------------------
	// Visualizza barra di stato [yes|no]
	statusB='no';	
	// ------------------------------------------

	if (centra) {
		posX = Math.round((screen.width - lunghezza)/2);
		posY = Math.round((screen.height - altezza)/2);		
	}

	caratteristiche = "menubar=" + menuB;
	caratteristiche += ",scrollbars=" + pScrollBar;
	caratteristiche += ",statusbar=" + statusB;		//Netscape
	caratteristiche += ",status=" + statusB;		//IE4
	caratteristiche += ",height=" + altezza;
	caratteristiche += ",width=" + lunghezza;
	caratteristiche += ",screenX=" + posX;			//Netscape
	caratteristiche += ",left=" + posX;			//IE4
	caratteristiche += ",screenY=" + posY;			//Netscape
	caratteristiche += ",top=" + posY;			//IE4
	caratteristiche += ",fullscreen=" + fullscreen; 	//solo IE4
	caratteristiche += ",resizable=" + resizable;

	window.open(url, nome, caratteristiche);

}