/*** 
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=150
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=250
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('top01','','Home','http://www.sealeta.com/index.html','')

oCMenu.makeMenu('top02','','Law Enforcement','http://www.sealeta.com/courses.html','')
	oCMenu.makeMenu('sub020','top02','- Airport Interdiction','http://www.sealeta.com/courses_airport-interdiction-for-law-enforcement.html','')
	oCMenu.makeMenu('sub021','top02','- Child Sex Tourism','http://www.sealeta.com/courses_trafficking-pedophile-child-porn.html','')
	oCMenu.makeMenu('sub022','top02','- Child Pornography','http://www.sealeta.com/courses_trafficking-pedophile-child-porn.html','')
	oCMenu.makeMenu('sub023','top02','- Criminal Intelligence','http://www.sealeta.com/courses_criminal-intelligence.html','')
	oCMenu.makeMenu('sub024','top02','- Human Trafficking','http://www.sealeta.com/courses_trafficking-pedophile-child-porn.html','')
	oCMenu.makeMenu('sub025','top02',"- i2 Analyst's Notebook",'http://www.sealeta.com/courses_i2-analysts-notebook.html','')
	oCMenu.makeMenu('sub026','top02','- Pedophiles','http://www.sealeta.com/courses_trafficking-pedophile-child-porn.html','')
	oCMenu.makeMenu('sub027','top02','- School Safety/Security','http://www.sealeta.com/courses_school-safety-security.html','')

oCMenu.makeMenu('top03','','University/NGO','http://www.sealeta.com/courses.html','')
	oCMenu.makeMenu('sub030','top03','- Basic counseling Skills','http://www.sealeta.com/courses_basic-counseling-skills.html','')
	oCMenu.makeMenu('sub031','top03','- Child Labor','http://www.sealeta.com/courses_child-labor.html','')
	oCMenu.makeMenu('sub032','top03','- Debunking the Internet','http://www.sealeta.com/courses_debunking-the-internet.html','')
	oCMenu.makeMenu('sub033','top03','- Domestic Violence in SE Asia','http://www.sealeta.com/courses_domestic-violence-se-asia.html','')
	oCMenu.makeMenu('sub034','top03','- Drugs','http://www.sealeta.com/courses_drugs.html','')
	oCMenu.makeMenu('sub035','top03','- HIV','http://www.sealeta.com/courses_HIV.html','')
	oCMenu.makeMenu('sub036','top03','- Human Trafficking','http://www.sealeta.com/courses_human-trafficking.html','')
	oCMenu.makeMenu('sub037','top03','- Institutionalized Corruption','http://www.sealeta.com/courses_institutionalized_corruption.html','')
	oCMenu.makeMenu('sub038','top03','- Pedophiles','http://www.sealeta.com/courses_pedophiles.html','')
	oCMenu.makeMenu('sub039','top03','- Preventing Burnout','http://www.sealeta.com/courses_preventing-burnout.html','')
	oCMenu.makeMenu('sub0310','top03','- Psychological First Aid','http://www.sealeta.com/courses_psychological-first-aid.html','')
	oCMenu.makeMenu('sub0311','top03','- Safety and Security for NGO Workers','http://www.sealeta.com/courses_safety-securiy-ngo-workers.html','')
	oCMenu.makeMenu('sub0312','top03','- SE Asia Social Issues','http://www.sealeta.com/courses_social-issues-se-asia.html','')
	oCMenu.makeMenu('sub0313','top03','- Sex Tourism','http://www.sealeta.com/courses_sex-tourism.html','')
	oCMenu.makeMenu('sub0314','top03','- Statelessnesss','http://www.sealeta.com/courses_statelessness.html','')

oCMenu.makeMenu('top04','','About Us','http://www.sealeta.com/about-sealeta.html','')

oCMenu.makeMenu('top05','','Contact Us','http://www.sealeta.com/contact-sealeta.html','')

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