/*** 
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.
**/

var oCMenu=new makeCM("oCMenu")

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=0
oCMenu.fromTop=7
oCMenu.rows=1
oCMenu.menuPlacement="center"

oCMenu.wait=1000 
oCMenu.fillImg="/images/indent.gif"
oCMenu.zIndex=0
oCMenu.resizeCheck=1 

oCMenu.offlineRoot="file://C|/home/sealeta/public_html"
oCMenu.onlineRoot="/"  

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="100%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
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
//Syntax for fast creation (advanced users only)
//oCMenu.level[1]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight)
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=190
oCMenu.level[0].height=22 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0

oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
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=380
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-2
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].arrow="menu_arrow.gif"
oCMenu.level[1].arrowWidth=10
oCMenu.level[1].arrowHeight=10

//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=380
oCMenu.level[2].height=22
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"

/******************************************
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('top02','','Law Enforcement Training','http://www.sealeta.com/courses.html','')
	oCMenu.makeMenu('sub020','top02','- Criminal intelligence training','courses_criminal-intelligence.html','')
	oCMenu.makeMenu('sub021','top02','- Basic investigations training','courses_basic_criminal_investigation.html','')
	oCMenu.makeMenu('sub022','top02','- Drug investigations','courses_drug_investigations.html','')
	oCMenu.makeMenu('sub023','top02','- Human trafficking investigations','http://www.sealeta.com/courses_trafficking-pedophile-child-porn.html','')
	oCMenu.makeMenu('sub024','top02','- Pedophile investigations','http://www.sealeta.com/courses_trafficking-pedophile-child-porn.html','')
	oCMenu.makeMenu('sub025','top02',"- Child labor investigations",'http://www.sealeta.com/courses_child-labor.html','')
	oCMenu.makeMenu('sub026','top02','- Investigating corruption','http://www.sealeta.com/courses_institutionalized_corruption.html','')
	oCMenu.makeMenu('sub027','top02','- Human rights for law enforcement','courses_human_rights_for_law_enforcement.html','')
	oCMenu.makeMenu('sub028','top02','- Interviewing victims of crime ','courses_interviewing_victims_of_crime.html','')

oCMenu.makeMenu('top03','','Business Training','http://www.sealeta.com/courses.html','')
	oCMenu.makeMenu('sub030','top03','- Safety/security training for expats in SE Asia','http://www.sealeta.com/courses_safety-security-expats.html','')
	oCMenu.makeMenu('sub031','top03','- Security assessments and consultation','http://www.sealeta.com/courses_security_assessments_consultations.html','')
	oCMenu.makeMenu('sub032','top03','- Investigations training for security staff','http://www.sealeta.com/courses_staff_investigations_training.html','')

oCMenu.makeMenu('top04','','Universities/NGOs','http://www.sealeta.com/courses.html','')
	oCMenu.makeMenu('sub040','top04','University and NGO Courses','','')
		oCMenu.makeMenu('sub0400','sub040','- Institutionalized corruption ','http://www.sealeta.com/courses_institutionalized_corruption.html','')
		oCMenu.makeMenu('sub0401','sub040','- Drugs','http://www.sealeta.com/courses_drugs.html','')
		oCMenu.makeMenu('sub0402','sub040','- Human trafficking','http://www.sealeta.com/courses_human-trafficking.html','')
		oCMenu.makeMenu('sub0403','sub040','- Sex tourism','http://www.sealeta.com/courses_sex-tourism.html','')
		oCMenu.makeMenu('sub0404','sub040','- Pedophiles and child sex tourists','http://www.sealeta.com/courses_pedophiles.html','')
		oCMenu.makeMenu('sub0405','sub040','- Statelessness','http://www.sealeta.com/courses_statelessness.html','')
		oCMenu.makeMenu('sub0406','sub040','- Child labor','http://www.sealeta.com/courses_child-labor.html','')
		oCMenu.makeMenu('sub0407','sub040','- Domestic violence','http://www.sealeta.com/courses_domestic-violence-se-asia.html','')
		oCMenu.makeMenu('sub0408','sub040','- Human rights','courses_human_rights.html','')
		oCMenu.makeMenu('sub0409','sub040','- HIV and STIs','http://www.sealeta.com/courses_HIV.html','')
		oCMenu.makeMenu('sub04010','sub040','- Cross border migration','courses_cross_border_migration.html','')
		oCMenu.makeMenu('sub04011','sub040','- Cultural change','courses_cultural_change.html','')
	oCMenu.makeMenu('sub041','top04','Skills-Based Training for NGOs','','')
		oCMenu.makeMenu('sub0410','sub041','- Basic counseling skills for volunteers','http://www.sealeta.com/courses_basic-counseling-skills.html','')
		oCMenu.makeMenu('sub0411','sub041','- Investigation skills for NGO workers','courses_investigation_skills_for_ngo_workers.html','')
		oCMenu.makeMenu('sub0412','sub041','- Interviewing victims','courses_interviewing_victims.html','')
		oCMenu.makeMenu('sub0413','sub041','- Safety and security for human rights workers','http://www.sealeta.com/courses_safety-securiy-ngo-workers.html','')
		oCMenu.makeMenu('sub0414','sub041','- Debunking the internet','http://www.sealeta.com/courses_debunking-the-internet.html','')
		oCMenu.makeMenu('sub0415','sub041','- Communication and networking','courses_communication_networking.html','')
		oCMenu.makeMenu('sub0416','sub041','- Identifying and preventing burnout','http://www.sealeta.com/courses_preventing-burnout.html','')
		oCMenu.makeMenu('sub0417','sub041','- Psychological first aid','http://www.sealeta.com/courses_psychological-first-aid.html','')

oCMenu.makeMenu('top05','','SEALETA','','')
	oCMenu.makeMenu('sub050','top05','- Courses','http://www.sealeta.com/courses.html','')
	oCMenu.makeMenu('sub051','top05','- About Us','http://www.sealeta.com/about-sealeta.html','')
	oCMenu.makeMenu('sub052','top05','- Contact Us','http://www.sealeta.com/contact-sealeta.html','')
	oCMenu.makeMenu('sub053','top05','- Site Map','http://www.sealeta.com/site-map.html','')
	oCMenu.makeMenu('sub054','top05','- Home','http://www.sealeta.com/index.html','')

//Leave this line - it constructs the menu
oCMenu.construct()		

