// JavaScript Document - commentform form validation

function check()
{
var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
var num = /^[0-9]+$/;


if (document.commentform.fullname.value=="")
{
alert('Please enter your full name');
document.commentform.fullname.focus();
return false;
}
if(document.commentform.emailaddress.value.match(emailExp) == null)
{
alert('Please enter a valid email address');
document.commentform.emailaddress.focus();
return false;
}


return true;
}


