add email output javascript functions

This commit is contained in:
james 2005-01-25 15:58:36 +00:00
parent 6cb8d9d2e9
commit 0bfb617804

View File

@ -194,6 +194,17 @@ function confirmClick(msg)
else
return false;
}
function el(str,domain,name)
{
document.write(\"<a href=\\\"ma\"+\"il\"+\"to:\" + str + \"@\" + domain + \"\\\">\" + name + \"<\/a>\");
}
function em(str,domain)
{
document.write(\"<a href=\\\"ma\"+\"il\"+\"to:\" + str + \"@\" + domain + \"\\\">\" + str + \"@\" + domain + \"<\/a>\");
}
</script>
<div id="header">