// JavaScript Document

// spam email protection 
function eml(addr,domain,id)
{
	var email = ('<a href="mailto:' + addr + '@' + domain + '">' + addr + '@' + domain + '</a>');
	if (document.getElementById)
	{
		x = document.getElementById(id);
		x.innerHTML = '';
		x.innerHTML = email;
	}
	else if (document.all)
	{
		x = document.all[id];
		x.innerHTML = email;
	}
	else if (document.layers)
	{
		x = document.layers[id];
		text2 = '<p class="em_cls">' + email + '</p>';
		x.document.open();
		x.document.write(text2);
		x.document.close();
	}
}

