function checkEmail(myForm) 
	{
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(retention.email.value)) 
		{
		return (true)
		}
	alert("Invalid e-mail address! Please re-enter.")
	return (false)
	}
	
	
function protectAddress( name, account, domain )	{
	var tag1 = "mai"
	var tag2 = "lto:" 
	document.write("<a h" + "ref=" + tag1 + tag2 + account + "@" + domain + ">"+name +"</a>");
	}
	
function checkdaradio1()
	{  
		with(document)
		if (registration.conf_select != null)
		{
		var k=0;
		if (registration.conf_select[0].checked == true)
			{
			for(var k=0;k<2;k++)
				{
				registration['oneforum_table'][k].checked = false;
				registration['oneforum_table'][k].disabled = true;
				registration['bothforums_table'][k].disabled = false;
				}
			}
		else if (registration.conf_select[1].checked == true)
			{
			for(var k=0;k<2;k++)
				{
				registration['bothforums_table'][k].checked = false;
				registration['bothforums_table'][k].disabled = true;
				registration['oneforum_table'][k].disabled = false;				
				}
			}
		else if (registration.conf_select[2].checked == true)
			{
			for(var k=0;k<2;k++)
				{			
				registration['oneforum_table'][k].checked = false;
				registration['bothforums_table'][k].checked = false;
				registration['oneforum_table'][k].disabled = true;
				registration['bothforums_table'][k].disabled = true;
				}
			}			
		}
	}
	
function checkInvoice()
	{
	with(document)	
	if (registration.conf_payment.value == 'Purchase Order')
		{
		registration.conf_invoice.disabled = false;		
		registration.conf_invoice.checked = true;
		}
	else if (registration.conf_payment.value != 'Purchase Order')
		{
		registration.conf_invoice.checked = false;
		registration.conf_invoice.disabled = true;
		}
	}
