var urlList = new Array(); //Login //============================== urlList[0] = new Object(); urlList[0].name="firstTimeLogin"; urlList[0].url="firstTimeLogin.html"; //============================== urlList[1] = new Object(); urlList[1].name="forgotPassword"; urlList[1].url="login/forgotPassword.htm"; urlList[1].width="400"; urlList[1].height="260"; urlList[2] = new Object(); urlList[2].name="forgotPasswordResult"; urlList[2].url="forgotPasswordResult.htm"; urlList[2].width="410"; urlList[2].height="230"; urlList[3] = new Object(); urlList[3].name="checkNRICReg"; urlList[3].url="registration/checkNRICReg.htm"; urlList[4] = new Object(); urlList[4].name="checkNRICRegNew"; urlList[4].url="checkNRICRegNew.htm"; urlList[5] = new Object(); urlList[5].name="checkNRICRegPrefilled"; urlList[5].url="checkNRICRegPrefilled.htm"; urlList[6] = new Object(); urlList[6].name="checkNRICRegPrefilled2"; urlList[6].url="checkNRICRegPrefilled2.htm"; urlList[7] = new Object(); urlList[7].name="checkNRICRegPrefilled3"; urlList[7].url="newUserRegistrationPrefilled.html"; urlList[8] = new Object(); urlList[8].name="checkNRICRegNew2"; urlList[8].url="newUserRegistrationNew.html"; urlList[9] = new Object(); urlList[9].name="userRegCompletion"; urlList[9].url="newUserRegistrationCompleted.html"; urlList[10] = new Object(); urlList[10].name="changePassword"; urlList[10].url="login/changePassword.html"; urlList[11] = new Object(); urlList[11].name="personalParticulars"; urlList[11].url="../personal/particulars.html"; urlList[12] = new Object(); urlList[12].name="personalParticularsLogin"; urlList[12].url="personal/particulars.html"; urlList[13] = new Object(); urlList[13].name="particulars"; urlList[13].url="particulars.html"; urlList[14] = new Object(); urlList[14].name="particularsDone"; urlList[14].url="particularsDone.html"; urlList[15] = new Object(); urlList[15].name="family"; urlList[15].url="family.html"; urlList[16] = new Object(); urlList[16].name="familyAdded"; urlList[16].url="familyAdded.html"; urlList[17] = new Object(); urlList[17].name="familyUpdated"; urlList[17].url="familyUpdated.html"; urlList[18] = new Object(); urlList[18].name="familyAddedEditFather"; urlList[18].url="familyAdded_editFather.html"; urlList[19] = new Object(); urlList[19].name="home"; urlList[19].url="../index.html"; urlList[20] = new Object(); urlList[20].name="familyDone"; urlList[20].url="familyDone.html"; urlList[21] = new Object(); urlList[21].name="nationalService"; urlList[21].url="nationalService.html"; //============================================== urlList[22] = new Object(); urlList[22].name="schoolsAttended"; urlList[22].url="../education/schoolsAttended.html"; urlList[23] = new Object(); urlList[23].name="mschoolsAttended"; urlList[23].url="schoolsAttended.html"; //=============================================== urlList[24] = new Object(); urlList[24].name="schoolsAttendedAdd"; urlList[24].url="../education/schoolsAttendedAddSchool.html"; urlList[25] = new Object(); urlList[25].name="jumpParticularsDone"; urlList[25].url="../personal/particularsDone.html"; urlList[26] = new Object(); urlList[26].name="jumpFamilyDone"; urlList[26].url="../personal/familyDone.html"; urlList[27] = new Object(); urlList[27].name="jumpNationalServiceDone"; urlList[27].url="../personal/nationalServiceDone.html"; urlList[28] = new Object(); urlList[28].name="scholarshipChoices"; urlList[28].url="choices/start.html"; urlList[29] = new Object(); urlList[29].name="scholarshipChoices2"; urlList[29].url="../choices/start.html"; urlList[30] = new Object(); urlList[30].name="changePasswordDone"; urlList[30].url="changePasswordDone.html"; urlList[31] = new Object(); urlList[31].name="schoolsAttendedSelect"; urlList[31].url="../education/schoolsAttendedSelect.htm"; urlList[31].width="395"; urlList[31].height="190"; urlList[32] = new Object(); urlList[32].name="jumpParticulars"; urlList[32].url="../personal/particulars.html"; urlList[33] = new Object(); urlList[33].name="jumpFamily"; urlList[33].url="../personal/family.html"; urlList[34] = new Object(); urlList[34].name="jumpNationalService"; urlList[34].url="../personal/nationalService.html"; urlList[35] = new Object(); urlList[35].name="schoolsAttendedPrefilled"; urlList[35].url="schoolsAttendedPrefilled.html"; urlList[36] = new Object(); urlList[36].name="olevelResultsSelect"; urlList[36].url="olevelResultsSelect.htm"; urlList[36].width="395"; urlList[36].height="190"; urlList[37] = new Object(); urlList[37].name="jumpOlevelResultsSelect"; urlList[37].url="../education/olevelResultsSelect.htm"; urlList[37].width="395"; urlList[37].height="190"; //Olevel Results //========================================== urlList[38] = new Object(); urlList[38].name="olevelResults"; urlList[38].url="olevelResults.html"; urlList[39] = new Object(); urlList[39].name="jumpOlevelResults"; urlList[39].url="../education/olevelResults.html"; //========================================== urlList[40] = new Object(); urlList[40].name="olevelResultsPrefilled"; urlList[40].url="olevelResultsPrefilled.html"; urlList[41] = new Object(); urlList[41].name="alevelResultsSelect"; urlList[41].url="alevelResultsSelect.htm"; urlList[41].width="395"; urlList[41].height="190"; urlList[42] = new Object(); urlList[42].name="alevelResults"; urlList[42].url="alevelResults.html"; urlList[43] = new Object(); urlList[43].name="alevelResultsPrefilled"; urlList[43].url="alevelResultsPrefilled.html"; urlList[44] = new Object(); urlList[44].name="particularsOtherCountry"; urlList[44].url="particularsOtherCountry.html"; urlList[45] = new Object(); urlList[45].name="particularsWithError"; urlList[45].url="particularsWithError.html"; urlList[46] = new Object(); urlList[46].name="alevelResultsNew"; urlList[46].url="alevelResultsNEW.html"; urlList[47] = new Object(); urlList[47].name="alevelResultsNewPrefilled"; urlList[47].url="alevelResultsNEWPrefilled.html"; urlList[48] = new Object(); urlList[48].name="polyResults"; urlList[48].url="polyResults.html"; urlList[49] = new Object(); urlList[49].name="polyResultsAddSubject"; urlList[49].url="polyResultsAddSubject.html"; urlList[50] = new Object(); urlList[50].name="polyResultsAddYear"; urlList[50].url="polyResultsAddYear.html"; urlList[51] = new Object(); urlList[51].name="ibDiploma"; urlList[51].url="ibDiploma.html"; urlList[52] = new Object(); urlList[52].name="uniResults"; urlList[52].url="uniResults.html"; urlList[53] = new Object(); urlList[53].name="otherQ"; urlList[53].url="otherQualification.html"; urlList[54] = new Object(); urlList[54].name="otherQaddInstitution"; urlList[54].url="otherQualificationAddInstitution.html"; urlList[55] = new Object(); urlList[55].name="otherQenterResult"; urlList[55].url="otherQualificationEnterResults.html"; urlList[55].width="780"; urlList[55].height="530"; urlList[56] = new Object(); urlList[56].name="otherQenterResult2"; urlList[56].url="otherQualificationEnterResults2.html"; urlList[56].width="738"; urlList[56].height="450"; //================================================= urlList[57] = new Object(); urlList[57].name="careerPref"; urlList[57].url="../career/preferences.html"; urlList[58] = new Object(); urlList[58].name="careerPrefAddDoubleDegree"; urlList[58].url="../career/preferences_addDoubleDegree.html"; //================================================== //Part 1: Declarations //================================================= urlList[59] = new Object(); urlList[59].name="declarations"; urlList[59].url="../declaration/declaration.html"; //================================================= urlList[60] = new Object(); urlList[60].name="jumpAlevelResults"; urlList[60].url="../education/alevelResults.html"; urlList[61] = new Object(); urlList[61].name="jumpPolyResults"; urlList[61].url="../education/polyResults.html"; urlList[62] = new Object(); urlList[62].name="jumpIbDiploma"; urlList[62].url="../education/ibDiploma.html"; urlList[63] = new Object(); urlList[63].name="jumpUniResults"; urlList[63].url="../education/uniResults.html"; urlList[64] = new Object(); urlList[64].name="jumpOtherQ"; urlList[64].url="../education/otherQualification.html"; //Part 2:Essay //========================== urlList[65] = new Object(); urlList[65].name="essay2"; urlList[65].url="essay/statement.html"; urlList[66] = new Object(); urlList[66].name="essay"; urlList[66].url="../essay/statement.html"; urlList[67] = new Object(); urlList[67].name="jumpEssay"; urlList[67].url="../essay/statement.html"; //------------------------------ //The popout urlList[68] = new Object(); urlList[68].name="essayPreview"; urlList[68].url="/pscrevamp/essay/essayAction.do?method=previewSession"; urlList[68].width="738"; urlList[68].height="308"; //=========================== urlList[69] = new Object(); urlList[69].name="otherParticulars"; urlList[69].url="../others/otherParticulars.html"; urlList[70] = new Object(); urlList[70].name="notable"; urlList[70].url="../others/notableAchievements.html"; urlList[71] = new Object(); urlList[71].name="sat"; urlList[71].url="../others/satResults.html"; urlList[72] = new Object(); urlList[72].name="otherScholarships"; urlList[72].url="../others/otherScholarships.html"; //Forms Submission Status //================================ urlList[73] = new Object(); urlList[73].name="part1Submit"; urlList[73].url="../submitSuccessPart1Form.html"; urlList[74] = new Object(); urlList[74].name="essaySubmitted"; urlList[74].url="../submitSuccessFormEssay.html"; urlList[75] = new Object(); urlList[75].name="finalSubmit"; urlList[75].url="../submitSuccessForm.html"; //Forms Review //============================== urlList[76] = new Object(); urlList[76].name="formPreview1"; urlList[76].url="../part1Preview/formPreview.html"; urlList[77] = new Object(); urlList[77].name="essayMainPreview"; urlList[77].url="../part2Preview/formPreview.html"; urlList[78] = new Object(); urlList[78].name="essaySubmission"; urlList[78].url="../part2Preview/formPreview.html"; urlList[79] = new Object(); urlList[79].name="formPreview2"; urlList[79].url="../part2Preview/formPreview.html"; urlList[80] = new Object(); urlList[80].name="formPreview3"; urlList[80].url="../part3Preview/formPreview.html"; urlList[81] = new Object(); urlList[81].name="otherDetailsSubmission"; urlList[81].url="../part3Preview/formPreview.html"; //------------------------------- urlList[82] = new Object(); urlList[82].name="mformPreview1"; urlList[82].url="part1Preview/formPreview.html"; urlList[83] = new Object(); urlList[83].name="messayMainPreview"; urlList[83].url="part2Preview/formPreview.html"; urlList[84] = new Object(); urlList[84].name="mformPreview3"; urlList[84].url="part3Preview/formPreview.html"; //============================== //SingPass //============================== urlList[99] = new Object(); urlList[99].name="singpass0"; urlList[99].url="singpass/singpass0.html"; urlList[85] = new Object(); urlList[85].name="singpass1"; urlList[85].url="singpass1.html"; urlList[86] = new Object(); urlList[86].name="singpass2"; urlList[86].url="singpass2.html"; urlList[98] = new Object(); urlList[98].name="singpass3"; urlList[98].url="singpass3.html"; //============================== //A level verification //============================== urlList[87] = new Object(); urlList[87].name="verify2"; urlList[87].url="verify2.html"; urlList[88] = new Object(); urlList[88].name="relogin"; urlList[88].url="../relogin.html"; urlList[89] = new Object(); urlList[89].name="mrelogin"; urlList[89].url="relogin.html"; urlList[90] = new Object(); urlList[90].name="mhome"; urlList[90].url="index.html"; //============================== //Header //============================== urlList[91] = new Object(); urlList[91].name="faq"; urlList[91].url="faq.html"; urlList[91].width="800"; urlList[91].height="600"; urlList[92] = new Object(); urlList[92].name="toc"; urlList[92].url="toc.html"; urlList[92].width="800"; urlList[92].height="600"; urlList[93] = new Object(); urlList[93].name="jumpFaq"; urlList[93].url="../faq.html"; urlList[93].width="800"; urlList[93].height="600"; urlList[94] = new Object(); urlList[94].name="jumpToc"; urlList[94].url="../toc.html"; urlList[94].width="800"; urlList[94].height="600"; //============================== //Part 3 //Overseas Universities urlList[95] = new Object(); urlList[95].name="overseasU"; urlList[95].url="../university/overseasUni.html"; urlList[96] = new Object(); urlList[96].name="moverseasU"; urlList[96].url="university/overseasUni.html"; urlList[97] = new Object(); urlList[97].name="localU"; urlList[97].url="../university/localUni.html"; //=============================== var smallWin; function doForward(link, isWindow){ len = urlList.length; for (i=0;i fieldLength) { t.value = t.value.substr(0, fieldLength); alert(fieldDesc + " cannot exceed more than " + fieldLength + " characters."); rtn = false; } return rtn; } function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function readCookie(name) { var nameEQ = name + "="; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } function eraseCookie(name) { createCookie(name,"",-1); }