function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>' +alt+ '</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">'); 
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}


// funzione per far comparire il pop-up della privacy
function apriFinestra(page){
var winOpenSquadra;
winOpened = window.open(page,"Squadra","directories=no,status=no,statusbar=no,resizable=no,menubar=no,scrollbars=yes,toolbar=no,width=770,height=530,left=10,top=10");
}


//funzione che mi apre pop-up (vedi: POSIZIONE)
function openwindow2(Url, Wid, Hei){
window.open (Url, '', 'toolbar=no,status=yes,menubar=no,scrollbars=yes,fullscreen=no,resizable=no,width='+Wid+',height='+Hei);
}


//funzione che mi permette di centrare la popup
function resizeWin(Altezza,Larghezza){
var sizeH= Altezza;
var sizeW= Larghezza;
var posH=0;
var posW=0;

if (sizeH<=screen.height)
sizeH=30+sizeH;
if (sizeW<=screen.width)
sizeW=30+sizeW
self.resizeTo(sizeW,sizeH);
if (((screen.height-sizeH)/2)>0)
posW=((screen.height-sizeH)/2);
if (((screen.width-sizeW)/2)>0)
posH=((screen.width-sizeW)/2);
self.moveTo(posW,posH);
}


//funzione per disabilitare e cambiare il testo sul tasto submit nel momento di invio dati
function disabilita(nform){
document.forms[nform].submit.value = "Attendi..";
document.forms[nform].submit.disabled = true;
}



function bianco(){
document.getElementById('fxTrigger').style.color='white';
setTimeout("giallo()",500);
}
function giallo(){
document.getElementById('fxTrigger').style.color='yellow';
setTimeout("bianco()",500);
}



//funzione che mi serve per far funzionare il box ADMIN in WHOIS
function chiudi(nome)
{
  var stato = document.getElementById("tbl" + nome).style.display;
 
  if (stato != "none") 
    {
      // Nascondo la riga
      document.getElementById("tbl" + nome).style.display = "none";
    }
}
function apri(nome)
{
  var statoapri = document.getElementById("tbl" + nome).style.display;
 
  if (statoapri == "none")
    {
      // Visualizzo la riga
      document.getElementById("tbl" + nome).style.display = "";
    }
}