<!--
//Popup centrata
function aprialcentro(url,larghezza,altezza) {
 open(url, "popup", "width="+larghezza+",height="+altezza+", left="+((screen.width-larghezza)/2)+",top="+((screen.height-altezza)/2)+"");
}
var checkobj

//Popup per immagini
function openWindow(url, name, w, h,scroll ) {
  popupWin = window.open(url, name, 'menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars='+scroll+',resizable=no,width='+ w + ',height='+ h + ',top=10,left=10')
}

function ingrandisci(immagine,descrizione,larghezza,altezza)
{ 
eval("NewWin=window.open('','popup','resizable=no,scrollbars=no,status=no,width='+larghezza+',height='+altezza+',left=5,top=5');"); 
NewWin.document.write ("<HTML><HEAD><TITLE>");
NewWin.document.write (".:: NOME AZIENDA ::. ");
NewWin.document.write (descrizione + "</TITLE>");
NewWin.document.write ("</HEAD>\n"); 
NewWin.document.write ("<BODY Onload='top.window.focus()' MARGINWIDTH='0' MARGINHEIGHT='0' TOPMARGIN='0' LEFTMARGIN='0'>\n"); 
NewWin.document.write ("<a href='javascript:this.close();'><IMG SRC='");
NewWin.document.write (immagine);
NewWin.document.write ("' WIDTH='");
NewWin.document.write (larghezza);
NewWin.document.write ("' HEIGHT='");
NewWin.document.write (altezza);
NewWin.document.write ("' BORDER='0'  ALT='Clicca per chiudere' STYLE=position:absolute;left=0px;top=0px></a>"); 
NewWin.document.write ("</BODY></HTML>"); 
NewWin.document.close();
} 

function accetta(el){
checkobj=el
	if (document.all||document.getElementById){
		for (i=0;i<checkobj.form.length;i++){  
var tempobj=checkobj.form.elements[i]
	if(tempobj.type.toLowerCase()=="submit")
tempobj.disabled=!checkobj.checked
							}
						}
					}

function disabilita(el){
	if (!document.all&&!document.getElementById){
			if (window.checkobj&&checkobj.checked)
return true
		else{
alert("Per favore accetta i termini del contratto")
return false
						}
					}
				}

 
function clearFocus() 
{ 
no_bordo = function(){this.blur()} 
for(i=0;i<document.links.length;i++) 
{ 
document.links[i].onfocus=no_bordo; 
} 
} 
onload=clearFocus; 
// --> 

function richiamaOnload() {
clearFocus();
}
onload=richiamaOnload;

