/* 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
oCMenu2=new makeCM("oCMenu2") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu2.pxBetween=0
oCMenu2.fromLeft=4 
oCMenu2.fromTop=250
//change to 0 for vertical
oCMenu2.rows=0
oCMenu2.menuPlacement=0
                                                             
oCMenu2.offlineRoot="/" 
oCMenu2.onlineRoot="/" 
oCMenu2.resizeCheck=1 
oCMenu2.wait=1000 
oCMenu2.fillImg="cm_fill.gif"
//higher z index =more toward front
oCMenu2.zIndex=0

//Background bar properties
oCMenu2.useBar=0
//oCMenu2.barWidth="100%"
//oCMenu2.barHeight="menu" 
oCMenu2.barHeight=30
//oCMenu2.barClass="cl2Bar"
//oCMenu2.barX=0 
//oCMenu2.barY=0
//oCMenu2.barBorderX=0
//oCMenu2.barBorderY=0
//
//oCMenu2.barBorderClass="cl2Level0border"

//Level properties - ALL properties have to be spesified in level 0
//oCMenu2.level[0].fromTop=230
oCMenu2.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu2.level[0].width=215
oCMenu2.level[0].height=35

//must point the menus at different style classes if you want them to look different

oCMenu2.level[0].offsetX=0
oCMenu2.level[0].offsetY=0
oCMenu2.level[0].align="right"
oCMenu2.level[0].rows=0
oCMenu2.level[0].regClass="clLevel0"
oCMenu2.level[0].overClass="clLevel0over"
oCMenu2.level[0].borderX=1
oCMenu2.level[0].borderY=1
//oCMenu2.level[0].borderClass="cl2Level0border"

oCMenu2.level[0].arrow=0
oCMenu2.level[0].arrowWidth=0
oCMenu2.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
oCMenu2.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
//oCMenu2.level[1].width=oCMenu2.level[0].width-2
//oCMenu2.level[1].menuPlacement="right"
oCMenu2.level[1].width=225
oCMenu2.level[1].height=24
oCMenu2.level[1].regClass="clLevel1"
oCMenu2.level[1].overClass="clLevel1over"
oCMenu2.level[1].borderX=1
oCMenu2.level[1].borderY=1
oCMenu2.level[1].borderClass="cl2Level0border"

//oCMenu2.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 
oCMenu2.level[1].align="top"
//oCMenu2.level[1].rows=0


//oCMenu2.level[1].offsetX=-(oCMenu2.level[0].width-2)/2+20
oCMenu2.level[1].offsetX=0
oCMenu2.level[1].offsetY=0
oCMenu2.level[1].borderClass="cl2Level1border"
//oCMenu2.level[1].zIndex=200

//
//oCMenu2.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) 
*************************************/


oCMenu2.makeMenu('top0','','Environmental Public Health Home','http://www.hcphes.org/eph/default.htm')

oCMenu2.makeMenu('top1','','Warnings & Recalls','http://www.hcphes.org/recalls.htm')
//																	link				T	w	h
oCMenu2.makeMenu('top2','','File a Complaint or Have a Question?', 'http://www.hcphes.org/eph/complaints.htm')
			
oCMenu2.makeMenu('top3','','General FAQs','http://www.hcphes.org/eph/faq.htm')
			
//oCMenu2.makeMenu('top4','','Programs & Services','http://www.hcphes.org/eph/default.htm')
	

oCMenu2.makeMenu('top4','','Food Service Permits','http://www.hcphes.org/eph/onlinepermits2.htm')

oCMenu2.makeMenu('top5','','Regulation Links','http://www.hcphes.org/eph/reg.htm')
	
oCMenu2.makeMenu('top6','','Contact Us','http://www.hcphes.org/eph/contact.htm')
oCMenu2.makeMenu('top7','','Sitemap','http://www.hcphes.org/eph/sitemap.htm')
oCMenu2.makeMenu('top8','','Water Service Phone Numbers','http://www.hcphes.org/eph/new_page_9.htm')
//oCMenu2.makeMenu('top9','','Links','http://www.hcphes.org/eph/links.htm')
oCMenu2.makeMenu('top9','','Training &amp; Resources')
//Leave this line - it constructs the menu

	oCMenu2.makeMenu('sub9','top9','Food Managers Training Schedule','http://wwwtest2/eph/food school schedule.pdf')
	oCMenu2.makeMenu('sub91','top9','Toolkit for Daycare Facilities','http://wwwtest2/eph/child%20care%20resources.htm')
	oCMenu2.makeMenu('sub92','top9','Downloadable Signs and Posters','http://wwwtest2/eph/new_page_2.htm#downloadable')
	oCMenu2.makeMenu('sub93','top9','Videos &amp; Presentations', 'http://wwwtest2/eph/videos.htm')

	

oCMenu2.construct()