function longMonthArray() {
	this[0] = "January";	this[1] = "February";	this[2] = "March";
	this[3] = "April";	this[4] = "May";	this[5] = "June";
	this[6] = "July";	this[7] = "August";	this[8] = "September";
	this[9] = "October";	this[10] = "November";	this[11] = "December";
        return (this);
}

function shortMonthArray() {
	this[0] = "Jan";	this[1] = "Feb";	this[2] = "Mar";
	this[3] = "Apr";	this[4] = "May";	this[5] = "Jun";
	this[6] = "Jul";	this[7] = "Aug";	this[8] = "Sep";
	this[9] = "Oct";	this[10] = "Nov";	this[11] = "Dec";
        return (this);
}

function longDayArray() {
	this[0] = "Sunday";	this[1] = "Monday";	this[2] = "Tuesday";
	this[3] = "Wednesday";	this[4] = "Thursday";	this[5] = "Friday";
	this[6] = "Saturday";
        return (this);
}

function shortDayArray() {
	this[0] = "Sun"; this[1] = "Mon"; this[2] = "Tue"; this[3] = "Wed";
	this[4] = "Thu"; this[5] = "Fri"; this[6] = "Sat";
        return (this);
}

function getShortYear(year)
{
shortyear =  year%100;
     if (shortyear < 10) shortyear = "0"+shortyear;
	return shortyear
}

function getLongYear(year)
{
  if (year > 1900) return year
  return year+1900;
}

function writeDateLong(format) {
  shortDays = new shortDayArray();
   longDays = new longDayArray();
   shortMonths = new shortMonthArray();
   longMonths = new longMonthArray();
   d = new Date();
   day = d.getDate();
   month = d.getMonth();
   year = d.getYear();
   if (format == 0)
     str = shortDays[d.getDay()] + " " + shortMonths[month] +". " + day + ", "+getLongYear(year);
  else if (format == 1)
     str = shortDays[d.getDay()] + " " + longMonths[month] + " " + day + ", "+getLongYear(year);
  else if (format == 2)
   str = longDays[d.getDay()] + " " + longMonths[month] + " " + day + ", "+getLongYear(year);
 else if (format == 3)
  str = longMonths[month] + " " + day + ", "+getLongYear(year);
  else if (format == 4)
   str = shortDays[d.getDay()] + " " + day + " " + shortMonths[month] +". " +getLongYear(year);
  else if (format == 5)
   str = shortDays[d.getDay()] + " " + day + " " + longMonths[month] + " " +getLongYear(year);
  else if (format == 6)
  str = longDays[d.getDay()] + " " + day + " " + longMonths[month] + " " + getLongYear(year);
 else if (format == 7)
str = day + " " + longMonths[month] + ", "+getLongYear(year);
else {
month++;
shortyear = getShortYear(year);
     if (format == 8)
       str = month + "/" + day + "/" + shortyear;
     else if (format == 9)
       str = month + "/" + day + "/" + getLongYear(year);
     else if (format == 10)
       str = day + "/" + month + "/" + shortyear;
     else if (format == 11)
       str = day + "/" + month + "/" + getLongYear(year);
     else if (format == 12)
       str = shortyear + "/" + month + "/" + day;
     else if (format == 13)
       str = shortyear + "/" + month + "/" + day;
     else {
        if (day < 10) day = "0"+day
        if (month < 10) month = "0"+month
        if (format == 14)
          str = month + "/" + day + "/" + shortyear;
        else if (format == 15)
          str = month + "/" + day + "/" + getLongYear(year);
        else if (format == 16)
          str = day + "/" + month + "/" + shortyear;
        else if (format == 17)
          str = day + "/" + month + "/" + getLongYear(year);
        else if (format == 18)
          str = shortyear + "/" + month + "/" + day;
        else if (format == 19)
         str = shortyear + "/" + month + "/" + day;
        }
     }
 document.writeln(str.bold().fontsize(4).fontcolor('#330099'));
}

function writeDate()
{
   writeDateLong(0);
}

function writeTimeLong(format)
{
   d = new Date();
   hour=d.getHours();
   min=d.getMinutes();
   sec=d.getSeconds();
   if (hour < 10) hour = "0"+hour;
   if (min < 10) min = "0"+min;
   if (sec < 10) sec = "0"+sec;
   
   if (format == 0)
  str = hour+":"+min+":"+sec;
  else if (format == 1)
  str = hour+":"+min;
   
 document.writeln(str);
}

function writeTime()
{
   writeTimeLong(0);
}

  


function message (ricky){
window.self.status=ricky;
return true;
}
var home="Official NAAS\.NEWS\.INFO"
var agreez="NAAS Financial-aid Report"
var blog="Official NAAS Blog"
var passw="Password Retrieval"
var comments="Ask A Question"
var visitx="Visit NAAS NEWS YouTube"
var disclose="NAAS NEWS Central Page"
var call=message(disclose);
var nssp="NAAS Single Subscription Policy"
var apps="NAAS Electronic Applications"
var screens="NAAS National Screening standards"
var hos="Hall of Scholars"
var help="NAAS HELP"
var essays="NAAS Essays"
var awards="NAAS Awards"
var uses_="NAAS Award uses"
var aff="NAAS Statement of Affiliaton"
var faqs="NAAS FAQ Sections"
var hotxx="NAAS Hotlinks"
var consumer="Read about valuable Consumer News!"
var permission="E-mail or write to Publisher for re-prints."
var hotlinks="See NAAS Hotlinks table!"
var link="Link Exchange"
var legal="All NAAS EAS/N2 Rules apply"
var feeds="NAAS Feedback"
var senior="Awards for high school seniors"
var swnl="For NAAS Subscribers only!"
var hello="Central NAAS home page."
var survey="Please take the N.A.A.S. Survey."
var bio="NAAS biological profile" 
var news="For NAAS Subscribers only"
var finaid="Program summary"
var college="Awards for College students"
var gec="NAAS EAS/N2 GEC Form 001"
var sec="NAAS EAS/N2 GEC Form 002"
var gec_001="NAAS EAS/N2 GEC Form 001z"
var gec_002="NAAS EAS/N2 GEC Form 002z"
var sign_up="Become an NAAS Subscriber today!"
var george="See Important NAAS NEWS"
var nara="Award Recipients Area"
var video="NAAS Video service"
var past="Hall of Scholars"
var pubs="Book Publishers \& Search-Service providers"
var xyz="NAAS Award uses"
var aaa="Award Recipient Area"
var apps="Access NAAS Applications"
var xvart="NAAS Art \& Video Awards"
var utube="NAAS Visual Arts Contest"
var use_t="General Terms of Use"
var essay="NAAS Great Essays"
var signme="NAAS User ID \& Subscription"
var rents="Rental Housing for all"
var usps="Crimes by Postal Carriers"
var client_0="Subscriber login area"
var criminals="Bouncy check writers"
var rate_it="Read this before you buy"
var rules="Summary of NAAS EAS/N2 Rules"
var nacac="Student loan scams by...."
var _forms="NAAS Electronic forms"
var uspto="Copying Prohibited by Law - NAAS is a registered trademark";
var uspto1="Copying Prohibited by Law - HACKER SAFE is a Trademark of ScanAlert";
var utube="View NAAS YouTube Channel"
var xvart="NAAS Art \& Video Awards"
var thieves="NAAS Imposters"
var fash="NAAS Collegiate apparel"
var far_xx="2009 NAAS Financial Aid Report"
var far_yy="2009 NAAS Information Packet"
var biox="NAAS Biography"
var x_media="NAAS American Zone Media Reports"
var ratex="Ratings of Financial-aid Books"
var ask_xx="Submit a Question"
var crooksx="Copy-cats and Imposters"
var cardxx="Official NAAS Access Card"
var spam="Official NAAS SPAM Report"
var phonyx="NAAS Listing of Criminal websites"
var behave="Behave or Be Banned"
var board="NAAS Complaint Board"
var nash="Official NAAS Accreditation Standards"
var nash_scam="An unlicensed\/unauthorized logo"
var amjacs="Joan McCoy Messer(fraud)"
var djordan="Don Jordan (fraud)"
var davestd="David Steadman (fraud)"
var meager="Phil Meager (fraud)"
var paulx="Leonard Paul (fraud)"
var zany="Paul Zane Pilzer(fraud)"

function utubby_() {
gec_xx =":::NAAS YouTube Videos:::\>\n"
gec_xx+="Visit NAAS YouTube Channel.\n"
gec_xx+="Subscribe to NAAS-NEWS Channel\n"
gec_xx+="*******************************\n"
gec_xx+="A free service to everyone.\n"
alert (gec_xx);
return true;
}

function thieves_() {
gec_xx =":::Beware of NAAS Imposters:::\>\n"
gec_xx+="Imitation may be flattery, but\n"
gec_xx+="theft or mis-use of intellectual\n"
gec_xx+="property is a federal crime.\n"
gec_xx+="******************************\n"
gec_xx+="Who is the latest copy-cat\?\n"
gec_xx+="******************************\n"
gec_xx+="***Boycott these companies***....\>\n"
alert (gec_xx);
return true;
}
function nashx_() {
gec_xx ="::Official NAAS Accreditation Standards::\>\n"
gec_xx+="Alaska, Nevada,Montana,Washington\n"
gec_xx+="Oregon, Idaho, Utah states\n"
gec_xx+="have adopted standards from an\n"
gec_xx+="unlicensed agency.\n"
gec_xx+="******************************\n"
gec_xx+="*Is your award/application affected?**\>\n"
alert (gec_xx);
return true;
}

function idaho_() {
gec_xx ="::Video Protest: Northwest Association of Accredited Schools::\>\n"
gec_xx+="The Idaho Dept. of Education provides fuel for\n"
gec_xx+="\'NAAS\' Accreditation scams. They are corrupt.\n"
gec_xx+="Watch this video and embed into your webpage.\n"
gec_xx+="*******************************************\n"
alert (gec_xx);
return true;
}

function northxx_() {
gec_xx ="::Northwest Association of Accredited Schools::\>\n"
gec_xx+="is not licensed by National Academy of American Scholars.\n"
gec_xx+="Watch this video and embed into your webpage.\n"
gec_xx+="*******************************************\n"
alert (gec_xx);
return true;
}

function gec_002_() {
gec_xx =":::USE OF NAAS EAS\/N2 Form GEC 002:::\>\n"
gec_xx+="Form GEC 002 is required for all special\n"
gec_xx+="contact or urgent communications with NAAS.\n"
alert (gec_xx);
return true;
}

function gec_001_() {
gec_xx =":::USE OF NAAS EAS\/N2 Form GEC 001:::\>\n"
gec_xx+="Form GEC 001 is required for all general\n"
gec_xx+="contact or communications to NAAS.\n"
alert (gec_xx);
return true;
}

function cells_() {
gec_xx =":::Beware of Cell-tower scams in Nevada:::\>\n"
gec_xx+="Nevada landowners report activity by\n"
gec_xx+="suspicious out-of-state firms.\n"
gec_xx+="******************************\n"
gec_xx+="Warning signs for land-owners.\n"
gec_xx+="******************************\n"
gec_xx+="***Beware of these companies***....\>\n"
alert (gec_xx);
return true;
}

function criminals_() {
gec_xx =":::Beware of Using Criminal Websites:::\>\n"
gec_xx+="They do not respect U.S. laws\n"
gec_xx+="Read this report.\n"
gec_xx+="******************************\n"
gec_xx+="Behave or Be Banned.\n"
gec_xx+="******************************\n"
gec_xx+="***Beware of these companies***....\>\n"
alert (gec_xx);
return true;
}

function college_conf_() {
gec_xx =":::Beware of CollegeConfidential.com::\>\n"
gec_xx+="Company is linked to N.Y. UnderBoss\n"
gec_xx+="Pennsylvania is the same state linked to\n"
gec_xx+="Carnegie Mellon University and\n"
gec_xx+="federal informant Josh Centor.\n"
gec_xx+="Phony address details:\n"
gec_xx+="907 Rosehill Drive.\n"
gec_xx+="Altoona, PA 16602\n"
gec_xx+="Phone: 219-532-8755\n"
gec_xx+="domains@collegeconfidential.com.\n"
gec_xx+="******************************\n"
gec_xx+="******************************\n"
gec_xx+="**Know a Scam. Avoid a scam**\>\n"
alert (gec_xx);
return true;
}

function bk_check() {
lead="***Official NAAS Book Rating service***\n"
lead+="We buy the books. We review. We share\n"
lead+="our opinions with you. This service is only\n"
lead+="available to NAAS Subscribers.\n"
lead+="****************************\n"
lead+="Are you wasting money on incomplete\n"
lead+="or misleading financial aid books\?\n"
lead+="*********************************\n"
lead+="Do you know that many financial-aid\n"
lead+="book authors have no experience in\n"
lead+="sponsoring any merit-based programs\?\n"
lead+="********************************\n"
lead+="Do you know that many financial-aid\n"
lead+="book authors are associated with the SAT\n"
lead+="cottage industry, and paper-mills\?\n"
lead+="****************************\n"
lead+="Read the NAAS Rating of Financial-aid books\n"
lead+="before you waste another dollar.\n"
alert (lead)
return true;
}

function links_() {
gec_xx =":::Exchange or Trade links with NAAS:::\>\n"
gec_xx+="Receive Free listing in national NAAS\n"
gec_xx+="newsletter and Scholarship Watch periodicals.\n"
gec_xx+="Receive Free listing in NAAS website.\n"
gec_xx+="==============================\n"
gec_xx+="Purchase an NAAS Button\n"
gec_xx+="Watch your exposure grow!!\n"
alert (gec_xx);
return true;
}

var back ="Back to previous page"
var log="Log out button"
function log_out(){
lead ="\<:::Log-out Message:::\>:\n"
lead+=" You are now logging out of\n"
lead+=" the NAAS-NEWS website.\n"
lead+="**********************************\n"
lead+="Thank you.\n"
lead+="Sincerely yours, \nFrom TEAM NAAS\n"
alert (lead)
return true;
}

function price_() {
gec_xx =":::NAAS Subscription Price increase:::\>\n"
gec_xx+="Final beta testing of new NAAS site is\n"
gec_xx+="95% complete. Effective April 30th, 2008\n"
gec_xx+="The new full-year subscription price\n"
gec_xx+="for a full year of NAAS products and\n"
gec_xx+="services will be $25.00.\n"
gec_xx+="*******************************\n"
gec_xx+="Sincerely,\nTeam NAAS\n"
alert (gec_xx);
return true;
}

function back_(){
lead ="\<:::Returning to previous page:::\>:\n"
lead+="**********************************\n"
lead+="Thank you.\n"
lead+="Sincerely yours, \nFrom TEAM NAAS\n"
alert (lead)
return true;
}

function ready_0() {
lead ="***Availablity Times***\n";
lead+="Sept. 15th to Feb. 15th\n";
lead+="************************\n";
lead+="Thank you.\n"
lead+="Sincerely yours, \nFrom TEAM NAAS\n"
alert (lead)
return true;
}

function video_() {
gec_xx =":::NAAS NEWS Message:::\>\n"
gec_xx+="A new service exclusively for\n"
gec_xx+="NAAS Subscribers.\n"
gec_xx+="####################\n"
alert (gec_xx);
return true;
}

function roll_me(naas) {
 var rcefund = 100
 var reel_prt = " ";
 var mouth=reel_prt
 var reel_bits = 1;
var reel="NAAS applications now available only to NAAS subscribers. "
+" Beta version of NAAS Application posted online. Available to subscribers."
+" Enter NAAS Video, Visual Arts, contest. Visit NAAS YouTube channel."
+" Price increase effective April 30th, 2008.  Fee increases to $25.00."
+" National Academy of American Scholars has sponsored merit-based awards "
+" for over 15 years. We have the experience, knowledge, and integrity."
+" New NAAS Video service for NAAS Subscribers. Free for subscribers."
+" More and more services for NAAS Subscribers.  Enter an NAAS contest."
+" Every eligible student in America should apply for an NAAS award."
+" NAAS awards may be used in U.S.A. or abroad. Use an NAAS award at"
+" any college or university, or trade-school. No financial-need required."
+" NAAS awards are the purest of the pure. Parental income too high\?"
+" Don\'t qualify for financial-aid\? Maxed out on loans\? Apply to NAAS."
+" Every eligible student in America should apply for an NAAS award."
+" Before you buy any financial-aid book, read NAAS Rankings of Financial-aid"
+" Books. We review books at no cost, and publish our opinion. "
+" Service is available only to NAAS Subscribers. "
+" NAAS Kids program. A new service for parental NAAS Subscribers. "
+" Need help in sending your child to a private school\?"
+" Are you using debt or student loans to finance your education\? "
+" NAAS Awards do not have to be re-paid back. Congratulations to"
+" NAAS Award nominees for the 17th term. Excellent job!"
+" Review NAAS Award Recipient page. Details for sending transcripts."
+" Still addicted to the U.S. Postage stamp? Calculate your savings "
+" by terminating all paper-based products related to postage stamps."
+" Students and parents continue subscriptions to NAAS NEWS service. "
+" NAAS terminates unnecessary and costly U.S. Postal Service. "
+" Teacher volunteers. Is your child in danger\? No back-ground check"
+" required to become a teacher volunteer in many school districts."
+" No uniform standards in place. Read shocking NAAS Report on Teacher"
+" Volunteers, and NAAS Guidelines on Teacher Volunteers. "
+" Information for parents, students, teachers, and administrators."
+" Review pending Federal legislation that may affect financial aid.";
 if (naas>rcefund) {
  naas--;
  var prince="roll_me(" + naas + ")";
  tag=window.setTimeout(prince,rcefund);
 }
 else if (naas<=rcefund && naas>0) {
  for (reel_bits=0;reel_bits<naas;reel_bits++) {
   reel_prt+=" ";
   if (reel_bits<naas*.5){
   mouth+=" ";
   }
   
  }
  reel_prt+=reel;
  mouth+=reel
  naas--;
  var prince="roll_me("+naas+")";
  //witness this:  self.status="var:("+naas+")"+string;
  //window.status="Test1:("+naas+")"+reel_prt;
  document.table.header.value=mouth
  tag=window.setTimeout(prince,100);
 }
 else if (naas<=0) {
  if (-naas<reel.length) {
   reel_prt+=reel.substring(-naas,reel.length);
   mouth+=reel.substring(-naas,reel.length);
   naas--;
   var prince="roll_me(" + naas + ")";
   //window.status="Test2:("+naas+")"+reel_prt;  
    document.table.header.value=mouth
     tag=window.setTimeout(prince,rcefund+50);

  }
  else {
   window.status=" ";
   tag=window.setTimeout("roll_me(100)",50);
  }
 }
}
function play_it() {
 tag=window.setTimeout("roll_me(100)",500);
}
//runs with index.php, main and memb
