/***
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties
oCMenu.pxBetween=1
oCMenu.fromLeft=18
oCMenu.fromTop=130
oCMenu.rows=0
oCMenu.menuPlacement="left"

oCMenu.offlineRoot="file:///C|/Inetpub/wwwroot/dhtmlcentral/"
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1
oCMenu.wait=1000
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="100%"
oCMenu.barHeight="menu"
oCMenu.barClass="cl2Bar"
oCMenu.barX=0
oCMenu.barY=0
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=140
oCMenu.level[0].height=12
oCMenu.level[0].regClass="cl2Level0"
oCMenu.level[0].overClass="cl2Level0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="cl2Level0border"
oCMenu.level[0].offsetX=120
oCMenu.level[0].offsetY=-16
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=""   /*Place this code in the space for the arrow to show: /images/design/arrow.gif*/
oCMenu.level[0].arrowWidth=10
oCMenu.level[0].arrowHeight=10
oCMenu.level[0].align="bottom"


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=180
oCMenu.level[1].height=15
oCMenu.level[1].regClass="cl2Level1"
oCMenu.level[1].overClass="cl2Level1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right"
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+40
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="cl2Level1border"

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name,
                    parent_name,
                    text,
                    link,
                    target,
                    width,
                    height,
                    regImage,
                    overImage,
                    regClass,
                    overClass,
                    align,
                    rows,
                    nolink,
                    onclick,
                    onmouseover,
                    onmouseout)
*************************************/

oCMenu.makeMenu('01','','Home','/default.htm','','','')

oCMenu.makeMenu('bar01','','','','','138','2','/images/design/buttons/bar.gif','','')

oCMenu.makeMenu('02','','About Us','','','','')
	oCMenu.makeMenu('0201','02','Background','/about_us/background.htm','','','')
	oCMenu.makeMenu('0203','02','Vision & Mission','/about_us/vision_mission.htm')
/*
	oCMenu.makeMenu('0202','02','Corporate Logo Symbolism','/about_us/logo_symbolism.htm')
*/
	oCMenu.makeMenu('0204','02','Legislative & Policy Mandate','/about_us/legislative_mandate.htm')
		/*oCMenu.makeMenu('020401','0204','Constitution','')
		oCMenu.makeMenu('020402','0204','White Paper on Safety and Security','')
		oCMenu.makeMenu('020403','0204','SAPS Act 1995','')
		oCMenu.makeMenu('020404','0204','National Crime Prevention Strategy','')*/
	oCMenu.makeMenu('0205','02','Value System','/about_us/values.htm')
	oCMenu.makeMenu('0206','02','Senior Management','/about_us/top_mngmnt.htm')
	oCMenu.makeMenu('0207','02','Organisational Structure','/about_us/org_struct/default.htm')
	oCMenu.makeMenu('0208','02','Objectives and Core Functions','')
		oCMenu.makeMenu('020801','0208','Corporate Services','/about_us/corporate_services.htm')
		oCMenu.makeMenu('020802','0208','Civilian Oversight','/about_us/civilian_oversight.htm')
		oCMenu.makeMenu('020803','0208','Crime Prevention','/about_us/crime_prevention_community_liaison.htm')
		oCMenu.makeMenu('020804','0208','Communication','/about_us/communication.htm')
//	oCMenu.makeMenu('0209','02','Interdepartmental Cooperation','')
//		oCMenu.makeMenu('020901','0209','Integrated Crime Justice System','')
	oCMenu.makeMenu('0210','02','Strategic Plan','/docs_publications/strategic_plans.htm')
	oCMenu.makeMenu('0211','02','Annual Report','/docs_publications/annual_report.htm')
	oCMenu.makeMenu('0212','02','Budget Speech','/about_us/budget_speech.htm')

oCMenu.makeMenu('bar02','','','','','138','2','/images/design/buttons/bar.gif','','')

//oCMenu.makeMenu('03','','International Relations','','','','')

//oCMenu.makeMenu('bar03','','','','','138','2','/images/design/buttons/bar.gif','','')

oCMenu.makeMenu('04','','Contact Details','','','','')
	oCMenu.makeMenu('0401','04','MEC','/contact_details/mec.htm')
	oCMenu.makeMenu('0402','04','HOD','/contact_details/hod.htm')
	oCMenu.makeMenu('0403','04','Chief Directorate','/contact_details/chief_directorate.htm')
	oCMenu.makeMenu('0404','04','Civilian Oversight','/contact_details/civilian_oversight.htm')
	oCMenu.makeMenu('0405','04','Crime Prevention','/contact_details/crime_prevention_directorate.htm')
	oCMenu.makeMenu('0406','04','Internal Auditors','/contact_details/internal_auditors.htm')
	oCMenu.makeMenu('0407','04','Police Stations','/contact_details/police_stations.htm')
	oCMenu.makeMenu('0408','04','Communication','/contact_details/communication_directorate.htm')
	oCMenu.makeMenu('0409','04','Victim Support Rooms','/contact_details/victim_support_rooms.htm')
	oCMenu.makeMenu('0410','04','Helplines','/contact_details/helplines.htm')
	oCMenu.makeMenu('0411','04','Integrated Justice System','/contact_details/integrated_justice_system.htm')
	oCMenu.makeMenu('0412','04','Corporate Services','/contact_details/corporate_services.htm')
	oCMenu.makeMenu('0413','04','Physical Security','/contact_details/physical_security.htm')
	oCMenu.makeMenu('0414','04','Records Management','/contact_details/records_management.htm')
//	oCMenu.makeMenu('0403o','04','Key Contacts','/contact_details/key_contacts.htm')
//	oCMenu.makeMenu('0404o','04','Services and Projects','')
//	oCMenu.makeMenu('0406o','04','Community Policing Forums','')
//	oCMenu.makeMenu('0410o','04','Provincial Map','')

	
oCMenu.makeMenu('bar04','','','','','138','2','/images/design/buttons/bar.gif','','')

oCMenu.makeMenu('05','','Legislation & Policies','','','','')
	oCMenu.makeMenu('0501','05','Bills, Acts & Regulations','')
		oCMenu.makeMenu('050101','0501','Constitution','http://www.info.gov.za/documents/constitution/index.htm','_blank')
		oCMenu.makeMenu('050102','0501','White Paper on Safety and Security','http://www.info.gov.za/whitepapers/1998/safety.htm','_blank')
		oCMenu.makeMenu('050103','0501','SAPS Act 1995','http://www.saps.gov.za/docs_publs/legislation/juta/a68of1995.pdf','_blank')
	oCMenu.makeMenu('0502','05','Policies','')
		oCMenu.makeMenu('050201','0502','National Crime Prevention Strategy','http://www.info.gov.za/otherdocs/1996/crime1.htm','_blank')
//	oCMenu.makeMenu('0503','05','Papers','')
	
oCMenu.makeMenu('bar05','','','','','138','2','/images/design/buttons/bar.gif','','')

oCMenu.makeMenu('06','','Docs & Publications','','','','')
	oCMenu.makeMenu('0601','06','Strategic Plans','/docs_publications/strategic_plans.htm','','200')
    oCMenu.makeMenu('0603','06','Reports','','','200')
		oCMenu.makeMenu('060301','0603','Annual Reports','/docs_publications/annual_report.htm','','200')
		oCMenu.makeMenu('060302','0603','Rural Safety Report','/docs_publications/rural_report.htm','','200')
//	oCMenu.makeMenu('0604','06','Newsletters','','','200')
//		oCMenu.makeMenu('060401','06','Youth Letter','/docs_publications/youth_letter.htm','','200')
	oCMenu.makeMenu('0605','06','Brochures','/docs_publications/brochures.htm','','200')
//	oCMenu.makeMenu('0606','06','Promotional Items','','','200')
	oCMenu.makeMenu('0608','06','How to access information: PAIA Manual','/docs_publications/paia.htm','','200')
	oCMenu.makeMenu('0609','06','Newsletters','/docs_publications/newsletter/newsletter_index.htm','','200')

oCMenu.makeMenu('bar06','','','','','138','2','/images/design/buttons/bar.gif','','')

oCMenu.makeMenu('07','','Media Desk','','','','')
	oCMenu.makeMenu('0701','07','Announcements','')
		oCMenu.makeMenu('070100','0701','2006','/media_desk/announcements/2006/default.htm')
		oCMenu.makeMenu('070101','0701','2005','/media_desk/announcements/2005/default.htm')
//		oCMenu.makeMenu('070102','0701','2004','')
//		oCMenu.makeMenu('070103','0701','2003','')
//		oCMenu.makeMenu('070104','0701','2002','')
//		oCMenu.makeMenu('070105','0701','All','')
	oCMenu.makeMenu('0702','07','Speeches','')
		oCMenu.makeMenu('070200','0702','2007','/media_desk/speeches/2007/default.htm')
		oCMenu.makeMenu('070201','0702','2006','/media_desk/speeches/2006/default.htm')
		oCMenu.makeMenu('070202','0702','2005','/media_desk/speeches/2005/default.htm')
//		oCMenu.makeMenu('070202','0702','2004','')
//		oCMenu.makeMenu('070203','0702','2003','')
//		oCMenu.makeMenu('070204','0702','2002','')
//		oCMenu.makeMenu('070205','0702','All','')
//	oCMenu.makeMenu('0703','07','Events Calendar','')
	oCMenu.makeMenu('0705','07','In the News','/media_desk/monthly_topic/default.htm')
//		oCMenu.makeMenu('070501','0705','Bail Applications','')
	oCMenu.makeMenu('0706','07','Photo Album','')
		oCMenu.makeMenu('070601','0706','Services & Projects','/media_desk/photo_album/services_projects/default.htm')
		oCMenu.makeMenu('070602','0706','Events/Activities','/media_desk/photo_album/events_activities/default.htm')
				
oCMenu.makeMenu('0707','07','Recent Events','/media_desk/photo_album/recent_events/default.htm')

	oCMenu.makeMenu('0708','07','Newsletters','/media_desk/newsletters/default.htm')


oCMenu.makeMenu('bar07','','','','','138','2','/images/design/buttons/bar.gif','','')

oCMenu.makeMenu('08','','Services & Projects','','','','')
//	oCMenu.makeMenu('0801','08','Service Standards','/services_projects/service_standards.htm')
	oCMenu.makeMenu('0802','08','Crime Prevention','')
		oCMenu.makeMenu('080201','0802','Background','/services_projects/crime_prevention.htm')
		oCMenu.makeMenu('080202','0802','Community Policing Forums [pdf]','/media_desk/monthly_topic/WebsiteCPFBrochureEnglish.pdf','_blank')
//			oCMenu.makeMenu('08020201','080202','Sport Against Crime','')
//			oCMenu.makeMenu('08020202','080202','Dont Buy Stolen Goods','')
//			oCMenu.makeMenu('08020203','080202','Tourism Safety Awareness','')
//			oCMenu.makeMenu('08020204','080202','Project Management','')
//		oCMenu.makeMenu('080203','0802','Protection of Women & Children','/services_projects/police_conduct/women_and_children.htm')
//		oCMenu.makeMenu('080204','0802','Victim Support Rooms','')
//		oCMenu.makeMenu('080205','0802','HIV/AIDS','')
//		oCMenu.makeMenu('080206','0802','Youth Development Centre','')
//		oCMenu.makeMenu('080207','0802','Youth Violence','')
//		oCMenu.makeMenu('080208','0802','Project Management Manual','')
//		oCMenu.makeMenu('080209','0802','A Provincial Map','')
	oCMenu.makeMenu('0803','08','Police Conduct','')
//		oCMenu.makeMenu('080301','0803','Background','/services_projects/police_conduct/background.htm','','183')
		oCMenu.makeMenu('080302','0803','Complaints Against Police','/media_desk/monthly_topic/complaints.htm','','183')
		oCMenu.makeMenu('080303','0803','Toll Free Call Centre','/media_desk/photo_album/services_projects/default.htm','','183')
		oCMenu.makeMenu('080304','0803','Community Perception Surveys','/services_projects/police_conduct/cmnty_surveys.htm','','183')
//		oCMenu.makeMenu('080305','0803','Police Dealing with Women & Children','/services_projects/police_conduct/women_and_children.htm','','183')
//	oCMenu.makeMenu('0804','08','Public Awareness & Training','')
//		oCMenu.makeMenu('080401','0804','Background','')
//		oCMenu.makeMenu('080402','0804','Community Policing Forum','')
//	oCMenu.makeMenu('0805','08','Volunteers','')
	oCMenu.makeMenu('0806','08','Services to the public','/media_desk/photo_album/services_projects/default.htm')
	oCMenu.makeMenu('0807','08','Photo Album','/media_desk/photo_album/events_activities/default.htm')

oCMenu.makeMenu('bar08','','','','','138','2','/images/design/buttons/bar.gif','','')

oCMenu.makeMenu('09','','Forms','','','','')
	oCMenu.makeMenu('0901','09','Register as Supplier','/forms/RegisterServiceProvider.xls','_blank')
	oCMenu.makeMenu('0902','09','Application for a Position in the Dept','/forms/ApllicationForm.doc','_blank')

oCMenu.makeMenu('bar09','','','','','138','2','/images/design/buttons/bar.gif','','')

oCMenu.makeMenu('10','','Safety Tips','/tips/general_info.htm')
	oCMenu.makeMenu('1001','10','Arrestation Rights','/media_desk/monthly_topic/when_arrested.htm')
//	oCMenu.makeMenu('1001','10','Good Policing','')
//		oCMenu.makeMenu('100101','1001','Arrestation Rights','/media_desk/monthly_topic/when_arrested.htm')
//		oCMenu.makeMenu('100102','1001','Protection Orders','')
//	oCMenu.makeMenu('1002','10','Bail Application','')
//	oCMenu.makeMenu('1003','10','Report On...','')
//		oCMenu.makeMenu('100301','1003','Rape','')
//		oCMenu.makeMenu('100302','1003','Abuse','')
//		oCMenu.makeMenu('100303','1003','Firearms','')
//	oCMenu.makeMenu('1004','10','How to Join a CPF [pdf]','/media_desk/monthly_topic/WebsiteCPFBrochureEnglish.pdf','_blank')
//	oCMenu.makeMenu('1005','10','Neighbourhood Watch','')
	oCMenu.makeMenu('1006','10','Business Watch','/media_desk/monthly_topic/cctv_success-welkom-a.htm')
	oCMenu.makeMenu('1007','10','Personal Safety','/tips/personal_safety.htm')
	oCMenu.makeMenu('1008','10','Safety of children','/tips/safety_of_children.htm')
//	oCMenu.makeMenu('1009','10','Women','')
//	oCMenu.makeMenu('1010','10','Elderly','')
//	oCMenu.makeMenu('1011','10','Stock Theft','')
	oCMenu.makeMenu('1012','10','Domestic violence','/tips/domestic_violence_and_sexual_offences.htm')
	oCMenu.makeMenu('1013','10','Hostage and hijack situations','/tips/hostage_hijack.htm')
	oCMenu.makeMenu('1014','10','Firearms','/tips/firearms.htm')
	oCMenu.makeMenu('1015','10','HIV and AIDS','/tips/HIV_AIDS.htm')
	oCMenu.makeMenu('1016','10','Alcohol','/tips/alcohol.htm')
	oCMenu.makeMenu('1017','10','Swimming','/tips/swimming.htm')
	oCMenu.makeMenu('1018','10','Road safety','/tips/road_safety.htm')
	
oCMenu.makeMenu('bar10','','','','','138','2','/images/design/buttons/bar.gif','','')

oCMenu.makeMenu('11','','Guest Book','/guest_book/default.asp','','','')

oCMenu.makeMenu('bar11','','','','','138','2','/images/design/buttons/bar.gif','','')

oCMenu.makeMenu('12','','CPF Feedback Form','/forms/your_opinion.asp','','','')

oCMenu.makeMenu('bar12','','','','','138','2','/images/design/buttons/bar.gif','','')

//oCMenu.makeMenu('11','','&nbspAwards','','','','')

//oCMenu.makeMenu('bar11','','','','','138','2','/images/design/buttons/bar.gif','','')

//oCMenu.makeMenu('12','','&nbspStatistics','','','','')

//oCMenu.makeMenu('bar12','','','','','138','2','/images/design/buttons/bar.gif','','')

//oCMenu.makeMenu('16','','&nbspLogin','http://testweb.sita.co.za/temp2/maintenance.asp','','')

//oCMenu.makeMenu('bar16','','','','','138','2','/images/design/buttons/bar.gif','','')

oCMenu.construct()