function setVariables(){
if (navigator.appName == "Netscape") {
if (parseInt(navigator.appVersion) >= 5){v=".top=";h=".left=";dS="document.getElementById(\"";sD="\").style";
y="window.pageYOffset";x="window.pageXOffset";}
else {v=".top=";h=".left=";dS="document.";sD="";
y="window.pageYOffset";x="window.pageXOffset";}
}
else {h=".pixelLeft=";v=".pixelTop=";dS="";sD=".style";
y="document.body.scrollTop";x="document.body.scrollLeft";}
checkLocationA()}
function checkLocation(){
object="menulogo";yy=eval(y);xx=eval(x);
xdiff=xstart-xx;
if ((xdiff<(-1))||(xdiff>(1))) movex=Math.round(xdiff/10),xstart-=movex
if (ystart>=0){eval(dS+object+sD+v+(ystart+0));
} else {eval(dS+object+sD+v+0);}
if (xstart < 0){xstart=0;}
eval(dS+object+sD+h+xstart);
setTimeout("checkLocation()",10);
}
function checkLocationA(){ystart=eval(y);xstart=eval(x);}
function apriFinestra(url, myname, w, h, prop,res) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'resizable='+res+',scrollbars='+prop+',height='+h+',width='+w+',top='+wint+',left='+winl;
var urlcompleto= url;
win = window.open(urlcompleto, myname, winprops);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
function MM_reloadPage(init) {
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);