function checkForm() {

// Name field
 
  if (document.fbform.r_Name.value == "") {                      
      alert('Please enter your name.'); return false; }      

// E-Mail field

  mail = document.fbform.r_Email.value;                            
  if ((mail.indexOf('@') == -1) || (mail.indexOf('.') == -1)) {
      alert('Please enter a valid E-mail Address.'); return false; }
	  

//test email for illegal characters - beta script
   mail = document.fbform.r_Email.value;
   var illegalChars= /[\(\)\<\>\,\;\:\\\"\[\]]/
   if (mail.match(illegalChars)) {
     alert('The E-mail Address contains illegal characters.'); return false; }
	  
	  
// Comments Field

  if (document.fbform.r_Comments.value == "") {                       
      alert('Please enter comments or questions before submitting again.'); return false; }

  return true;
 }

