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);
}

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);
}

var kennedy="NAAS High-School Award Summary"
function john (kennedy){
window.self.status=kennedy;
return true;
}
var call=john (kennedy);


var consumer="Read about valuable Consumer News!"
var permission="E-mail or write to Publisher for re-prints."
var use="Using an NAAS Award"
var legal="All NAAS EAS/N2 Rules apply"
var legal0="Legal Disclaimer, Terms, and Agreement"
var legalx="Legal Disclaimer, Terms, and Agreement"
var feeds="What  students, educators, and past scholarship recipients."
var senior="Awards for high school seniors"
var swnl="Subscribe to Scholarship Watch!"
var hello="Central NAAS home page."
var homey="NAAS Central Home page"
var news="Order subscription to  Scholarship Watch"
var college="Awards for College students"
var highschool="For high school seniors"
var gec_001="NAAS EAS/\N2 GEC 001"
var gec_002="NAAS EAS/\N2 GEC 002"
var site="Purchase NAAS SITE License"
var george="See Important NAAS NEWS"
var access="Access New NAAS pages"
var access1="Access eNAAS EAS/\N2 Form 00"
var access2="Access NAAS Online Applications"
var multi-="Purchase NAAS Multi-Media Packet online"
var apply="Apply online for NAAS Awards"
var download="Download NAAS Multi-Media Packet"


var form00="NAAS EAS/N2 Form 0025"

function gec_002_() {
gec_xx =":::USE OF NAAS EAS\/N2 Form GEC 002:::\>\n"
gec_xx+="Form GEC 002 is required for all contacts\n"
gec_xx+="or communications with NAAS Webmaster.\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 general contact\n"
gec_xx+="or communications to NAAS-USA.\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 Mark Kantrowitz.\n"
gec_xx+="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 pmb() {
lead ="NAAS Awards are demanding::>\n";
lead+="NAAS Awards are prestigious::>\n";
lead+="NAAS Awards require character::>\n";
lead+="NAAS Awards require integrity::>\n";
lead+="NAAS Awards require effort::>\n";
lead+="NAAS Awards require motivation::>\n";
lead+="NAAS Awards require real intelligence::>\n";
lead+="NAAS Awards represent pure competition::>\n";
alert (lead);
return true;
}

function uses_() {
lead ="**********************************\n";
lead+="Know how you can benefit from an\n";
lead+="NAAS Award.\n"
lead+="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
lead+="Know how your school or institution\n"
lead+="can benefit from an NAAS Award.\n"
lead+="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
lead+="Know how your organization can\n"
lead+="benefit from an NAAS Award.\n"
lead+="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
lead+="Know how to make your financial aid\n"
lead+="book, CD, DVD, or newsletter complete with an\n"
lead+="NAAS Award listing.\n"
alert (lead);
return true;
}

function new_page(){
lead ="**********************************\n";
lead+="NAAS no longer requires or solicits\n"
lead+="candidates or consumers to use the\n"
lead+="costly and inefficient U.S. mail system.\n"
lead+="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
lead+="NAAS Surveys verify that most consumers\n"
lead+="and parents prefer electronic payment,\n"
lead+="systems, and online products and services.\n"
lead+="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
lead+="With the age of e-commerce, no one\n"
lead+="is REQUIRED to use costly paper-based products\n"
lead+="and be forever addicted to the U.S. postage stamp.\n"
lead+="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"
lead+="Join us\!\n"
alert (lead);
return true;
}

function thanks() {
lead ="Thank you for your interest in NAAS awards.\n" 
lead+="=================================\n"
lead+="To receive official application forms,\n"
lead+="please follow the printed instructions.\n"
lead+="*************************************\n"
lead+="Thank you for your anticipated cooperation\n";
alert (lead);
return true;
}

function buy_me() {
lead ="Thank you for your interest in NAAS awards.\n" 
lead+="=================================\n"
lead+="Please proceed to order NAAS Multi-Media Packet\n"
lead+="online by completing eNAAS EAS\/N2 Form 0070.\n"
lead+="*************************************\n"
lead+="Thank you for your anticipated cooperation\n";
alert (lead);
return true;
}

var back ="Back to previous page"
var log="Log out button"
var logx="Log out button"
function log_out(){
lead ="\<:::Log-out Message:::\>:\n"
lead+=" You are now logging out of the\n"
lead+=" of NAAS HTML Application System.\n"
lead+="**********************************\n"
lead+="Thank you.\n"
lead+="Sincerely yours, \nFrom TEAM NAAS\n"
alert (lead)
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;
}
//runs with senior.php