function showAddress(ext,domain,name,_class,addtxt)
{
	var add = name + '@' + domain + '.' + ext;
	if (addtxt == "")
		addtxt = add;
	document.write('<a href="mail' + 'to:' + add + '" class="' + _class + '">' + addtxt + '</a>');
}

function newWin(url)
{
	var win = window.open(url,'info','width=600,height=400,toolbar=no,scrollbars=yes,resizable=yes,menubar=yes,location=no');
	if (!win)
	{
		alert('A popup blocker was detected, please hold down ctrl key and click the link again');
	}
}

function validateContact(form1)
{
	var valid = true;

	if (form1.fullname.value == "")
	{
		alert('Please enter your name');
		form1.fullname.focus();
		valid = false;
	}

	if (form1.email.value == "" && valid)
	{
		alert('Please enter a valid email address');
		form1.email.focus();
		valid = false;
	}

	if (form1.mesg.value == "" && valid)
	{
		alert('Please enter your message');
		form1.mesg.focus();
		valid = false;
	}

	if (valid)
	{
		form1.submit();
	}
}