// JavaScript Document
<!--



function validate(t)
{
var name = t.name.value;
var email = t.email.value;

if(name.length == 0)
{
alert("First name must be filled");
t.name.focus();		
return false;
}

if(email.length == 0){
	alert("Please enter an E-mail Address.");
	t.email.focus();
	return (false);
	}
if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email)){
	alert("Invalid E-mail Address! Please re-enter.");
	t.email.focus();
	return (false);
	}

	

var chks = document.getElementsByName('checkbox[]');
var hasChecked = false;
for (var i = 0; i < chks.length; i++)
	{
	if (chks[i].checked)
		{
		hasChecked = true;
		break;
		}
	}
if (!hasChecked)
	{
	alert("Please select at least one.");
	chks[0].focus();
	return false;
	}


if(t.message.value == "")
{
alert("Please enter your message");
t.message.focus();		
return false;
}


}

-->