function gallery(str) { 
larg=900; 
alt=730; 
toptop=(screen.height/2)-(alt/2); 
leftleft=(screen.width/2)-(larg/2); 
finestra = window.open(str,'finestra','top='+toptop+',left='+leftleft+',scrollbars=no,width='+larg+',height='+alt+',status=no,location=no,toolbar=no');
finestra.focus(); 
}

function ApriFinestra(str) { 
larg=610; 
alt=600; 
toptop=(screen.height/2)-(alt/2); 
leftleft=(screen.width/2)-(larg/2); 
finestra = window.open(str,'finestra','top='+toptop+',left='+leftleft+',scrollbars=no,width='+larg+',height='+alt+',status=no,location=no,toolbar=no');
finestra.focus(); 
}
function ApriFinestraSmall(str) { 
larg=530; 
alt=500; 
toptop=(screen.height/2)-(alt/2); 
leftleft=(screen.width/2)-(larg/2); 
searchWin = window.open(str,'','top='+toptop+',left='+leftleft+',scrollbars=yes,width='+larg+',height='+alt+',status=no,location=no,toolbar=no'); 
}
function ApriFinestraSlide(str) { 
larg=420; 
alt=420; 
toptop=(screen.height/2)-(alt/2); 
leftleft=(screen.width/2)-(larg/2); 
searchWin = window.open(str,'','top='+toptop+',left='+leftleft+',scrollbars=no,width='+larg+',height='+alt+',status=no,location=no,toolbar=no'); 
}

function ApriFinestraSpecifiche(str) { 
larg=810; 
alt=600; 
toptop=(screen.height/2)-(alt/2); 
leftleft=(screen.width/2)-(larg/2); 
searchWin = window.open(str,'','top='+toptop+',left='+leftleft+',scrollbars=yes,resizable=yes,width='+larg+',height='+alt+',status=no,location=no,toolbar=no'); 
}


function bigWindow(theURL) { //v2.0
larg=640; 
alt=670; 
toptop=(screen.height/2)-(alt/2); 
leftleft=(screen.width/2)-(larg/2); 
finestra = window.open(theURL,'','top='+toptop+',left='+leftleft+',scrollbars=no,resizable=yes,width='+larg+',height='+alt+',status=no,location=no,toolbar=no'); 
finestra.focus();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}