//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname
oCMenu.openOnClick=1
oCMenu.openOnClick=1
//FOR TOP HORIZONTAL MENU Menu properties   for the horizontal menu
oCMenu.pxBetween=0
oCMenu.fromLeft=0
//Check browser and adjust distance of menu from top accordingly
var browser=navigator.appName;
if (browser=='Netscape') {
oCMenu.fromTop=200
}
var browser=navigator.appName;
if (browser=='Microsoft Internet Explorer') {
oCMenu.fromTop=202
}
//Menu properties   
oCMenu.pxBetween=15
oCMenu.fromLeft=0 

oCMenu.rows=1
//oCMenu.menuPlacement="center"
oCMenu.menuPlacement="left"                              
oCMenu.offlineRoot="/" 
//set to the appropriate directory in the web server root directory name must be written with slash in front and back
oCMenu.onlineRoot="/"
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

// background bar turned of =0
oCMenu.useBar=1
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.pxBetween=2

oCMenu.barBorderClass="cl2Bar"
//oCMenu.barWidth="750"
//oCMenu.barWidth="2048"
//oCMenu.barHeight="30" 
oCMenu.barHeight="30" 
oCMenu.barX="menu"
oCMenu.barY="menu"

//FOR TOP HORIZONTAL MENU Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level

//
//oCMenu.level[0].roundBorder=2
//
oCMenu.level[0].width=90
oCMenu.level[0].height=24
oCMenu.level[0].regClass="cl2Level0"
oCMenu.level[0].overClass="cl2Level0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="cl2Level0border"
oCMenu.level[0].offsetY=0
oCMenu.level[0].offsetX=0
oCMenu.level[0].rows=0
oCMenu.level[0].align="bottom"

oCMenu.level[1]=new cm_makeLevel() //Add this for each new level

oCMenu.level[1].width=250
oCMenu.level[1].borderY=1
oCMenu.level[1].rows=0
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].align="right"

oCMenu.level[2]=new cm_makeLevel()
oCMenu.level[2].rows=0
oCMenu.level[2].regClass="cl2Level2"

oCMenu.level[2].offsetY=-35

oCMenu.level[2].align="right"
//myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 

oCMenu.makeMenu('top0','', 'About Us',"","", '65')
  	oCMenu.makeMenu('sub00','top0','Mission','http://www.hcphes.org/mission.htm')
	oCMenu.makeMenu('sub01','top0','Vision','http://www.hcphes.org/vision.htm')
	oCMenu.makeMenu('sub02','top0','Organization','http://www.hcphes.org/organ.htm')
	
oCMenu.makeMenu('sub03','top0','HCPHES Strategic Plan','http://www.hcphes.org/HCPHESStrategicPlan1005_2.pdf')
oCMenu.makeMenu('sub04','top0','HCPHES Annual Report','')



		oCMenu.makeMenu('sub040','sub04','HCPHES 2007 Annual Report','http://www.hcphes.org/2007annual.pdf')
		oCMenu.makeMenu('sub041','sub04','HCPHES 2006 Annual Report','http://www.hcphes.org/note.htm')
		oCMenu.makeMenu('sub042','sub04','HCPHES 2005 Annual Report','http://www.hcphes.org/2005annual.pdf')
		oCMenu.makeMenu('sub043','sub04','HCPHES 2004 Annual Report','http://www.hcphes.org/2004annual.pdf')
		oCMenu.makeMenu('sub044','sub04','HCPHES 2003 Annual Report','http://www.hcphes.org/2003annual.pdf')
	
	 
oCMenu.makeMenu('sub05','top0','History of HCPHES','http://www.hcphes.org/HCPHES%20HISTORY/HCPHES%20History.htm')	 
oCMenu.makeMenu('sub06','top0','Contact Us','http://www.hcphes.org/contactus.htm')
oCMenu.makeMenu('sub07','top0','Site Map','http://www.hcphes.org/sitemap.htm')

oCMenu.makeMenu('top1','','What&#8216;s New',"","", '77')
		oCMenu.makeMenu('sub10','top1','Press Releases & Health Alerts','http://www.hcphes.org/hcpress/default.htm')
		oCMenu.makeMenu('sub11', 'top1','HCPHES Annual Report','')
				oCMenu.makeMenu('sub110','sub11','HCPHES 2007 Annual Report','http://www.hcphes.org/2007annual.pdf')
				oCMenu.makeMenu('sub111','sub11','HCPHES 2006 Annual Report','http://www.hcphes.org/note.htm')
				oCMenu.makeMenu('sub112','sub11','HCPHES 2005 Annual Report','http://www.hcphes.org/2005annual.pdf')
				oCMenu.makeMenu('sub123','sub11','HCPHES 2004 Annual Report','http://www.hcphes.org/2004annual.pdf')
				oCMenu.makeMenu('sub124','sub11','HCPHES 2003 Annual Report','http://www.hcphes.org/2003annual.pdf')
		oCMenu.makeMenu('sub12','top1','Controlling Tuberculosis in Harris County','http://www.hcphes.org/redirect/tb_erratum.htm')			
		oCMenu.makeMenu('sub13','top1','HCPHES Immunization Action Plan','http://www.hcphes.org/ITFReport518311.pdf')
	
oCMenu.makeMenu('sub14','top1','HCPHES Strategic Plan','http://www.hcphes.org/HCPHESStrategicPlan1005_2.pdf')
oCMenu.makeMenu('sub15','top1','HCPHES Pandemic Influenza Plan','http://www.hcphes.org/flu/HCPHESFluResponsePlan.pdf')
	



	



		
//oCMenu.makeMenu('top2', '', 'Divisions/', "\n", 'Offices' , "","", '107')
oCMenu.makeMenu('top2', '', 'Divisions/Offices' , "","", '107')
	oCMenu.makeMenu('sub20', 'top2','Operations and Finance','http://www.hcphes.org/adm/')
	
	//counter would not count hits until I put the specific page at the end Why?
	oCMenu.makeMenu('sub21',  'top2','Disease Control & Clinical Prevention','http://www.hcphes.org/dccp/')
		oCMenu.makeMenu('sub22', 'top2','Environmental Public Health','http://www.hcphes.org/eph/default.htm')
	
	oCMenu.makeMenu('sub23','top2','Health Education & Promotion','http://www.hcphes.org/hed & Promotion/index.htm')

	oCMenu.makeMenu('sub24', 'top2','Mosquito Control','http://www.hcphes.org/hcmosquitoctrl/')
	oCMenu.makeMenu('sub25', 'top2','Policy & Planning','http://www.hcphes.org/opp/')

	oCMenu.makeMenu('sub26', 'top2','Public Health Preparedness','http://www.hcphes.org/php2')
	oCMenu.makeMenu('sub27', 'top2','Public Information','http://www.hcphes.org/web2/opi')
		

	//oCMenu.makeMenu('sub251',  'sub25','Public Health Preparedness','http://www.hcphes.org/ophp/')
	//oCMenu.makeMenu('sub252',  'sub25','Policy and Planning','http://www.hcphes.org/opp/')
	oCMenu.makeMenu('sub28','top2','Veterinary Public Health','http://www.hcphes.org/vph/index.htm')
	
	//oCMenu.makeMenu('sub23','top2','Health Education & Promotion','http://www.hcphes.org/hed/')
	//oCMenu.makeMenu('sub24', 'top2','Mosquito Control','http://www.hcphes.org/hcmosquitoctrl/')
	//oCMenu.makeMenu('sub25',  'top2','Office of Public Information','http://www.hcphes.org/opi/')
	//oCMenu.makeMenu('sub26',  'top2','Office of Public Health Preparedness','http://www.hcphes.org/ophp/')
	//oCMenu.makeMenu('sub27',  'top2','Office of Policy and Planning','http://www.hcphes.org/opp/')
	//oCMenu.makeMenu('sub28','top2','Veterinary Public Health','http://www.hcphes.org/vph/index.htm')
	



	//oCMenu.makeMenu('sub26', 'top2','Pollution Control','http://www.hcphes.org/eph_pol/default.htm')




oCMenu.makeMenu('top3','','Programs','http://www.hcphes.org/SubPages/ProServices.htm', '','64')
	
//myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 

oCMenu.makeMenu('top4','','Publications',"","",'79')
	oCMenu.makeMenu('sub40','top4','HCPHES Annual Report','')
		oCMenu.makeMenu('sub400','sub40','HCPHES 2007 Annual Report','http://www.hcphes.org/2007annual.pdf')
		oCMenu.makeMenu('sub401','sub40','HCPHES 2006 Annual Report','http://www.hcphes.org/note.htm')
		oCMenu.makeMenu('sub402','sub40','HCPHES 2005 Annual Report','http://www.hcphes.org/2005annual.pdf')
		oCMenu.makeMenu('sub403','sub40','HCPHES 2004 Annual Report','http://www.hcphes.org/2004annual.pdf')
		oCMenu.makeMenu('sub404','sub40','HCPHES 2003 Annual Report','http://www.hcphes.org/2003annual.pdf')
oCMenu.makeMenu('sub41','top4','HCPHES Immunization Action Plan','http://www.hcphes.org/ITFReport518311.pdf')
oCMenu.makeMenu('sub42','top4','HCPHES Strategic Plan','http://www.hcphes.org/HCPHESStrategicPlan1005_2.pdf')
oCMenu.makeMenu('sub43','top4','HCPHES Pandemic Influenza Plan','http://www.hcphes.org/flu/HCPHESFluResponsePlan.pdf')
oCMenu.makeMenu('sub44','top4','Controlling Tuberculosis in Harris County','http://www.hcphes.org/redirect/tb_erratum.htm')	
	
	oCMenu.makeMenu('top5','','Public Health Preparedness','http://www.hcphes.org/php2','','170')  
	oCMenu.makeMenu('top6','','Jobs','http://www.hcphes.org/hr/jobs92004.htm','','40')                                     
	oCMenu.makeMenu('top7','','Home','http://www.hcphes.org/default.htm','','45') 
	oCMenu.makeMenu('top8','','Harris County','http://www.co.harris.tx.us/','','93')
	
oCMenu.construct()	
	
