//gen menu ver. 5

level = new Array('eindex.php', 'what', 'about', 'csis', 'cs', 'cc', 'hum', 'hp', 'sr', 'res', 'iz',  'faq', 'feedback', 'contact', 'links', 'notice', 'search', 'sitemap', 'email');

//add_data(domain_lev_div+'link','alt','color','target',layer, 'level', 'folder');

function menu(){
	if (atlang== "entxt" || atlang =="txteindex")
	{
		domain_lev_div = "http://"+domain+subdir+"/textonly/english/";
		domain_index ="http://"+domain+subdir+"/textonly";

	} else {
		domain_index ="http://"+domain+subdir;
		domain_lev_div = "http://"+domain+subdir+"/english/";
	}
	add_data(domain_index+'/eindex.php', 'Home', '#E9D9FB', '','','1', '');
	
	add_data(domain_lev_div+'what/what.html', 'What\'s New', '#E9D9FB', '','','1', 'what');

	add_data(domain_lev_div+'about/about.html', 'About Cervical Screening Programme', '#E9D9FB', '','y','1', 'about');
		add_data(domain_lev_div+'about/abt_letter.html', 'Letter from Director of Health', '#E9D9FB', '','','2', 'abt_letter');
		add_data(domain_lev_div+'about/abt_objectives.html', 'Objectives', '#E9D9FB', '','','2', 'abt_objectives');
		add_data(domain_lev_div+'about/abt_evidence.html', 'Evidence for Organised Screening Programme', '#E9D9FB', '','','2', 'abt_evidence');
		add_data(domain_lev_div+'about/abt_screening.html', 'Screening Policy', '#E9D9FB', '','','2', 'abt_screening');
		add_data(domain_lev_div+'about/abt_quality.html', 'Quality Assurance', '#E9D9FB', '','','2', 'abt_quality');
		add_data(domain_lev_div+'about/abt_recruitment.html', 'Recruitment and Education', '#E9D9FB', '','','2', 'abt_recruitment');

	add_data(domain_lev_div+'csis/csis.html', 'Cervical Screening Information System (CSIS)', '#E9D9FB', '','y','1', 'csis');
		add_data(domain_lev_div+'csis/csis_purposes.html', 'Purposes & Functions', '#E9D9FB', '','','2', 'csis_purposes');
		add_data(domain_lev_div+'csis/csis_how.html', 'How does it work?', '#E9D9FB', '','','2', 'csis_how');
		add_data(domain_lev_div+'csis/csis_security.html', 'Security Measures', '#E9D9FB', '','','2', 'csis_security');
		add_data(domain_lev_div+'csis/csis_what.html', 'What I can do with CSIS?', '#E9D9FB', '','','2', 'csis_what');
	
	add_data(domain_lev_div+'cs/cs.php', 'Cervical Smear', '#E9D9FB', '','y','1', 'cs');
		add_data(domain_lev_div+'cs/cs_what.php', 'What is cervical smear?', '#E9D9FB', '','','2', 'cs_what');
		add_data(domain_lev_div+'cs/cs_who.php', 'Who needs the smear?', '#E9D9FB', '','','2', 'cs_who');
		add_data(domain_lev_div+'cs/cs_when.php', 'When should you have the smear?', '#E9D9FB', '','','2', 'cs_when');
		add_data(domain_lev_div+'cs/cs_how.php', 'How is the smear done?', '#E9D9FB', '','','2', 'cs_how');
		add_data(domain_lev_div+'cs/cs_where.php', 'Where can you have the smear?', '#E9D9FB', '','','2', 'cs_where');
		add_data(domain_lev_div+'cs/cs_results.php', 'How can you interpret the results?', '#E9D9FB', '','','2', 'cs_results');
		add_data(domain_lev_div+'cs/cs_myths.php', 'Myths about Cervical Cancer Screening', '#E9D9FB', '','','2', 'cs_myths');

	add_data(domain_lev_div+'cc/cc.html', 'Cervical Cancer', '#E9D9FB', '','y','1', 'cc');
		add_data(domain_lev_div+'cc/cc_what.html', 'What is cervical cancer?', '#E9D9FB', '','','2', 'cc_what');
		add_data(domain_lev_div+'cc/cc_burden.html', 'Disease Burden of Cervical Cancer', '#E9D9FB', '','','2', 'cc_burden');
		add_data(domain_lev_div+'cc/cc_risk.html', 'Risk Factors & Prevention', '#E9D9FB', '','','2', 'cc_risk');
		add_data(domain_lev_div+'cc/cc_symptoms.html', 'Symptoms', '#E9D9FB', '','','2', 'cc_symptoms');
		add_data(domain_lev_div+'cc/cc_diagnosis.html', 'Diagnosis', '#E9D9FB', '','','2', 'cc_diagnosis');
		add_data(domain_lev_div+'cc/cc_treatment.html', 'Treatment', '#E9D9FB', '','','2', 'cc_treatment');

	add_data(domain_lev_div+'hum/hum.html', 'Human Papillomavirus and Vaccine', '#E9D9FB', '','y','1', 'hum');
		add_data(domain_lev_div+'hum/hum_human.html', 'Human Papillomavirus', '#E9D9FB', '','','2', 'hum_human');
		add_data(domain_lev_div+'hum/hum_ccv.html', 'Cervical Cancer Vaccine', '#E9D9FB', '','','2', 'hum_ccv');
		add_data(domain_lev_div+'hum/hum_faq.html', 'Frequently Asked Questions', '#E9D9FB', '','','2', 'hum_faq');
		add_data(domain_lev_div+'hum/hum_info.html', 'More Information', '#E9D9FB', '','','2', 'hum_info');

	add_data(domain_lev_div+'hp/hp.html', 'Health Professionals', '#E9D9FB', '','y','1', 'hp');
		add_data(domain_lev_div+'hp/hp_enc.html', 'Encourage Women to have Screening', '#E9D9FB', '','','2', 'hp_enc');
		add_data(domain_lev_div+'hp/hp_taking.html', 'Taking Quality Smear', '#E9D9FB', '','','2', 'hp_taking');
		add_data(domain_lev_div+'hp/hp_lab.html', 'Laboratory Reporting', '#E9D9FB', '','','2', 'hp_lab');
		add_data(domain_lev_div+'hp/hp_com.html', 'Communicating Abnormal Results', '#E9D9FB', '','','2', 'hp_com');
		add_data(domain_lev_div+'hp/hp_man.html', 'Management of Abnormalities', '#E9D9FB', '','','2', 'hp_man');
		add_data(domain_lev_div+'hp/hp_tech.html', 'Technologies for Cervical Cancer Screening', '#E9D9FB', '','','2', 'hp_tech');
		add_data(domain_lev_div+'hp/hp_acc.html', 'Accreditation Scheme of Pathology Laboratories', '#E9D9FB', '','','2', 'hp_acc');

	add_data(domain_lev_div+'sr/sr.html', 'Statistics & Reports', '#E9D9FB', '','y','1', 'sr');
		add_data(domain_lev_div+'sr/sr_statistics.html', 'Statistics', '#E9D9FB', '','','2', 'sr_statistics');
		add_data(domain_lev_div+'sr/sr_reports.html', 'Reports', '#E9D9FB', '','','2', 'sr_reports');
		
	add_data(domain_lev_div+'res/res.php', 'Resources', '#E9D9FB', '','y','1', 'res');
		add_data(domain_lev_div+'res/res_posters.php', 'Posters', '#E9D9FB', '','','2', 'res_posters');
		add_data(domain_lev_div+'res/res_booklets.php', 'Booklets and Pamphlets', '#E9D9FB', '','','2', 'res_booklets');
		add_data(domain_lev_div+'res/res_forms.php', 'Forms', '#E9D9FB', '','','2', 'res_forms');
		add_data(domain_lev_div+'res/res_fact.php', 'Fact Sheets', '#E9D9FB', '','','2', 'res_fact');
		add_data(domain_lev_div+'res/res_roving.php', 'Roving Exhibition Information Panels', '#E9D9FB', '','','2', 'res_roving');
		add_data(domain_lev_div+'res/res_others.php', 'Others', '#E9D9FB', '','','2', 'res_others');

	add_data(domain_lev_div+'iz/iz.php', 'Interactive Zone', '#E9D9FB', '','y','1', 'iz');
		add_data(domain_lev_div+'iz/iz_cards.php', 'Electronic Cards', '#E9D9FB', '','','2', 'iz_cards');
		add_data(domain_lev_div+'iz/iz_games.php', 'Games', '#E9D9FB', '','','2', 'iz_games');
		add_data(domain_lev_div+'iz/iz_quiz_index.php', 'Quiz', '#E9D9FB', '','','2', 'iz_quiz');
//		add_data(domain_lev_div+'iz/unsubscription.php', 'Unsubscription', '', '','','2', 'unsubscription');

	add_data(domain_lev_div+'faq/faq.html', 'Frequently Asked Questions', '#E9D9FB', '','','1', 'faq');

	add_data(domain_lev_div+'feedback/feedback.php', 'Feedback', '#E9D9FB', '','','1', 'feedback');

	add_data(domain_lev_div+'contact/contact.html', 'Contact us', '#E9D9FB', '','','1', 'contact');

	add_data(domain_lev_div+'links/links.html', 'Useful Links', '#E9D9FB', '','','1', 'links');

	add_data(domain_lev_div+'notice/notice.html', 'Important notices', '', '','','1', 'notice');

	add_data(domain_lev_div+'search/search.php', 'Search', '', '','','1', 'search');

	add_data(domain_lev_div+'sitemap/sitemap.html', 'Site Map', '', '','','1', 'sitemap');

	add_data('javascript:tellafriend(\'en\')', 'Email page to a Friend', '', '','','1', 'email');
}
