/* CoolMenus 4 - default styles - end */
/******************* MENU NUMBER 2 **********************************/



/*** 
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
oCMenu.openOnClick=1
//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=4
oCMenu.fromTop=250
//change to 0 for vertical
oCMenu.rows=0
//center the menu
oCMenu.menuPlacement=""
                                                             
oCMenu.offlineRoot="/" 
oCMenu.onlineRoot="/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
//higher z index =more toward front
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
//oCMenu.barWidth="100%"
//oCMenu.barHeight="menu" 
oCMenu.barHeight=30
//oCMenu.barClass="cl2Bar"
//oCMenu.barX=0 
//oCMenu.barY=0
//oCMenu.barBorderX=0
//oCMenu.barBorderY=0
//
//oCMenu.barBorderClass="cl2Level0border"

//Level properties - ALL properties have to be spesified in level 0
//oCMenu.level[0].fromTop=230
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=215
oCMenu.level[0].height=35

//must point the menus at different style classes if you want them to look different

oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].align="right"
oCMenu.level[0].rows=0
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
//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=oCMenu.level[0].width-2
//oCMenu.level[1].menuPlacement="right"
oCMenu.level[1].width=250
oCMenu.level[1].height=24
oCMenu.level[1].offsetX=-100
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].borderClass="cl2Level0border"

//oCMenu.level[1].align="center" 
/*"bottom": The sub menus of this level will come out on the top of this item
"top": The sub menus of this level will come out on the bottom of this item
"left": The sub menus of this level will come out on the right of this item
"right": The sub menus of this level will come out on the left of this item 
oCMenu.level[1].align="top"
//oCMenu.level[1].rows=0


//oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="cl2Level1border"
//oCMenu.level[1].zIndex=200

//
//oCMenu.level[1].zIndex=-1

/******************************************
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('top0','','About Health Education & Promotion', 'http://www.hcphes.org/HED%20%26%20PROMOTION/abouthealth%20education%20promotion.htm','','','','','','','')
oCMenu.makeMenu('top1','','Programs &#9658','','','','','','','','')
	oCMenu.makeMenu('sub10','top1','School Health', 'http://www.hcphes.org/HED%20%26%20PROMOTION/School%20Health/School%20Health%20Promotion.htm')
	oCMenu.makeMenu('sub11','top1','Community Health', 'http://www.hcphes.org/HED%20%26%20PROMOTION/Community%20Health%20Promotion.htm')
	oCMenu.makeMenu('sub12','top1','Healthy Environment', 'http://www.hcphes.org/HED%20%26%20PROMOTION/Healthy%20Environment/Healthy%20Places%20and%20Healthy%20Environment.htm')
	oCMenu.makeMenu('sub13','top1','Injury Prevention', 'http://www.hcphes.org/HED%20%26%20PROMOTION/Community%20Health/Injury%20Prevention%20Project/Water%20Saftey/injury_prevention.htm')
	

oCMenu.makeMenu('top2','','Projects &#9658', 'http://www.hcphes.org/HED%20%26%20PROMOTION/projects.htm','','','','','','','')
oCMenu.makeMenu('sub20','top2','B3 (Be Real! Be Safe! Be Cool!)', 'http://www.hcphes.org/HED%20%26%20PROMOTION/Community%20Health/B3%20BE%20REAL%20BE%20SAFE%20BE%20COOL/B3%20BE%20REAL%20BE%20SAFE%20BE%20COOL.htm')
	
	//oCMenu.makeMenu('sub21','top2','Steps CATCH', 'http://www.hcphes.org/HED%20%26%20PROMOTION/steps_catch.htm')
	
	oCMenu.makeMenu('sub21','top2','Water Safety', 'http://www.hcphes.org/HED%20%26%20PROMOTION/Community%20Health/Injury%20Prevention%20Project/Water%20Saftey/program_goal.htm')
	oCMenu.makeMenu('sub22','top2','Can We Talk?', 'http://www.hcphes.org/HED%20%26%20PROMOTION/Community%20Health/Can%20We%20Talk/can_we_talk.htm')
	oCMenu.makeMenu('sub23','top2','Built Environment', 'http://www.hcphes.org/HED%20%26%20PROMOTION/Community%20Health/Built%20Environment%20&%20Physical%20Activity/built_environment__physical_act%20main.htm')


oCMenu.makeMenu('top3','','Partnerships &#9658','','','','','','','','')
	oCMenu.makeMenu('sub30','top3','B3 (Be Real! Be Safe! Be Cool!)', 'http://www.hcphes.org/HED%20%26%20PROMOTION/Community%20Health/B3%20BE%20REAL%20BE%20SAFE%20BE%20COOL/B3%20BE%20REAL%20BE%20SAFE%20BE%20COOL.htm')
	oCMenu.makeMenu('sub31','top3','Steps Consortium', 'http://www.hcphes.org/HED%20%26%20PROMOTION/STEPS%20Consortium/steps_consortium.htm')
	//oCMenu.makeMenu('sub32','top3','MCHO Team', 'http://www.hcphes.org/HED%20%26%20PROMOTION/mcho.htm')
	oCMenu.makeMenu('sub32','top3','School Health Leadership', 'http://www.hcphes.org/HED%20%26%20PROMOTION/School%20Health/School%20health%20Leadership%20Group.htm')
	//oCMenu.makeMenu('sub33','top3','Community Health Advisors', 'http://www.hcphes.org/HED%20%26%20PROMOTION/community_health_advisors.htm')





//																	link				T	w	h
oCMenu.makeMenu('top4','','Links', 'http://www.hcphes.org/HED%20%26%20PROMOTION/Health%20Ed%20&%20Promo%20Links.htm','','','','','','','')
	
		
oCMenu.makeMenu('top5','','For Health Professionals','http://www.sophe.org/Publications_Resources.cfm')
		
oCMenu.makeMenu('top6','','Health Topics A-Z','http://www.cdc.gov/az/a.html')
oCMenu.makeMenu('top7','','Contact Us', 'http://www.hcphes.org/HED%20%26%20PROMOTION/HED%20PROMO%20contact_us.htm')

//


//Leave this line - it constructs the menu
oCMenu.construct()
