// Abre ventana para ver foto
function OpenFoto(imagen, ancho, alto, nombre){
var codigo1='<html><head><title>' + nombre + ' .::. Fotografías</title></head><body leftmargin=0 topmargin=0 class="open_foto"><table cellspacing="0" cellpadding="0" border=0 width="100%" height="90%"><tr><td width="100%" height="70%" align=left valign=middle">';
var codigo2='</td></tr></table></body></html>';
doctag = '<img src="' + imagen + '" border=0>';
ventana=open("","IMAGEN","width="+ancho+",height="+alto+",scrollbars=no,menubar=no, location=no,resizable=no,left=300,top=190,screenX=100,screenY=100");
ventana.document.write(codigo1);
ventana.document.write(doctag);
ventana.document.write(codigo2);
}



