
/*** 
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=0
oCMenu2.fromTop=61
oCMenu2.rows=1      //determines if the lev 0 will be verticle or horizontal
oCMenu2.menuPlacement="left"                                       
oCMenu2.offlineRoot="" 
oCMenu2.onlineRoot="" 
oCMenu2.resizeCheck=1 
oCMenu2.wait=500
oCMenu2.fillImg="cm_fill.gif"
oCMenu2.zIndex=0

//Background bar properties
oCMenu2.useBar=0             //this turns the background bar on and off... (0) is off!!
oCMenu2.barWidth="100px"
oCMenu2.barHeight="menu" 
oCMenu2.barClass="cl2Bar"
oCMenu2.barX=0 
oCMenu2.barY="menu"
oCMenu2.barBorderX=0
oCMenu2.barBorderY=0
oCMenu2.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu2.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu2.level[0].width=145                //width for each topnav term
oCMenu2.level[0].height=30                //height of top nav bar and text 
oCMenu2.level[0].regClass="cl2Level0"
oCMenu2.level[0].overClass="cl2Level0over"
oCMenu2.level[0].borderX=0
oCMenu2.level[0].borderY=0
oCMenu2.level[0].borderClass="cl2Level0border"
oCMenu2.level[0].offsetX=0   //moving sub menu off to the right so it is not on top of lev 0 menu...
oCMenu2.level[0].offsetY=0   //moves the sub menu up and down...I have it about 1/2 way down now (even would be 18px)
oCMenu2.level[0].rows=0       //determines if the lev 1 will be verticle or horizontal
oCMenu2.level[0].arrow=0
oCMenu2.level[0].arrowWidth=0
oCMenu2.level[0].arrowHeight=0
oCMenu2.level[0].align="bottom"


//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].width=115
oCMenu2.level[1].height=25
oCMenu2.level[1].regClass="cl2Level1"
oCMenu2.level[1].overClass="cl2Level1over"
oCMenu2.level[1].borderX=0
oCMenu2.level[1].borderY=0
oCMenu2.level[1].align="center" 
oCMenu2.level[1].offsetX=0
oCMenu2.level[1].offsetY=0
oCMenu2.level[1].borderClass="cl2Level1border"
oCMenu2.level[1].rows=0      //determines if the lev 2 will be verticle or horizontal

oCMenu2.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
//oCMenu2.level[2].width=oCMenu2.level[0].width-2
oCMenu2.level[2].width=115
oCMenu2.level[2].height=25
oCMenu2.level[2].regClass="cl2Level2"
oCMenu2.level[2].overClass="cl2Level2over"
oCMenu2.level[2].borderX=0
oCMenu2.level[2].borderY=0
oCMenu2.level[2].align="center" 
oCMenu2.level[2].offsetX=0
oCMenu2.level[2].offsetY=0
oCMenu2.level[2].borderClass="cl2Level2border"


/******************************************
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','','Home','index.php','','95')

oCMenu2.makeMenu('top1','','Company Profile','cp.html','','170')
	
oCMenu2.makeMenu('top2','','Services','','','115')
	oCMenu2.makeMenu('sub20','top2','Commercial','se_co.html','')
	oCMenu2.makeMenu('sub21','top2','Vehicle Fleets','se_vf.html','')
	oCMenu2.makeMenu('sub22','top2','Residential','se_rs.html','')	
	oCMenu2.makeMenu('sub23','top2','Industrial','se_in.html','')	
	//oCMenu2.makeMenu('sub24','top2','Rental','se_re.html','')	
	//oCMenu2.makeMenu('sub25','top2','Partners','se_pa.html','')	
	

	
oCMenu2.makeMenu('top3','','Enviromental Services','ev.html','','215')

//oCMenu2.makeMenu('top4','','Property Maintenance','pm.html','','175')	

oCMenu2.makeMenu('top5','','Contact Us','cu.html','','125')





//Leave this line - it constructs the menu
//oCMenu2.construct()
