function apri_finestra_nobar(url, nomeWindow, lunghezza, altezza) {
	nome = nomeWindow;
	// ------------------------------------------
	// Altezza della finestra [numero]
	if (altezza == null) {
		altezza = 600;
	}
	// ------------------------------------------
	// Lunghezza della finestra [numero]
	if (lunghezza == null) {
		lunghezza = 800;
	}	
	// ------------------------------------------
	// 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';
	// ------------------------------------------
	// Visualizza barre di scorrimento [yes|no]
	scrollB='yes';	
	// ------------------------------------------
	// 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=" + scrollB;
	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;

	popupWindow = window.open(url, nome, caratteristiche);
	popupWindow.focus();
	popupWindow.opener = self;
	//document.form1.action=pag;
	//opener.form1.submit();
	
	//document.form1.action=url;
	
	//document.form1.target="importa_allegato";
	
	//document.form1.submit();
	
	//popupWindow.name.value=nome
	//alert(popupWindow.name.value)

}
function scrolling(scroll,el,stop) {
	if(stop>scroll.length){stop=1;}
	str_vis = scroll.substring(0,stop);
	//str_vis=scroll.substring(1, scroll.length) + scroll.substring(0, 1);
	document.getElementById(el).innerHTML = str_vis;
	stop++;
	setTimeout("scrolling('"+scroll+"','"+el+"',"+stop+")", 150);
}