/* 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.openOnClick=1
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=165
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].offsetX=200
oCMenu2.level[1].offsetY=200
//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].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','','Mosquito Control Home','http://www.hcphes.org/hcmosquitoctrl/')
	
	//																link				T	w	h
oCMenu2.makeMenu('top1','','Current Disease Activity &#9658;','http://www.hcphes.org/hcmosquitoctrl/dbInfoActivityMaps/dbdefault.html','','','')
	oCMenu2.makeMenu('sub10','top1','Zip Code Listing', 'http://www.hcphes.org/hcmosquitoctrl/dbInfoActivityMaps/currenttable.htm')
	//oCMenu2.makeMenu('sub11','top1','Activity Maps','http://www.hcphes.org/hcmosquitoctrl/dbInfoActivityMaps/currentcombined.pdf')
oCMenu2.makeMenu('sub11','top1','Activity Maps','http://www.hcphes.org/hcmosquitoctrl/dbInfoActivityMaps/currentcombined.htm')
oCMenu2.makeMenu('top2','','Dead Bird Reporting','http://www.hcphes.org/hcmosquitoctrl/dbInfoActivityMaps/dbdropoff.htm')	
oCMenu2.makeMenu('top3','','Proposed Treatment','http://www.hcphes.org/hcmosquitoctrl/SprayPlanInfoMaps/aspimdefault.html','','','')
oCMenu2.makeMenu('top4','','Enhanced Security Measures','http://www.hcphes.org/hcmosquitoctrl/Security%20Measures.html')	
oCMenu2.makeMenu('top5','','Education Programs','http://www.hcphes.org/hcmosquitoctrl/schools.htm')
oCMenu2.makeMenu('top6','','Resources &#9658;')
	oCMenu2.makeMenu('sub60','top6','Community', 'http://www.hcphes.org/hcmosquitoctrl/community.htm')
	oCMenu2.makeMenu('sub61','top6','Fact Sheets/Posters','http://www.hcphes.org/hcmosquitoctrl/factsheets.htm')
	oCMenu2.makeMenu('sub62','top6','Links', 'http://www.hcphes.org/hcmosquitoctrl/links.htm')
oCMenu2.makeMenu('top7','','Press Releases','http://www.hcphes.org/hcpress/')
oCMenu2.makeMenu('top8','','Contact Us','http://www.hcphes.org/hcmosquitoctrl/contact.htm')			


oCMenu2.construct()