<!-- Begin validation script
function validate_form()
{
if (document.menuform.realname.value==document.menuform.realname.defaultValue ||
document.menuform.realname.value.indexOf(' ',0)==0)
{
alert('\nPlease enter your name');
document.menuform.realname.select();
document.menuform.realname.focus();
return false;
}
if (document.menuform.email.value==document.menuform.email.defaultValue)
{
alert('\nPlease enter your e-mail address');
document.menuform.email.select();
document.menuform.email.focus();
return false;
}
if (document.menuform.email.value.indexOf('@',0)==-1 ||
document.menuform.email.value.indexOf('.',0)==-1)
{
alert('\nSorry, this is an invalid e-mail address');
document.menuform.email.select();
document.menuform.email.focus();
return false;
}
if (document.menuform.Question.value==document.menuform.Question.defaultValue)
{
alert('\nPlease enter your question');
document.menuform.Question.select();
document.menuform.Question.focus();
return false;
}
if (document.menuform.Question.value.indexOf(' ',0)==-1)
{
alert('\nSorry, this is not a question');
document.menuform.Question.select();
document.menuform.Question.focus();
return false;
}
else
{
if(confirm("      Before submitting the form\n\please confirm your e-mail address\n\n               " + document.menuform.email.value  +"\n\n"))
{
return(true);
}
else
{
return false;
}}}
// -->
