function validateRegistration()
{
	trimFields();
	if(obj.first_name.value == "")
	{
		alert("Please enter your First Name.");
		obj.first_name.focus();
		return;
	}
	if(obj.last_name.value == "")
	{
		alert("Please enter your Last Name.");
		obj.last_name.focus();
		return;
	}
	if(obj.email.value == "")
	{
		alert("Please enter your Email Address.");
		obj.email.focus();
		return;
	}
	if(!chkEmail(obj.email.value))
	{
		alert("The Email Address appears to be invalid!\nPlease review and correct it.");
		obj.email.focus();
		obj.email.select();
		return;
	}
	if(obj.state.selectedIndex == 0)
	{
		alert("Please select a State.");
		obj.state.focus();
		return
	}
	if(obj.product_id.selectedIndex == 0)
	{
		alert("Please select a Product Name.");
		obj.product_id.focus();
		return
	}
	if(obj.purchased_date.value == "")
	{
		alert("Please enter your Purchased Date.");
		obj.purchased_date.focus();
		return;
	}
	if(obj.purchase_location.selectedIndex == 0)
	{
		alert("Please select a Purchase Location.");
		obj.purchase_location.focus();
		return
	}
	if(obj.next_product_id.selectedIndex == 0)
	{
		alert("Please select Products from List.");
		obj.next_product_id.focus();
		return
	}
	if(obj.captcha.value == "")
	{
		alert("Please enter the Security Number on the left column.");
		obj.captcha.focus();
		return false;
	}
	//all fine?
	obj.action = "product_registration.html";
	obj.submit();
}