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 ronald="NAAS Social Cards (Subscribers)" function reagan(ronald){ window.self.status=ronald; return true; } function benjamin(franklin){ window.self.status=franklin; return true; } var call=reagan(ronald); var access2="Access NAAS Online Applications" var hotlinks="See our Hotlinks table!" var home="NNAS Central" var survey="Please take the NAAS Survey." var college="For college students." var deny="Beware of copy-cats and imitators!" var senior="For High School seniors" var cardxx-"NAAS Social Cards" 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 cards="Meet more friends now!" var legal="All NAAS EAS/N2 Rules apply" var printxx="Legal Disclaimer, Terms, and Agreement" var feeds="What students, educators, and past scholarship recipients." var swnl="Subscribe to Scholarship Watch!" var hello="NAAS home page." var bio="NAAS biological profile" var survey="Please take NAAS Survey." var deny="Beware of copy-cats and imitators!" var mail="Send your questions, comments, and suggestions." var news="Order subscription to Scholarship Watch" var finaid="Program summary" var apo="For Armed Services Dependents" var college="Awards for College students" var highschool="For high school seniors" var gec_001="Complete GEC Form 001" var gec_002="Complete GEC Form 002" var site="Purchase NAAS SITE License" var george="See Important NAAS NEWS" var _mail="I want forms via the U.S. mail." var hotlinks="NAAS Hotlinks table!" var log="Log out button" var logx="Log out button" var facts="NAAS Media Reports" 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 pmb() { lead ="***Application Period***\n"; lead+="Sept. 1st to Feb. 15th\n"; lead+="************************\n"; lead+="**Link will be active in Sept**>\n"; lead+="************************\n"; lead+="Thank you.\n" lead+="Sincerely yours, \nFrom TEAM NAAS\n" alert (lead) return true; } function meet() { lead ="***Use this NAAS Social card***\n"; lead+="1. Meet new friends.\n"; lead+="2. Get asked out more often.\n"; lead+="3. Explore your adventurous side.\n"; lead+="4. Have more fun, more often.\n"; lead+="5. Improve your networking skills.\n"; lead+="*******etc*********\n"; lead+="Thank you.\n" lead+="Sincerely yours, \nFrom TEAM NAAS\n" alert (lead) return true; } function ready_0() { lead ="***Availablity Time***\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 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 thanks() { lead ="Thank you for your interest in NAAS awards.\n" lead+="=================================\n" lead+="Please click on the link below to access the new page.\n" lead+="*************************************\n" lead+="We appreciate your anticipated cooperation\n"; alert (lead); 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 the\n" lead+=" of NAAS 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 converted PHP pages, and uses.php use CHMOD to execute only.