document.write("<link href='js/stili.css' rel='stylesheet' type='text/css'>")
ConfX=screen.width
ConfY=screen.height

function dim(){


var x=document.images['prima'].width+10; 
var y=document.images['prima'].height+75;

 if (parseInt(navigator.appVersion)>3) {
   if (navigator.appName=="Netscape") {
    top.outerWidth=x;
    top.outerHeight=y;
   }
   else { 
	top.resizeTo(x,y);
	   }
 }
 
centroX=Math.ceil(screen.width/2);
centroY=Math.ceil(screen.height/2);

window.moveTo(centroX-Math.ceil(x/2),centroY-Math.ceil(y/2));

}
     
function chiudi()
{
window.close();
}

function f(str,x,y) {
x=1;
y=1;
Win = window.open(str,'f','screeny=0,screenx=150,scrollbars=NO,scroll=NO,resizable=no,width='+x+',height='+y+',status=no,location=no,toolbar=no');       
}
function f2(str,x,y) {
Win = window.open(str,'f2','screeny=0,screenx=150,scrollbars=yes,scroll=yes,resizable=no,width='+x+',height='+y+',status=no,location=no,toolbar=no');       
}
function f4(str1,x,y,nome,euro,h) {
	str1=str1+"?nomep="+nome+"&euro="+euro+"&h="+h;
	
Win = window.open(str1,'f4','screeny=0,screenx=150,scrollbars=yes,scroll=yes,resizable=no,width='+x+',height='+y+',status=no,location=no,toolbar=no');       
}
function PopUP(Pag) {
x=1;
y=1;
if(Pag!="null"){
   Win = window.open(Pag,'PopUP','screeny=0,screenx=150,scrollbars=no,scroll=no,resizable=no,width='+x+',height='+y+',status=no,location=no,toolbar=no');       
}
}

