function popscroll(linkpop,largh,alto) {
window.open(linkpop,'new','width='+largh+',height='+alto+',scrollbars=yes')
}
function popnoscroll(linkpop,largh,alto) {
window.open(linkpop,'new','width='+largh+',height='+alto+',scrollbars=no')
}

function showLay(layId) {
eval("styleUsed="+layId+".style.display;");
if (styleUsed=="none") {
eval(layId+"_i.src='/cm/img/freccia_on.gif';");
eval(""+layId+".style.display='block';");
} else {
eval(layId+"_i.src='/cm/img/freccia_off.gif';");
eval(""+layId+".style.display='none';");
}
}

ie=(navigator.appName=='Microsoft Internet Explorer')?1:0;

function setImgLogo() {
if (ie && document.getElementById("mProd")) viewit=setInterval("bringintoview()",10);
}

var fadeintoview=1
var visibleduration=0

function bringintoview(){
if (ilogo.filters.alpha.opacity<=95) ilogo.filters.alpha.opacity+=2
else{
clearInterval(viewit)
if (visibleduration!=0) setTimeout("ilogo.style.visibility='hidden'",visibleduration*50)
}
}

ml=225;

function showMenu() {
ww=(ie)?document.body.clientWidth:window.innerWidth;
if (ww<760) ww=760;
mi=(ie)?document.all["mProd"].style:((navigator.appName=='Netscape' && ver>=5)?document.getElementById("mProd").style:document.layers["mProd"]);
mi.left=(ww-760)/2+ml;
v=(document.all || (navigator.appName=='Netscape' && ver>=5))?'visible':'show';
mi.visibility=v;
}

function hideMenu() {
mi=(document.all)?document.all["mProd"].style:((navigator.appName=='Netscape' && ver>=5)?document.getElementById("mProd").style:document.layers["mProd"]);
v=(document.all || (navigator.appName=='Netscape' && ver>=5))?'hidden':'hide';
mi.visibility=v;
}

function nf(percorso) {
window.open(percorso,'finper','width=780,height=530,menubar=no,status=no,scrollbars=yes');
}