<!-- //funcions del costat del client

function foto(ruta)
{
   i1 = new Image;
   i1.src = ruta;
   html = '<html><head><title></title></head>';
   html += '<body leftmargin=0 marginwidth=0 topmargin=0 marginheight=0>';
   html += '<center><img src="'+ruta+'" border=0 name="Foto" ';
   html += 'onLoad="window.resizeTo(document.Foto.width+10,document.Foto.height+35)">';
   html += '</center></body></html>';
   popupImage = window.open('','foto','scrollbars=0,resizable=1,width=400,height=400');
   popupImage.document.open();
   popupImage.document.write(html);
   popupImage.document.close();
}

-->