﻿/**
 * Print email link (protection from spambots)
 * If javascript is disabled, nothing is visible
 *
 * @param string p1 Part 1 - this is username
 * @param string p2 Part 2 - this is domain and TLD
 * @param string name (optional) Display value
 */
function writemail(p1, p2, name)
{
	if (typeof(name) == 'undefined')
	{
			name = p1+'@'+p2;
	}
	document.write('<a href="mailto:'+p1+'@'+p2+'">'+name+'</a>');
}
