// Email Spam hiding
// Remember to change timestamp in query parameter when changes are made.  This will force refresh of the file
// in the browser cache.
// Use: <script>linkMail('domain.com','mdelange','css class');</script>
function popMail(host,user) {
	var acct = user +'@'+ host;
	self.location.href = 'mailto:'+ acct;
}
function linkMail(host,user,cls) {
	document.write('<a href="javascript:popMail(\''+ host +'\',\''+ user +'\');"');
	if (cls) {
		document.write(' class="'+ cls +'"');
	}
	document.write('>');
	showMail(host,user);
	document.write('</a>');
}
function showMail(host,user) {
	var acct = user +'@'+ host;
	document.write(acct);
}

//function SetElementText(element,val)
//{
//    document.getElementById(element).innerHTML = CalendarDetail[val];
//}
