  function AbrirFoto(strURLImagen, intAncho, intAlto)
  {
    var strPropiedadesVentana="", objCapa, strCodigoHtml = "";

    // Al Height de la resolución se le multiplica por 2 para que la ventana no aparezca visible al principio
    // Al Width de la resolución se le multiplica por 2 para que la ventana no aparezca visible al principio    
    strPropiedadesVentana= "top=" + ((screen.height/2) - (intAlto/2)) + ", left=" + ((screen.width/2) - (intAncho/2));
    strPropiedadesVentana+= ", width=" + intAncho +", height=" + intAlto + ", scrollbars=no";
    
    VentanaFoto=window.open("","VisualizarFotos",strPropiedadesVentana);

    strCodigoHtml += "<html>\n";
    strCodigoHtml += "<head>\n";
    strCodigoHtml += "<title>|:: C A S A&nbsp;  B R I T &Aacute; N I C A ::|</title>\n";
    strCodigoHtml += "</head>\n";
    strCodigoHtml += '<body leftmargin="0" topmargin="0" marginwidth="0"marginheight="0">' + "\n";
    strCodigoHtml += '<img id="objImagen" src="' + strURLImagen + '">' + "\n";
    strCodigoHtml += "</body>\n";
    strCodigoHtml += "</html>\n";
        
    VentanaFoto.document.writeln(strCodigoHtml);
}