//jump out of frames
if (top.frames.length!=0)
   top.location=self.document.location;

//newsletter validation
function zoovldte(formName){
if(formName.email){
if (formName.email.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1){
alert("Email address is invalid.");
return false; }
} else {
alert("There is no email address field within the form.");
return false;
}
}

//registration validation
function validateForm(form) {

if (form.name.value == "") {
   alert("Please choose a login ID");
   form.name.focus( );
   return false;
   }
if (form.realname.value == "") {
   alert("Please enter your Full name");
   form.realname.focus( );
   return false;
   }
if(form.email){
if (form.email.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1){
alert("Email address is invalid.");
form.email.focus( );
return false; }
}
}