function ValidateSubBlockEMail() {
    var index1 = document.SubscrForm.email.value.indexOf("@");
    var index2 = document.SubscrForm.email.value.lastIndexOf("@");
    if ((index1 <=0) || (index1 != index2) || (document.SubscrForm.email.value.length - index1) < 3) {
      alert("Wrong e-mail address. Please check and press Subscribe again");
      document.SubscrForm.email.focus();
  	  return false;
    };
    return true;
};

function ValidateUnSubEMail() {
    var index1 = document.UnSubscrForm.email.value.indexOf("@");
    var index2 = document.UnSubscrForm.email.value.lastIndexOf("@");
    if ((index1 <=0) || (index1 != index2) || (document.UnSubscrForm.email.value.length - index1) < 3) {
      alert("Wrong e-mail address. Please check and press Unsubscribe again");
      document.UnSubscrForm.email.focus();
  	  return false;
    }
    return true;
};
 
function ValidateFeedbackForm() {
  if (document.fbform.comments.value == "") {
       alert("Please type some remarks");
       document.fbform.comments.focus();
       return false;
  }
  return true;
}; 

