/* 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
oCMenu2.openOnClick=1
//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','','Severe Weather','http://www.hcphes.org/php/weathereng/severe.htm')
oCMenu2.makeMenu('top1','','Beat the Heat','http://www.hcphes.org/php/weatherENG/heat/beattheheat1.htm')

//																	link				T	w	h
oCMenu2.makeMenu('top2','','Handwashing Resources','http://www.hcphes.org/PROJ/HANDWASHING/index.htm')
			
oCMenu2.makeMenu('top3','','Home Safety Information &#9658;')
oCMenu2.makeMenu('sub30','top2','ABCD&#146;s of Keeping Food Safe','http://www.hcphes.org/php/weathereng/hurricane/ABCDs%20Keeping%20food%20Safe%20_Eng13June2006.htm')
	oCMenu2.makeMenu('sub31','top3','Chlorination: Small Wells','http://www.hcphes.org/eph/water%20wells.htm')
	oCMenu2.makeMenu('sub32','top3','Disinfecting Water','http://www.hcphes.org/php/weathereng/hurricane/boilwater.pdf')
	oCMenu2.makeMenu('sub33','top3','Generator Safety','http://www.cpsc.gov/cpscpub/pubs/portgen.html')
	oCMenu2.makeMenu('sub34','top3','Inspecting Utilities','http://www.hcphes.org/php/weatherENG/hurricane/Flood%20Safety%20Inspecting%20Utilities%20In%20a%20Damaged%20Home_02June2006.pdf')
	oCMenu2.makeMenu('sub35','top3','Mold Questions','http://www.hcphes.org/eph/moldfaqs.htm')
	oCMenu2.makeMenu('sub36','top3','Power Outages','http://www.hcphes.org/php/weatherENG/hurricane/If%20your%20power%20is%20off.pdf')
	oCMenu2.makeMenu('sub37','top3','Rodent Control','http://www.hcphes.org/php/weather/hurricane/pdf/Rodent%20Control%20After%20a%20Disaster_CDC_English.pdf')

			
oCMenu2.makeMenu('top4','','Pet Disaster Information','http://www.hcphes.org/vph/Disaster%20Planning/Disaster_Planning.htm')

oCMenu2.makeMenu('top5','','Storm Signals', 'http://www.srh.noaa.gov/hgx/stormsignals/default.html')

oCMenu2.makeMenu('top6','','Tetanus', 'http://www.hcphes.org/factsheets/disease/FSTETANUSEngMarch2008.pdf')
	

oCMenu2.makeMenu('top7','','PSAs &#9658;')
	oCMenu2.makeMenu('sub70','top7','Floods','http://www.bt.cdc.gov/disasters/floods/psa/')
oCMenu2.makeMenu('sub71','top7','Hurricanes','http://emergency.cdc.gov/disasters/hurricanes/psa.asp')
	
//check the one below
//Leave this line - it constructs the menu
oCMenu2.construct()