/*****************************************************************************
Copyright (c) 2001 Thomas Brattli (webmaster@dhtmlcentral.com)

DHTML coolMenus - Get it at coolmenus.dhtmlcentral.com
Version 4.0_beta
This script can be used freely as long as all copyright messages are
intact.

Extra info - Coolmenus reference/help - Extra links to help files **** 
CSS help: http://192.168.1.31/projects/coolmenus/reference.asp?m=37
General: http://coolmenus.dhtmlcentral.com/reference.asp?m=35
Menu properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=47
Level properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=48
Background bar properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=49
Item properties: http://coolmenus.dhtmlcentral.com/properties.asp?m=50
******************************************************************************/

/******************* MENU NUMBER 1 **********************************/

/*** 
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
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=21
oCMenu.fromTop=142
oCMenu.rows=0 
oCMenu.menuPlacement=0

oCMenu.offlineRoot="file:///C|/Inetpub/wwwroot/"
oCMenu.onlineRoot="http://www.rocla.co.za/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="menu"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//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].width=145
oCMenu.level[0].height=25
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1 
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="clLevel1border"
oCMenu.level[0].offsetX=0 
oCMenu.level[0].offsetY=-1
oCMenu.level[0].rows=0
oCMenu.level[0].align="right" 


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to spesify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=185
oCMenu.level[1].height=25
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].style=""
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].borderX=1 
oCMenu.level[1].borderY=1
oCMenu.level[1].rows=0
oCMenu.level[1].align="right" 

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu.makeMenu('top0','','&nbsp;Storm Water','')
	oCMenu.makeMenu('sub00','top0','Interlocking Joint Pipes','products/Interlocking_joint_pipes.asp')
	oCMenu.makeMenu('sub01','top0','Spigot & Socket Pipes','products/spigot_socket_pipes.asp')
	oCMenu.makeMenu('sub02','top0','Pressure Pipes','products/pressure_pipes.asp')
	oCMenu.makeMenu('sub03','top0','In-the-wall-joint Pipes','products/in-the-wall_joint_pipes.asp')
	oCMenu.makeMenu('sub04','top0','Rectangular Portal Culverts','products/rectangular_portal_culverts.asp')
	oCMenu.makeMenu('sub05','top0','Sats Sar Rectangular Portal Culverts','products/sats_sar_rectangular_portal_culverts.asp')
	oCMenu.makeMenu('sub06','top0','Culvert Slabs','products/culverts_slabs.asp')
	oCMenu.makeMenu('sub07','top0','Half Round Channels','products/half_round_channels.asp')
	oCMenu.makeMenu('sub08','top0','Manholes, Manhole Sections & Slabs','products/manholes-sections-slabs.asp')
	oCMenu.makeMenu('sub09','top0','Airport Manhole & Enlarger Slab','products/airport_manhole-enlarger_slabs.asp')
	
oCMenu.makeMenu('top1','','&nbsp;Sewer','')
	oCMenu.makeMenu('sub10','top1','Interlocking Joint Pipes','products/Interlocking_joint_pipes.asp')
	oCMenu.makeMenu('sub11','top1','Spigot & Socket Pipes','products/spigot_socket_pipes.asp')
	oCMenu.makeMenu('sub12','top1','Pressure Pipes','products/pressure_pipes.asp')
	oCMenu.makeMenu('sub13','top1','In-the-wall-joint Pipes','products/in-the-wall_joint_pipes.asp')
	oCMenu.makeMenu('sub14','top1','Manholes, Manhole Sections & Slabs','products/manholes-sections-slabs.asp')
	oCMenu.makeMenu('sub15','top1','Airport Manhole & Enlarger Slab','products/airport_manhole-enlarger_slabs.asp')
	oCMenu.makeMenu('sub16','top1','Toilet Systems','products/toilet_systems.asp')
	
oCMenu.makeMenu('top2','','&nbsp;Erosion Control','')
	oCMenu.makeMenu('sub20','top2','Penstock Rings','products/penstock_rings.asp')
	oCMenu.makeMenu('sub21','top2','Retaining Walls','products/retaining_walls.asp')

oCMenu.makeMenu('top3','','&nbsp;Sanitation','')
	oCMenu.makeMenu('sub30','top3','Toilet System','products/toilet_systems.asp')
	oCMenu.makeMenu('sub31','top3','Wash Troughs & Stock Troughs','products/wash-stock_troughs.asp')

oCMenu.makeMenu('top4','','&nbsp;Electrification','')
	oCMenu.makeMenu('sub40','top4','Poles','products/poles.asp')

oCMenu.makeMenu('top5','','&nbsp;Shelter','')
	oCMenu.makeMenu('sub50','top5','Bus Shelter','products/bus_shelter.asp')
	oCMenu.makeMenu('sub51','top5','Secure Signal House','products/secure_signal_house.asp')

oCMenu.makeMenu('top6','','&nbsp;Farming','')
	oCMenu.makeMenu('sub60','top6','Wash Troughs & Stock Troughs','products/wash-stock_troughs.asp')

oCMenu.makeMenu('top7','','&nbsp;Roadside Furniture','')
	oCMenu.makeMenu('sub70','top7','Roadside Furniture','products/roadside_furniture.asp')
	oCMenu.makeMenu('sub71','top7','Bus Shelter','products/bus_shelter.asp')
	
oCMenu.makeMenu('top8','','&nbsp;Paving & Curbing','')
	oCMenu.makeMenu('sub80','top8','Technicrete','products/paving.asp')

//Leave this line - it constructs the menu
oCMenu.construct()		



/******************* 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=175 
oCMenu2.fromTop=98
oCMenu2.rows=1 
oCMenu2.menuPlacement="left"
     
//Add resize to resize the first one also----
oCMenu2.onresize="oCMenu.construct(1)"
		                                                         
oCMenu2.offlineRoot="file:///C|/Inetpub/wwwroot/" 
oCMenu2.onlineRoot="http://www.rocla.co.za/" 
oCMenu2.resizeCheck=1 
oCMenu2.wait=1000 
oCMenu2.fillImg="cm_fill.gif"
oCMenu2.zIndex=0

//Background bar properties
oCMenu2.useBar=0
oCMenu2.barWidth="100%"
oCMenu2.barHeight="menu" 
oCMenu2.barClass="cl2Bar"
oCMenu2.barX=0 
oCMenu2.barY=0
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=95
oCMenu2.level[0].height=25 
oCMenu2.level[0].regClass="cl2Level0"
oCMenu2.level[0].overClass="cl2Level0over"
oCMenu2.level[0].borderX=1
oCMenu2.level[0].borderY=1
oCMenu2.level[0].borderClass="cl2Level0border"
oCMenu2.level[0].offsetX=-1
oCMenu2.level[0].offsetY=-1
oCMenu2.level[0].rows=0
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=95
oCMenu2.level[1].height=25
oCMenu2.level[1].regClass="cl2Level1"
oCMenu2.level[1].overClass="cl2Level1over"
oCMenu2.level[1].borderX=1
oCMenu2.level[1].borderY=1
oCMenu2.level[1].align="right" 
oCMenu2.level[1].offsetX=0
oCMenu2.level[1].offsetY=0
oCMenu2.level[1].borderClass="cl2Level1border"


/******************************************
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','default.asp','')

oCMenu2.makeMenu('top1','','About','')
	oCMenu2.makeMenu('sub10','top1','About Rocla','about/aboutUs.asp','','120')
	oCMenu2.makeMenu('sub11','top1','Vision & Mission','about/vision-mission.asp','','120')
	oCMenu2.makeMenu('sub12','top1','Operating Structure','about/operation_structure.asp','','120')
	oCMenu2.makeMenu('sub13','top1','Shareholding Structure','about/shareholding_structure.asp','','120')
	oCMenu2.makeMenu('sub14','top1','Branch Managers','about/management.asp','','120')

oCMenu2.makeMenu('top2','','Locations','')
	oCMenu2.makeMenu('sub20','top2','National','')
		oCMenu2.makeMenu('sub200','sub20','Blackheath','locations/blackheath.asp')
		oCMenu2.makeMenu('sub201','sub20','Bloemfontein','locations/bloemfontein.asp')
		oCMenu2.makeMenu('sub202','sub20','De Aar','locations/deaar.asp')
		oCMenu2.makeMenu('sub203','sub20','George','locations/george.asp')
		oCMenu2.makeMenu('sub204','sub20','Nelspruit','locations/nelspruit.asp')
		oCMenu2.makeMenu('sub205','sub20','New Germany','locations/newgermany.asp')
		oCMenu2.makeMenu('sub206','sub20','Newcastle','locations/newcastle.asp')
		oCMenu2.makeMenu('sub207','sub20','Orkney','locations/orkney.asp')
		oCMenu2.makeMenu('sub208','sub20','Polokwane','locations/polokwane.asp')
		oCMenu2.makeMenu('sub209','sub20','Port Elizabeth','locations/portelizabeth.asp')
		oCMenu2.makeMenu('sub2010','sub20','Roodepoort','locations/roodepoort.asp')
		oCMenu2.makeMenu('sub2011','sub20','Virginia','locations/virginia.asp')
	oCMenu2.makeMenu('sub21','top2','Africa','')
		oCMenu2.makeMenu('sub210','sub21','Gaborone Kwena Rocla','locations/gaborone.asp','','140')
		oCMenu2.makeMenu('sub211','sub21','Windhoek Rocla Pipes','locations/windhoek.asp','','140')
	
oCMenu2.makeMenu('top3','','Projects','projects/projects.asp')

oCMenu2.makeMenu('top4','','Gallery','gallery/gallery_list.asp')

oCMenu2.makeMenu('top5','','News','news/news.asp')

oCMenu2.makeMenu('top6','','Rocla Academy','')
	oCMenu2.makeMenu('sub60','top6','Introduction','academy/academy_intro.asp')
	oCMenu2.makeMenu('sub61','top6','CMA handbooks','cma_handbooks.asp')

oCMenu2.makeMenu('top7','','Newsletter','')
	oCMenu2.makeMenu('sub70','top7','Subscribe','subscribe.htm')
	oCMenu2.makeMenu('sub71','top7','Archives','newsletter/newsletter_archives.asp')

// creates the menu
oCMenu2.construct()	