// evita que aparezca la dirección de correo como enlace "mail_t0" en la página fuente
// USO:     correo('AH','Click here to email me!','comment on your pages')

document.writeln('<style type="text/css">')
document.writeln('span.oculto { display:none; }')
document.writeln('</style>')

function correo(nom,info,tema) {
	var arrieros = String.fromCharCode(63+1)
	info = info.replace(/[|#]/,arrieros)
	if (nom=="AH") nom="angel.herraez"
	var s;
	var host="uah.es";
	if (tema != "") host=host+"?subject="+tema;
	if (info == "") info="escribe";
	s="mail";
	document.write("<a href='"+s+"to:"+nom+arrieros+host+"'>"+info+"</a>");
}


function sobreAH(info,tema) {
	info1="<img src='e-mail.gif' alt='" + info + "' title='" + info 
		+ "' border='0' height='22' width='32' align='absmiddle'>";
	correo('AH',info1,tema)
}

function sobre(nom,info,tema) {
	info1="<img src='e-mail.gif' alt='" + info + "' title='" + info 
		+ "' border='0' height='22' width='32' align='absmiddle'>";
	correo(nom,info1,tema)
}

function correoTxt(nom,dom) 
{	var arrieros = String.fromCharCode(63+1)
	var host = dom ? dom : "uah.es";
	document.write(nom+arrieros+host);
}

