// JavaScript Document

// JavaScript Document

//en


if( typeof Home == "undefined" || Home =="" )  Home = "Home";
if( typeof Programs == "undefined" ||  Programs == ""  )  Programs = "Programs";
if( typeof StudentServices == "undefined" ||  StudentServices == ""  )  StudentServices = "Student Services / Homestay";
if( typeof EnrolmentApply == "undefined" ||  EnrolmentApply == ""  )  EnrolmentApply = "Enrol/Apply";
if( typeof EducationConsultingServices == "undefined" ||  EducationConsultingServices == ""  )  EducationConsultingServices = "Consulting";
if( typeof NIC_Partners == "undefined" ||  NIC_Partners == ""  )  NIC_Partners = "NIC Partners";
if( typeof OnlineSchool == "undefined" ||  OnlineSchool == ""  )  OnlineSchool = "FREE ENGLISH";

if( typeof NewsFlash == "undefined" ||  NewsFlash == ""  )  NewsFlash = "News Flash";
if( typeof Welcome == "undefined" ||  Welcome == ""  )  Welcome = "Welcome";

if( typeof OurVision == "undefined" ||  OurVision == ""  )  OurVision = "Our Vision";
if( typeof OurLocationandCampus == "undefined" ||  OurLocationandCampus == ""  )  OurLocationandCampus = "Our Location and Campus";
if( typeof gettingToNic == "undefined" ||  gettingToNic == ""  )  gettingToNic = "Getting to NIC";


if( typeof SchoolFacilities == "undefined" ||  SchoolFacilities== ""  )  SchoolFacilities = "School Facilities";
if( typeof SchoolPlacementProgram == "undefined" ||  SchoolPlacementProgram == ""  )  SchoolPlacementProgram = "School Placement Program";
if( typeof NICStaffProfile == "undefined" ||  NICStaffProfile == ""  )  NICStaffProfile = "NIC Staff Profile";
if( typeof MessageFromtheChairman == "undefined" ||  MessageFromtheChairman == ""  )  MessageFromtheChairman = "Message from the Chairman";
if( typeof WelcomefromtheCEO == "undefined" ||  WelcomefromtheCEO == ""  )  WelcomefromtheCEO = "Welcome from the CEO";
if( typeof PhotoGallery == "undefined" ||  PhotoGallery== ""  )  PhotoGallery = "Photo Gallery";
if( typeof FormandDocuments == "undefined" ||  FormandDocuments == ""  )  FormandDocuments = "Form and Documents";


if( typeof EnglishLanguageCourses == "undefined" ||  EnglishLanguageCourses == ""  )  EnglishLanguageCourses = "English Language Courses";
if( typeof EnglishforHighSchoolPreparation == "undefined" ||  EnglishforHighSchoolPreparation == ""  )  EnglishforHighSchoolPreparation = "English for High School Preparation";
if( typeof EnglishforAcademicPurposes == "undefined" ||  EnglishforAcademicPurposes == ""  )  EnglishforAcademicPurposes = "English for Academic Purposes";

if( typeof VisitorVisaProgrm == "undefined" ||  VisitorVisaProgrm == ""  )  VisitorVisaProgrm = "Visitor Visa Program";
if( typeof StudyAbroadProgram == "undefined" ||  StudyAbroadProgram == ""  )  StudyAbroadProgram = "Study Abroad Program";


if( typeof ISLPRTestPreparation == "undefined" ||  ISLPRTestPreparation == ""  )  ISLPRTestPreparation = "ISLPR Test Preparation";
if( typeof HighSchoolProgram == "undefined" ||  HighSchoolProgram == ""  )  HighSchoolProgram = "High School Program";
if( typeof SportsProgramsforGroups == "undefined" ||  SportsProgramsforGroups == ""  )  SportsProgramsforGroups = "Sports Programs for Groups";
if( typeof Golf == "undefined" ||  Golf == ""  )  Golf = "Golf";
if( typeof Tennis == "undefined" ||  Tennis == ""  )  Tennis = "Tennis and Study Programs for Groups";
if( typeof Swimming == "undefined" ||  Swimming== ""  )  Swimming = "Swimming and Study Programs for Groups";
if( typeof Athletics == "undefined" ||  Athletics == ""  )  Athletics = "Athletics for Groups";
if( typeof StudyTours == "undefined" ||  StudyTours == ""  )  StudyTours = "Study Tours";


if( typeof GroupStudyTours == "undefined" ||  GroupStudyTours == ""  )  GroupStudyTours = "Group Study Tours";
if( typeof ActivitySummary == "undefined" ||  ActivitySummary == ""  )  ActivitySummary = "Activity Summary";
if( typeof StudyTourTeam == "undefined" ||  StudyTourTeam == ""  )  StudyTourTeam = "Study Tour Team";
if( typeof StudyTourFacilities == "undefined" ||  StudyTourFacilities == ""  )  StudyTourFacilities = "Study Tour Facilities";
if( typeof StudyTourAccommodation == "undefined" ||  StudyTourAccommodation == ""  )  StudyTourAccommodation = "Study Tour Accommodation";
if( typeof StudyTourQuote == "undefined" ||  StudyTourQuote == ""  )  StudyTourQuote = "Study Tour Quote";
if( typeof IndividualStudyTours == "undefined" ||  IndividualStudyTours == ""  )  IndividualStudyTours = "Individual Study Tours";
if( typeof EnglishLanguageTestingServices == "undefined" ||  EnglishLanguageTestingServices == ""  )  EnglishLanguageTestingServices = "English Language Testing Services";
if( typeof StudentServicesAtNIC == "undefined" ||  StudentServicesAtNIC == ""  )  StudentServicesAtNIC = "Student Services at NIC";
if( typeof GeneralSupportServices == "undefined" ||  GeneralSupportServices == ""  )  GeneralSupportServices = "General Support Services";
if( typeof Accommodation == "undefined" ||  Accommodation == ""  )  Accommodation = "Accommodation";
if( typeof StudentAccommodation == "undefined" ||  StudentAccommodation == ""  )  StudentAccommodation = "Student Accommodation";
if( typeof VisitorAccommodation == "undefined" ||  VisitorAccommodation == ""  )  VisitorAccommodation = "Visitor Accommodation";

if( typeof HomestayNews == "undefined" ||  HomestayNews == ""  )  HomestayNews = "Homestay News";
if( typeof BecomeaHomestayFamily == "undefined" ||  BecomeaHomestayFamily == ""  )  BecomeaHomestayFamily = "Become a Homestay Family";

if( typeof Fees == "undefined" ||  Fees == ""  )  Fees = "Fees";
if( typeof FeesYearOpt1 == "undefined" ||  FeesYearOpt1 == ""  )  FeesYearOpt1 = "Year 2007";
if( typeof FeesYearOpt2 == "undefined" ||  FeesYearOpt2 == ""  )  FeesYearOpt2 = "Year 2008";

if( typeof TermsandConditions == "undefined" ||  TermsandConditions == ""  )  TermsandConditions = "Terms and Conditions";
if( typeof AcademicCalendar == "undefined" ||  AcademicCalendar == ""  )  AcademicCalendar = "Academic Calendar";
if( typeof FrequentlyAskedQuestions == "undefined" ||  FrequentlyAskedQuestions== ""  )  FrequentlyAskedQuestions = "Frequently Asked Questions";
if( typeof OurService == "undefined" ||  OurService == ""  )  OurService = "Our Service";
if( typeof OurConsultingPartners == "undefined" ||  OurConsultingPartners == ""  )  OurConsultingPartners = "Our Consulting Partners";
if( typeof ContactUs == "undefined" ||  ContactUs == ""  )  ContactUs = "Contact Us";
if( typeof HighSchools == "undefined" ||  HighSchools == ""  )  HighSchools = "High Schools";


/*
11 schools
*/
if( typeof ChristianBrothersCollege == "undefined" ||  ChristianBrothersCollege == ""  )  ChristianBrothersCollege = "Christian Brothers College St Kilda, Melbourne";

if( typeof StEdmundsCollege == "undefined" ||  StEdmundsCollege == ""  )  StEdmundsCollege = "St Edmund's College";

if( typeof StLaurencesCollege == "undefined" ||  StLaurencesCollege == ""  )  StLaurencesCollege = "St Laurence's College";
if( typeof IpswichGrammarSchool == "undefined" ||  IpswichGrammarSchool == ""  )  IpswichGrammarSchool = "Ipswich Grammar School";
if( typeof StJosephsNudgeeCollege == "undefined" ||  StJosephsNudgeeCollege == ""  )  StJosephsNudgeeCollege = "St Joseph's Nudgee College";
if( typeof CorpusChristiCollege == "undefined" ||  CorpusChristiCollege == ""  )  CorpusChristiCollege = "Mary Mackillop College <br />(formally Corpus Christi College) ";
if( typeof LourdesHillCollege == "undefined" ||  LourdesHillCollege == ""  )  LourdesHillCollege = "Lourdes Hill College";
if( typeof StUrsulasCollege == "undefined" ||  StUrsulasCollege == ""  )  StUrsulasCollege = "St Ursula's College";
if( typeof StuartholmeSchool == "undefined" ||  StuartholmeSchool == ""  )  StuartholmeSchool = "Stuartholme School";
if( typeof SouthernCrossCatholicCollege == "undefined" ||  SouthernCrossCatholicCollege == ""  )  SouthernCrossCatholicCollege = "Southern Cross Catholic College";
if( typeof MuellerCollege == "undefined" ||  MuellerCollege == ""  )  MuellerCollege = "Mueller College";
if( typeof CanterburyCollege == "undefined" ||  CanterburyCollege == ""  )  CanterburyCollege = "Canterbury College";
if( typeof StJamesCollege == "undefined" ||  StJamesCollege == ""  )  StJamesCollege = "St James College";
if( typeof StFrancisXavierCollege == "undefined" ||  StFrancisXavierCollege == ""  )  StFrancisXavierCollege = "St Francis Xavier College";
if( typeof BrisbaneAdventistCollege == "undefined" ||  BrisbaneAdventistCollege == ""  )  BrisbaneAdventistCollege = "Brisbane Adventist College";
if( typeof school_immanuel_lutheran_college == "undefined" ||  school_immanuel_lutheran_college == ""  )  school_immanuel_lutheran_college = "Immanuel Lutheran College";
if( typeof pwc == "undefined" ||  pwc == ""  )  pwc = "Presentation College Windsor, Melbourne";

if( typeof saa == "undefined" ||  saa == ""  )  saa = "St Aidan's Anglican Girls' School";

if( typeof school_eltham_college == "undefined" ||  school_eltham_college == ""  )  school_eltham_college = "Eltham College";
if( typeof school_stThomas_more_college == "undefined" ||  school_stThomas_more_college == ""  )  school_stThomas_more_college = "St Thomas More College";

if( typeof school_christian_outreach_college == "undefined" ||  school_christian_outreach_college == ""  )  school_christian_outreach_college = "Christian Outreach College";
//school_australian_trade_college
if( typeof school_australian_trade_college == "undefined" ||  school_australian_trade_college == ""  )  school_australian_trade_college = "Australian Trade College";


//end of school


if( typeof BecomeAPartnerSchool == "undefined" ||  BecomeAPartnerSchool == ""  )  BecomeAPartnerSchool = "Become a Partner School";
if( typeof BecomeANICAgent == "undefined" ||  BecomeANICAgent == ""  )  BecomeANICAgent = "Become an NIC Agent";

//---
if( typeof SampleItineraries =="undefined"  || SampleItineraries =="" ) SampleItineraries = "Sample Itineraries";
if( typeof NICOrganisationalStructure == "undefined" || NICOrganisationalStructure == "" ) NICOrganisationalStructure = "NIC Organisational Structure";
if( typeof WelcometoNICStudyTours == "undefined" || WelcometoNICStudyTours == ""  ) WelcometoNICStudyTours = "Welcome to NIC Study Tours";


//-- UFP
if( typeof ufp =="undefined"  || ufp =="" ) ufp = "University Foundation";
if( typeof uftWelcome == "undefined" || uftWelcome == "" ) uftWelcome = "Welcome  to University Foundation";
if( typeof uftCourseInfo == "undefined" || uftCourseInfo == ""  ) uftCourseInfo = "Course Information";
if( typeof uftCourseFee == "undefined" || uftCourseFee == ""  ) uftCourseFee = "Course Fees";
if( typeof uftCourseApp == "undefined" || uftCourseApp == ""  ) uftCourseApp = "Application Form (University Program)";
if( typeof uftCourseEPO == "undefined" || uftCourseEPO == ""  ) uftCourseEPO = "UFP Entry Point Options";

	


//other lang
//include( "menubar.js" );

  	var menubar = new MenuBar( "menubar" );

	var mH = new Menu( Home );
	var mP = new Menu( Programs );
	var mUFP = new Menu( ufp );
	var mS = new Menu( StudentServices );
	var mR = new Menu( EnrolmentApply );
	var mE = new Menu( EducationConsultingServices );
	var NIC_Partners = new Menu(  NIC_Partners );
	
	menubar.add(mH);
	menubar.add(mP);
	//menubar.add(mUFP);
	menubar.add(mS);
	menubar.add(mR);
	menubar.add(mE);
	menubar.add(NIC_Partners);  
	//menubar.addButton( OnlineSchool, "window.location='http://nos.nudgeeinternational.com/'" );

	//mH
	mH.addItem( Welcome , "window.location='index.html';" , null   );
	mH.addItem( NewsFlash , "window.location='news.html'; " , null   );
	mH.addItem( OurVision, "window.location='our_vision.html';" , null   );
	mH.addItem( OurLocationandCampus , "window.location='location_campus.html';" , null   );
	mH.addItem( gettingToNic , "window.location='getting_to_nic.html';" , null   );
	
	
	
	mH.addItem( SchoolFacilities , "window.location='school_facilities.html';" , null   );
	mH.addItem( SchoolPlacementProgram, "window.location='placement_program.html';" , null   );
	
	var substaffpro = new Menu( NICStaffProfile );
		substaffpro.addItem( NICOrganisationalStructure , "window.location='organisational_structure.html';" , null   );
		substaffpro.addItem( NICStaffProfile , "window.location='staff_profile.html';" , null   );
	
	mH.addSubMenu( substaffpro   );
	

	mH.addItem( MessageFromtheChairman, "window.location='message_from_the_executive_chairman.html';" , null   );
	mH.addItem( WelcomefromtheCEO , "window.location='welcome_from_the_CEO.html';" , null   );
	mH.addItem( PhotoGallery , "window.location='photo_gallery.html';" , null   );
	mH.addItem( FormandDocuments , "window.location='forms.html';" , null   );

	// mp
	var submprogram = new Menu( EnglishLanguageCourses );
		submprogram.addItem( EnglishforHighSchoolPreparation , "window.location='english_for_high_school_preparation.html';" , null   );
		submprogram.addItem( ISLPRTestPreparation , "window.location='ISLPR_test_preparation_course.html';" , null   );
		submprogram.addItem( VisitorVisaProgrm , "window.location='visitor_visa_program.html';" , null   );
		submprogram.addItem( StudyAbroadProgram , "window.location='study_abroad.html';" , null   );
		submprogram.addItem( EnglishforAcademicPurposes , "window.location='English_for_Academic_Purposes.html';" , null   );
		
		

mP.addSubMenu( submprogram );

mP.addItem( HighSchoolProgram , "    window.location='high_school_program.html';" , null );
//mP.addItem( ufp , "    window.location='ufp_welcome.html';" , null );

mP.addItem( EnglishLanguageTestingServices, "window.location='english_language_testing_services.html';" , null );

	var sportsub = new Menu(  SportsProgramsforGroups );
	sportsub.addItem( Golf , "window.location='golf.html';" , null   );
	sportsub.addItem( Tennis , "window.location='tennis.html';" , null   );
	sportsub.addItem( Swimming , "window.location='swimming.html';" , null  );
	sportsub.addItem( Athletics, " window.location='athletics.html';" , null  );
	
	mP.addSubMenu( sportsub );

		var groupstudysub = new Menu(  GroupStudyTours );
		groupstudysub.addItem( ActivitySummary, " window.location='activity_summary.html';" , null   );
		groupstudysub.addItem( SampleItineraries, " window.location=  'sample_itineraries.html'; " , null   );
		groupstudysub.addItem( StudyTourTeam, " window.location=  'study_tour_team.html'; " , null   );
		groupstudysub.addItem( StudyTourFacilities , "  window.location= 'study_tour_facilities.html';" , null   );
		groupstudysub.addItem( StudyTourAccommodation, "  window.location=  'study_tour_accommodation.html';" , null   );
		groupstudysub.addItem( StudyTourQuote, " window.location=  'study_tour_quote.html';" , null   );
		
	var studytoursub = new Menu(StudyTours);
	studytoursub.addItem( WelcometoNICStudyTours, " window.location= 'welcome_to_NIC_study_tours.html';" , null   );
	studytoursub.addSubMenu( groupstudysub );
	studytoursub.addItem( IndividualStudyTours, " window.location= 'individual_study_tours.html';" , null   );
	
	mP.addSubMenu( studytoursub );
//--------		
		
	mUFP.addItem( uftWelcome , "window.location='ufp_welcome.html';" , null   );
	mUFP.addItem( uftCourseInfo , "window.location='ufp_course_info.html';" , null   );
	mUFP.addItem( uftCourseFee , "window.location='fees.html';" , null  );
	mUFP.addItem( uftCourseApp , "window.location='ufp_application.html';" , null  );
	mUFP.addItem( uftCourseEPO , "window.location='ufp_epo.html';" , null  );
	
	//ms
	//mS.addItem( EnglishLanguageTestingServices, "window.location='english_language_testing_services.html';" , null );
	
		//var studentService = new Menu(  StudentServicesAtNIC );
		//mS.setMinwidth( 100 );
		mS.addItem( GeneralSupportServices , " window.location=   'general_support_services.html';" , null );
		
			var servcieAcc = new Menu( Accommodation );
			servcieAcc.addItem( StudentAccommodation, "   window.location=  'student_accommodation.html';" , null );
			servcieAcc.addItem( VisitorAccommodation, "   window.location=  'visitor_accommodation.html'; " , null   );
			
		mS.addSubMenu( servcieAcc );
		mS.addItem( HomestayNews , "  window.location= 'homestay_news.html';  " , null  );
		mS.addItem( BecomeaHomestayFamily , "  window.location=   'become_a_homestay_family.html';" , null   );

	//mS.addSubMenu( studentService );
	
	//mR
if( typeof ApplicationForm == "undefined" ||  ApplicationForm == ""  )  ApplicationForm = "Application Form( English / High School )";
	
	mR.addItem( ApplicationForm, "window.location='apply_now.html';" , null   );
	
	
//if( typeof ApplicationFormUFP == "undefined" ||  ApplicationFormUFP == ""  )  ApplicationFormUFP = "Application Form ( University Program )";
	
	//mR.addItem( uftCourseApp, "window.location='ufp_application.html';" , null   );
	
	
	//-- fees submenu
	//var menuFees = new Menu( Fees );
	//menuFees.addItem( FeesYearOpt1, "window.location=   'fees.php';" , null   );
	//menuFees.addItem( FeesYearOpt2, "window.location=   'fees.php?url=fees/fees2008.xml';" , null   );
	
	//mR.addSubMenu( menuFees );
	//--
	mR.addItem( Fees, "window.location=   'fees.html';" , null   );
	
		
	mR.addItem( TermsandConditions, "  window.location=    'terms.html' ;" , null   );
	mR.addItem( AcademicCalendar , "   window.location=    'academic_calendar.html';" , null   );
	mR.addItem( FrequentlyAskedQuestions , "    window.location=    'faq.html'; " , null   );
	//mE
	mE.addItem( OurService, "    window.location=    'education_consulting_services.html';  " , null   );
	mE.addItem( OurConsultingPartners, "    window.location =    'our_consulting_partners.html';" , null   );
	mE.addItem( ContactUs, "window.location='contact_us.html';" , null   );
	
	var high_schools = new Menu( HighSchools );
			
			high_schools.addItem( SouthernCrossCatholicCollege , "   window.location=  'school_southern_cross_catholic_college.html';" , null );
			high_schools.addItem( school_immanuel_lutheran_college, "   window.location=  'school_immanuel_lutheran_college.html';" , null );
			high_schools.addItem( BrisbaneAdventistCollege, "   window.location=  'school_brisbane_adventist_college.html';" , null );
			high_schools.addItem( MuellerCollege , "   window.location=  'school_mueller.html';" , null );
			high_schools.addItem( CanterburyCollege, "   window.location=  'school_canterbury_college.html';" , null );
			high_schools.addItem( StJamesCollege, "   window.location=  'school_stJames.html';" , null );
			high_schools.addItem( ChristianBrothersCollege, "   window.location=  'school_christian_brothers.html';" , null );
			high_schools.addItem( StLaurencesCollege  , "   window.location=  'school_stLaurence.html';" , null );
			high_schools.addItem( StJosephsNudgeeCollege, "   window.location=  'school_stJoseph.html';" , null );
			high_schools.addItem( IpswichGrammarSchool , "   window.location=  'school_igs.html';" , null );
			high_schools.addItem( CorpusChristiCollege, "   window.location=  'school_corpusChristi.html';" , null );
			high_schools.addItem( StuartholmeSchool , "   window.location=  'school_stuartholme.html';" , null );
			high_schools.addItem( StUrsulasCollege , "   window.location=  'school_stursulas.html';" , null );
			high_schools.addItem( LourdesHillCollege , "   window.location=  'school_lourdes_hill.html';" , null );
			high_schools.addItem( pwc , "   window.location=  'school_presentation_college_windsor.html';" , null );
			high_schools.addItem( saa , "   window.location=  'school_saa.html';" , null );
			high_schools.addItem( school_eltham_college , "   window.location=  'school_eltham_college.html';" , null );
			high_schools.addItem( school_stThomas_more_college , "   window.location=  'school_stThomas_more_college.html';" , null );
			high_schools.addItem( school_christian_outreach_college , "   window.location=  'school_christian_outreach_college.html';" , null );
			high_schools.addItem( school_australian_trade_college , "   window.location=  'school_australian_trade_college.html';" , null );
			
			//school_australian_trade_college.html
			
			//school_christian_outreach_college
			
			//school_stThomas_more_college
			
			//high_schools.addItem( StEdmundsCollege, "   window.location=  'school_stEdmund.html';" , null );
			//high_schools.addSeparatebar();
//			high_schools.addItem( StFrancisXavierCollege, "   window.location=  'school_xavier.html';" , null );
			
	NIC_Partners.addSubMenu(  high_schools );
	
//	var primary_schools = new Menu( PrimarySchools );
//			primary_schools.addItem( StFlannan, "   window.location=  'school_stFlannan.html';" , null );
//			primary_schools.addItem( "Holy Cross School", "   window.location=  'school_HolyCross.html';" , null );
//			primary_schools.addItem( "Mueller College", "   window.location=  'school_mueller.html';" , null );

	NIC_Partners.addItem( BecomeAPartnerSchool , "    window.location='become_a_partner_school.html'; " , null   );
	NIC_Partners.addSeparatebar();
	NIC_Partners.addItem( BecomeANICAgent , "    window.location='become_an_nic_agent.html'; " , null   );
	
	