function message (ricky){
window.self.status=ricky;
return true;
}
window.self.defaultStatus="**NAAS Electronic Services**";
var hello="Explore NAAS opportunities."
var mail="**Send questions, comments, and suggestions to N.A.A.S.**"
var supply="*E-mail us if  your Survey was not accepted*"
var mylog="NAAS Logout Button"
var naas_utube="NAAS YouTube News"
var screen="Important NAAS Message"
var con="Continue"
var eso="Erase and Start over"
var multi="View Video for NAAS Multi-Media Packet"
var accrx="(Preview)NAAS Accreditation Standards Report"
var accry="(Download)NAAS Accreditation Standards Report"
var uspto="Play USPTO Protest Video"

function agree(){
lead ="\<:::Agreement to Consent::::\>:\n"
lead+="Completion of this form constitutes consent\n"
lead+="to all NAAS EAS\/N2 Rules.\n"
lead+="****************************\n"
lead+="User subscriptions will automatically renew\n"
lead+="at the rates indicated hereon unless user cancels\n"
lead+="subscription within 30 calendar days prior to the end\n"
lead+="of the subscription period.\n"
lead+="Thank you.\n"
lead+="Sincerely yours,\n"
lead+="e_TEAM NAAS.\n"
alert (lead)
return true;
}

function playx(){
lead ="\<:::How to obtain an NAAS Multi-Media Packet:::\>:\n"
lead+="****Watch NAAS Instructional Video or complete form****\n"
lead+="Thank you.\n"
lead+="Sincerely yours,\n"
lead+="e_TEAM NAAS.\n"
alert (lead)
return true;
}

//above is fine

function java(){
lead ="\<:::JAVA-SCRIPT REQUIRED:::\>:\n"
lead+="Use of this form requires JAVA and\n"
lead+="JAVA-SCRIPT to be enabled.\n"
alert (lead)
return true;
}



function rules(){
lead ="\<::NAAS message::\>:\n"
lead+="Thank you for your interest\n"
lead+="in NAAS products and services.\n"
alert (lead)
return true;
}


function _mailForm(form){
msg="Do not insert any unacceptable characters\n"
msg+="on this from.\n"
alert (msg);
return false; 
}
function e_mail (form) {
var e_mailArray = new Array("!","#","$","%","^","&","(","),", "+","=","<",">","?", "|", ":", ";"," ");
var ebox= form.Email.value;
for (var list=0; list<=e_mailArray.length; list++) {
if (ebox.lastIndexOf(e_mailArray[list])!=-1){
             alert("The character: " +"'"+e_mailArray[list]+"'"+"  is not  a valid character.\n"+
              "Please enter your e-mail address again\n");
return true;
}
          else if ((ebox.lastIndexOf('@')==-1)&&(ebox!=location.host)){
           alert("The e-mail address you entered is not valid.\n" +"Please enter your e-mail address again.");
return true;
}
          else if (ebox==" "){
            alert("The e-mail address you entered is blank\n"+
"Please enter your e-mail address again."); return true;
}
         else if (e_mailArray[list]==null){
alert("The email array is empty at List=\n"+list);
return true;
}
}//close for loop
}//close function loop

//
function naas_check (form){
flagzz1=form.agree[0].checked;
flagzz2=form.agree[1].checked;
if (form.agree[0].checked == true) {
msg=" Thank you for your acceptance of all\n"
msg+="NAAS terms and conditions, and your\n"
msg+="decision to abide by the same.\n"
alert (msg);
//location="http://www.naas.org/";
return false;
}
else if (form.agree[1].checked == true) {
msg="Sorry\! You did not accept the terms of all\n"
msg+="NAAS rules. You cannot proceed.\n"
msg+="***************************************\n"
alert (msg);
location="http://www.naas.org/";
return false;
}
else {
msg="Sorry. Please be sure you have checked \'Accept\'\n"
msg+="or \'Decline\'.\n"
alert (msg);
return true;
}
}
//
//above is fine
//#################

function _closed(){
lead ="\<:::Closed to new subscriptions.\>:\n"
lead+="Until further notice, we are no longer\n"
lead+="accepting new subscription requests.\n"
lead+="Thank you.\n"
lead+="Sincerely yours, From TEAM eNAAS\n"
alert (lead)
return true;
}

function _beta_closed(){
lead ="\<:::Expired::Expired\>:\n"
lead+="We are no longer accepting submissions for\n"
lead+=" these awards.\n"
lead+=" **Deadline Submission Date was Feb. 15th\n"
lead+="Thank you.\n"
lead+="Sincerely yours, From TEAM eNAAS\n"
alert (lead)
return true;
}

function _hotty(){
lead ="\<:::NAAS Hot Girls Contest::\>:\n"
lead+="Male and females contestants.\n"
lead+="Review NAAS\/EAS N2 Rules\n\n"
lead+="Thank you.\n"
lead+="Sincerely yours, From TEAM eNAAS\n"
alert (lead)
return true;
}

function tellme(){
lead ="\<:::NAAS Add-A-Link::\>:\n"
lead+="\<:::NAAS Tell-A-Friend::\>:\n"
lead+="Get the code to add NAAS.ORG\n"
lead+="to your website.\n\n"
lead+="Thank you.\n"
lead+="Sincerely yours, From TEAM eNAAS\n"
alert (lead)
return true;
}


function logout(){
lead ="\<***LOG-OUT NOTICE***\>:\n"
lead+="You are now logging out of a secure area.\n"
lead+="*************************\n"
lead+="Thank you for your interests in NAAS.ORG.\n"
lead+="Sincerely yours, From TEAM eNAAS\n"
alert (lead);
return true;
}

//above is fine
function _agree(){
lead ="\<:::Submission Agreement Statement\>:\n"
lead+="Statement of agreement to all NAAS rules:\n"
lead+="By submitting any electronic submission\n"
lead+="to NAAS or any affiliate related to the same,\n"
lead+="the sender of such submission acknowledges\n"
lead+="that he\/she has voluntarily accessed the\n"
lead+="NAAS website,has read all rules,\n"
lead+=" provisions, and terms noted and discussed therein,\n"
lead+=" and that he\/she fully understands such rules,\n"
lead+=" and unconditionally agrees to abide by the same,\n"
lead+=" as well as any amendments and/\or supplements\n"
lead+=" that may be added anytime thereafter.\n"
lead+="Thank you.\n"
lead+="Sincerely yours, From TEAM eNAAS\n"
alert (lead)
return true;
}
//
function securex(){
lead ="\<::Secure Area::\>:\n"
lead+="This page is secured by GeoTrust\n"
lead+="and NAAS Security Services.\n"
lead+="****************************\n"
lead+="Completion of this form constitutes consent\n"
lead+="to all NAAS EAS\/N2 Rules.\n"
lead+="****************************\n"
lead+="Sincerely yours,\n"
lead+="e_TEAM NAAS.\n"
alert (lead)
return true;
}
