//---------------------------------------
//--andreotta@allpcweb.com--
//----divieto di copia anche parziale di questi script---
//--copyright © 2002-------
//---------------------------------------
function centra(){
if (document.layers){
 document.layers['ifr'].width=800;
 document.layers['ifr'].pageX =(window.innerWidth/2)-(document.layers['ifr'].width/2);
 document.layers['lin'].width=800;
 document.layers['lin'].pageX =(window.innerWidth/2)-(document.layers['lin'].width/2);
}
else if (document.all){
 document.all.ifr.width=800;
 document.all.ifr.style.posLeft =(document.body.clientWidth/2)-(document.all.ifr.width/2);
 document.all.lin.width=800;
 document.all.lin.style.posLeft =(document.body.clientWidth/2)-(document.all.lin.width/2);
}
else if(document.getElementById && (navigator.appName=='Netscape')){
 document.getElementById('ifr').width=800;
 document.getElementById('ifr').style.left =(window.innerWidth/2)-(document.getElementById('ifr').width/2);
 document.getElementById('lin').width=800;
 document.getElementById('lin').style.left =(window.innerWidth/2)-(document.getElementById('lin').width/2);
}
}

