
function mf(foto, titulo,width, height) { 
//alert('Proximamente estarán disponibles!');
ventana=window.open('','','width='+width+',height='+height+',scrollbars=yes,resizable=yes,top=30,left=30'); 
doc=ventana.document;
doc.open("text/html");
doc.write("<html><head><title>"+titulo+"</title></head>");
//doc.write("<link rel='stylesheet' type='text/css' href='../estilo2.css'></head>");
doc.write("<body topmargin='0' leftmargin='0'>");
doc.write("<table border='0' width='100%' height='"+eval(height-10)+"' cellspacing='0' cellpadding='0'>");
doc.write("<tr><td width='100%' valign='middle' align='center'><img src='"+'imagenes/'+foto+"'>"); 
//doc.write("<br>"+titulo);
doc.write(" </td></tr></table>");
//doc.write(" <center> <a href='http://www.vigoenfotos.com/iphp/myphpcard/create.php?f=../../../../imagenes/"+foto+"' target='_blank' >  Enviar como postal </a> </center>");
doc.write("</body></html>");
doc.close();
ventana.focus();
}



function mf2(mypage,foto, titulo,width, height) { 
LeftPosition = (screen.width) ? (screen.width-width)/2 : 0;
TopPosition = (screen.height) ? (screen.height-height)/2 : 0;

ventana=window.open(mypage,'','width='+width+',height='+height+',scrollbars=yes,resizable=yes,top='+TopPosition+',left='+LeftPosition); 
doc=ventana.document;
doc.open("text/html");
doc.write("<html><head><title>"+titulo+"</title></head>");

doc.write("<body topmargin='0' leftmargin='0'>");
doc.write("<table border='0' width='100%' height='"+eval(height-10)+"' cellspacing='0' cellpadding='0'>");
doc.write("<tr><td width='100%' valign='middle' align='center'><img src='"+'imagenes/'+foto+"'>"); 

doc.write(" </td></tr></table>");

doc.write("</body></html>");
doc.close();
ventana.focus();
}
function overTD(td,color){td.bgColor=color;}
function outTD(td,color){td.bgColor=color;}

function DisplayMail(Server, Login, Display, Class){
	if ((Display.length == 0) || (Display.indexOf('@')+1)) {
	document.write("<A HREF=" + "'ma"+"i" + "lto:" + Login + "@" + Server + "' class='"+ Class + "'>" + Login + "@" + Server + "</A>"); }
	else  {
	document.write("<A HREF=" + "'ma"+"i" + "lto:" + Login + "@" + Server + "' class='"+ Class +  "'>" + Display + "</A>"); }
}

			