
function GetMenu(MenuId)
{
 var objTmp;
	if (MenuId != 'Default')
	{
	switch(MenuId)
	{
		case 'Who we are':
		//Top Menu for Who we Are
		objTmp = createMenu("Who we are", "Internal workings of CMS","true");
		createSubMenu(objTmp, "What is the Council", "/AboutUs/AboutUs.aspx", "", "Summary of CMS", "", "TARGET_SELF");
		createSubMenu(objTmp, "Who sits on the Council", "/AboutUs/CouncilMem.aspx", "", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Role of the Council", "/AboutUs/CouncilRole.aspx", "", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Council Meeting Details", "/AboutUs/Council_Meetings.aspx", "", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "The Registrar's Office", "/AboutUs/Registrar_Office.aspx", "", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Career Opportunities", "/publications/publications.aspx", "catid=18", "View existing vacancies at Council", "", "TARGET_SELF");
		createSubMenu(objTmp, "Tenders", "/publications/publications.aspx", "catid=8", "", "", "TARGET_SELF");
			
		
			break;
		case 'What we do':
		//Top Menu for What we do
			objTmp = createMenu("What we do", "A look at the different Units within CMS","true");
		createSubMenu(objTmp, "Benefits Management", "/OrgStructure/BenefitsMng.aspx", "", "What the Benefits Management Unit Does", "", "TARGET_SELF");
		createSubMenu(objTmp, "Compliance", "/OrgStructure/Compliance.aspx", "", "Monitoring of Compliance", "", "TARGET_SELF");
		createSubMenu(objTmp, "Human Resources", "/OrgStructure/HumanResources.aspx", "", "Human Resources Unit", "", "TARGET_SELF");
		createSubMenu(objTmp, "Financial Supervision", "/OrgStructure/fsu.aspx", "", "Financial Oversight over Medical Schemes", "", "TARGET_SELF");
		createSubMenu(objTmp, "Legal Unit", "/OrgStructure/Complaints.aspx", "", "Meet Our Legal Team", "", "TARGET_SELF");
		createSubMenu(objTmp, "Accreditation", "/OrgStructure/RegAccredit.aspx", "", "Scheme Regitration and Accreditations", "", "TARGET_SELF");
		createSubMenu(objTmp, "Information Technology", "/OrgStructure/ITUnit.aspx", "", "Meet our IT Team", "", "TARGET_SELF");
		createSubMenu(objTmp, "Internal Finance", "/OrgStructure/IntFinance.aspx", "", "Meet our Internal Finance Team", "", "TARGET_SELF");
		createSubMenu(objTmp, "Research & Monitoring", "/OrgStructure/ResearchMon.aspx", "", "Trend, Standards,Research - Meet the Team", "", "TARGET_SELF");
		createSubMenu(objTmp, "Risk Equalisation Fund", "/OrgStructure/RiskEqualisation.aspx", "", "Risk Equalisation Fund - Meet the Team", "", "TARGET_SELF");
		break;
  }
  }
  //About Us
		objTmp = createMenu("About Us", "About Council for Medical Schemes","false");
		createSubMenu(objTmp, "Who we are", "/AboutUs/AboutUs.aspx","", "Find out more About CMS", "", "TARGET_SELF");
		createSubMenu(objTmp, "What we do", "/OrgStructure/Whatwedo.aspx", "", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Vision and Mission", "/AboutUs/VisionMission.aspx", "", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Our Stakeholders", "/AboutUs/Stakeholders.aspx", "", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Career Opportunities", "/publications/publications.aspx", "catid=18", "View existing vacancies at Council", "", "TARGET_SELF");
		createSubMenu(objTmp, "Tenders", "/publications/publications.aspx", "catid=8", "", "", "TARGET_SELF");
			//Consumer Info
		objTmp = createMenu("Consumer Education", "Information About your Rights","false");
		createSubMenu(objTmp, "Consumer Education", "/consumer/Consumer.aspx", "", "Learn more about the Consumer Education Initiatives", "", "TARGET_SELF");
		createSubMenu(objTmp, "Educational Material", "/publications/publications.aspx", "catid=16", "Available pamphlets, brochures, manuals and future workshops", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Chronic Benefits", "/consumer/Rights.aspx", "", "Your Rights and Duties on Chronic Benefits - Yor Medical Scheme should cover these...", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Frequently Asked Questions", "/consumer/FAQ.aspx", "", "Frequently Asked Questions", "", "TARGET_SELF");
		createSubMenu(objTmp, "Trustees Training Manual ", "/publications/publications.aspx", "catid=19&selectId=46", "Trustee Training Manuals,Duties, Reports etc.", "", "TARGET_SELF");
		createSubMenu(objTmp, "Trustees Roadshows ", "/publications/publications.aspx", "catid=19&selectId=45", "Trustee Scheduled Roadshows, Reports etc.", "", "TARGET_SELF");
		createSubMenu(objTmp, "Trustees Training Schedules ", "/publications/publications.aspx", "catid=19&selectId=44", "Trustee Training Schedules, Reports etc.", "", "TARGET_SELF");
		createSubMenu(objTmp, "Trustees Scheme Governance ", "/publications/publications.aspx", "catid=19&selectId=43", "Trustee Scheme Governance,Duties, Reports etc.", "", "TARGET_SELF");
			
		
		//Publications
		/*Add the NHRPL link to see publication*/
		objTmp = createMenu("Publications", "Click to view all available Publications","false");
		createSubMenu(objTmp, "Acts & Regulations", "/publications/publications.aspx", "catid=9&selectId=31", "View our governing legislation, i.e Acts, Regulations, Amendments to legislation etc.", "", "TARGET_SELF");
		createSubMenu(objTmp, "Administrators", "/publications/publications.aspx", "catid=38", "All Documents needed by Administrators", "", "TARGET_SELF");
		createSubMenu(objTmp, "Annual Reports", "/publications/publications.aspx", "catid=7", "View our Annual Reports on the Medical Scheme Industry", "", "TARGET_SELF");
		createSubMenu(objTmp, "Application Forms", "/publications/publications.aspx", "catid=10", "Find any application form available at CMS, e.g Accreditation Application Form or Complaint Application Form", "", "TARGET_SELF");
		createSubMenu(objTmp, "Brokers", "/publications/publications.aspx", "catid=39", "All Documents needed by Brokers", "", "TARGET_SELF");
		createSubMenu(objTmp, "Circulars", "/publications/publications.aspx", "catid=1", "View all circulars available at CMS", "", "TARGET_SELF");
		createSubMenu(objTmp, "CMS News", "/publications/publications.aspx", "catid=11", "View our quarterly news letter on the state of the Industry-CMS News", "", "TARGET_SELF");
		createSubMenu(objTmp, "Draft Legislation", "/publications/publications.aspx", "catid=9&selectId=32", "View our governing legislation, i.e Acts, Regulations, Amendments to legislation etc.", "", "TARGET_SELF");
		createSubMenu(objTmp, "Discussion Documents", "/publications/publications.aspx", "catid=4", "View the latest draft discussion documents for comment.", "", "TARGET_SELF");
		createSubMenu(objTmp, "Judgements on Appeals", "/publications/publications.aspx", "catid=17", "Find documentation on the latest judgements in the Industry and appeals with their decisions", "", "TARGET_SELF");
		createSubMenu(objTmp, "Low Income Medical Schemes", "/publications/publications.aspx", "catid=29", "Low Income Medical Schemes Publications", "", "TARGET_SELF");
		createSubMenu(objTmp, "Managed Care Organisations", "/publications/publications.aspx", "catid=37", "Managed Care Organisations", "", "TARGET_SELF");
		createSubMenu(objTmp, "PMB Review", "/publications/publications.aspx", "catid=33", "View the 2008 PMB Review Process", "", "TARGET_SELF");
		createSubMenu(objTmp, "Guidelines & Manuals", "/publications/publications.aspx", "catid=5", "Industry Guidelines and Manuals", "", "TARGET_SELF");
		createSubMenu(objTmp, "Press Releases", "/publications/publications.aspx", "catid=2", "All Press Releases", "", "TARGET_SELF");
		createSubMenu(objTmp, "Presentations & Reports", "/publications/publications.aspx", "catid=3", "Presentation documents and Latest Reports", "", "TARGET_SELF");
		createSubMenu(objTmp, "Quarterly Reports", "/publications/publications.aspx", "catid=6", "Statutory Return Quarterly Reports", "", "TARGET_SELF");
		createSubMenu(objTmp, "REF Reports", "/publications/publications.aspx", "catid=23", "All reports on Risk Equalisation Fund", "", "TARGET_SELF");
		//adding regulatory plan links
		createSubMenu(objTmp, "Regulatory Plans 2009", "/publications/publications.aspx", "catid=22&selectId=189", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Regulatory Plans 2008", "/publications/publications.aspx", "catid=22&selectId=177", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Regulatory Plans 2007", "/publications/publications.aspx", "catid=22&selectId=168", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Regulatory Plans 2006", "/publications/publications.aspx", "catid=22&selectId=123", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Regulatory Plans 2005", "/publications/publications.aspx", "catid=22&selectId=53", "", "", "TARGET_SELF");
		createSubMenu(objTmp, "Regulatory Plans 2004", "/publications/publications.aspx", "catid=22&selectId=52", "", "", "TARGET_SELF");

		createSubMenu(objTmp, "Research Briefs", "/publications/publications.aspx", "catid=36", "Research Brief", "", "TARGET_SELF");
		createSubMenu(objTmp, "Pharmacy Survey", "/publications/publications.aspx", "catid=28", "Pharmacy Survey Questionnaire Details and Forms issued by Directorate: Pharmaceutical Economic Evaluations (PEE)", "", "TARGET_SELF");
		createSubMenu(objTmp, "StakeHolder Lists", "/publications/publications.aspx", "catid=20", "View our Stakeholder lists, i.e Full Broker, Brokerage, Scheme, Administrator or MCO Lists", "", "TARGET_SELF");
	    createSubMenu(objTmp, "RETAP Documents", "/publications/publications.aspx", "catid=31", "Risk Equalisation Technical Advisory Committee Documents", "", "TARGET_SELF");
		createSubMenu(objTmp, "NHRPL", "/nrpl/nrplpublications.aspx?catid=26", "", "National Health Reference Price List", "", "TARGET_SELF");	
		
		
		//Portals
		objTmp = createMenu("Portals", "Dedicated Zones for all Authenticated Users","false");
		createSubMenu(objTmp, "Access to Info Portal", "http://www.medicalschemes.com/AccessToInfo/SelectResources.aspx", "", "LogIn to the Access to Info Portal", "", "TARGET_SELF")		
		createSubMenu(objTmp, "Administrator Portal", "https://www.medicalschemes.com/MSAdminPortal/", "", "LogIn to the Medical Scheme Administrator Portal", "", "TARGET_SELF");
		createSubMenu(objTmp, "Broker Portal", "https://www.medicalschemes.com/Brokers/", "", "LogIn to the Broker Portal", "", "TARGET_SELF");
		createSubMenu(objTmp, "Brokerage Portal", "https://www.medicalschemes.com/Brokerages/", "", "LogIn to Brokerage Portal", "", "TARGET_SELF");
		createSubMenu(objTmp, "Managed Care Portal", "https://www.medicalschemes.com/MCOPortal/", "", "LogIn to the Managed Health Care Organisation Portal", "", "TARGET_SELF");
		createSubMenu(objTmp, "Medical Schemes Portal", "https://www.medicalschemes.com/Schemes/", "", "LogIn to the Medical Schemes Portal", "", "TARGET_SELF");
		createSubMenu(objTmp, "Statutory Returns", "https://www.medicalschemes.com/Returns/", "", "LogIn to the Statutory Return Portal", "", "TARGET_SELF");
		createSubMenu(objTmp, "Auditor Questionnaire", "https://www.medicalschemes.com/AuditorCheck/", "", "Aplication for the approval of an Auditor of a Medical Scheme", "", "TARGET_SELF");
		
		
		//Task Team Sites
		//objTmp = createMenu("Task Team Sites", "Dedicated Task Teams Websites","false");
		//createSubMenu(objTmp, "REF Task Team Site", "http://homeoffice.medicalschemes.com/ref", "", "Dedicated website for REF Task Team Members", "", "NEW_PAGE");
		//createSubMenu(objTmp, "Low-Cost Schemes Task Team Site", "http://homeoffice.medicalschemes.com/lcms", "", "Click to enter the Low-Cost Scheme Collaboration Team Website", "", "NEW_PAGE");
		//createSubMenu(objTmp, "ICD10 Task Team", "http://homeoffice.medicalschemes.com/icd10", "", "Dedicated website for ICD10 Task Team Members", "", "NEW_PAGE");
		//createSubMenu(objTmp, "NHRPL Task Team", "http://homeoffice.medicalschemes.com/NHRPL", "", "Dedicated website for NHRPL Task Team Members", "", "NEW_PAGE");
		
		
		//Contact Us
		objTmp = createMenu("Contact Us", "Get our Contact Details","false");
		createSubMenu(objTmp, "Our Contact Details", "/consumer/ContactUs.aspx", "", "Our Contact Details", "", "TARGET_SELF");
		createSubMenu(objTmp, "Rate Our Site", "/Ratings/RateUs.aspx", "", "Rate our Website", "", "TARGET_SELF");
		
		
		//Initialise Menu
		setTheme("XPBlue.css", null, null)
		initialize(163);
		
	
}

