function abreFoto(ruta, p2)
{
i1 = new Image;
i1.src = ruta;
html = '
' + p2 + '';
html += '';
html += '
';
html += '';
popupImage = window.open('','_blank','scrollbars=0,resizable=1');
popupImage.document.open();
popupImage.document.write(html);
popupImage.document.close();
}