/*** 
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=100
oCMenu.fromTop=100   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=0 
//oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=1



//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=82
oCMenu.level[0].height=16 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=-1
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.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
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=oCMenu.level[0].width-2
oCMenu.level[1].height=14
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0                    
oCMenu.level[1].borderY=4
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=-20 
oCMenu.level[1].borderClass="clLevel1border"



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

oCMenu.makeMenu('top1','','Home','/index.php','','46')

oCMenu.makeMenu('top2','','Contact','/contact.php','','57')
	oCMenu.makeMenu('sub20','top2','Contact us','/contact.php','','159')
	oCMenu.makeMenu('sub21','top2','Location','/con_location01.php','','159')
	oCMenu.makeMenu('sub22','top2','BLA personnel','/con_personnel01.php','','159')
	oCMenu.makeMenu('sub23','top2','Members','/con_members01.php','','159')
	oCMenu.makeMenu('sub24','top2','What is the BLA?','/con_what01.php','','159')
	oCMenu.makeMenu('sub25','top2','Links','/links.php','','159')

oCMenu.makeMenu('top3','','News','/news.php','','46')
	oCMenu.makeMenu('sub30','top3','Events','/news_events01.php','','159')
	oCMenu.makeMenu('sub31','top3','General Contact','/contact.php','','159')
	oCMenu.makeMenu('sub32','top3','Open day reports','/news_openday01.php','','159')
	oCMenu.makeMenu('sub33','top3','Press office','/news_pressoffice01.php','','159')

oCMenu.makeMenu('top4','','Issues','/issues.php','','49')
	oCMenu.makeMenu('sub40','top4','BRE green guide','/iss_bre01.php','','159')
	oCMenu.makeMenu('sub41','top4','Climate change levy','/iss_ccl01.php','','159')
	oCMenu.makeMenu('sub42','top4','Corporate social responsibility','/iss_social01.php','','159')
	oCMenu.makeMenu('sub43','top4','Emissions trading','/iss_euets01.php','','159')
	oCMenu.makeMenu('sub44','top4','Regulation of chemicals','/iss_reach01.php','','159')
	oCMenu.makeMenu('sub45','top4','Waste derived fuels','/iss_code01.php','','159')
	
oCMenu.makeMenu('top5','','Lime uses','/limeuses.php','','73')
	oCMenu.makeMenu('sub51','top5','A-Z of lime applications','/lime_az01.php','','159')
	oCMenu.makeMenu('sub52','top5','Case studies','/lime_case01.php','','159')
	oCMenu.makeMenu('sub53','top5','Construction &amp; materials','/lime_con01.php','','159')
	oCMenu.makeMenu('sub54','top5','Environment','/lime_env01.php','','159')
	oCMenu.makeMenu('sub55','top5','Food &amp; water','/lime_food01.php','','159')

oCMenu.makeMenu('top6','','Tech info','/technical.php','','64')
	oCMenu.makeMenu('sub60','top6','Asphalt','/tech_asphalt01.php','','159')
	oCMenu.makeMenu('sub61','top6','Flue gas treatment','/tech_flue01.php','','159')
	oCMenu.makeMenu('sub62','top6','Health & safety','/tech_health01.php','','159')
	oCMenu.makeMenu('sub63','top6','Iron & steel','/tech_iron01.php','','159')
	oCMenu.makeMenu('sub64','top6','Lime in mortars','/tech_lime01.php','','159')
	oCMenu.makeMenu('sub65','top6','Sewage sludge treatment','/tech_sewage01.php','','159')
	oCMenu.makeMenu('sub66','top6','Soil stabilisation','/tech_soil01.php','','159')
	
oCMenu.makeMenu('top7','','Alt tech','/alt_001.php','','53')
	oCMenu.makeMenu('sub70','top7','Why the best mortars use lime!','/alt_001.php','','340')
	oCMenu.makeMenu('sub71','top7','Flue Gas Treatment for RDF- and Biomass-fuelled power plants','/alt_002.php','','340')
	
oCMenu.makeMenu('top8','','Education','/education.php','','68')
    oCMenu.makeMenu('sub80','top8','Amazing facts','/edu_facts01.php','','159')
	oCMenu.makeMenu('sub81','top8','Dolomitic lime','/edu_dolo01.php','','159')
	oCMenu.makeMenu('sub82','top8','How lime is made','/edu_limemade01.php','','159')
	oCMenu.makeMenu('sub83','top8','Lime cycle','/edu_lime01.php','','159')
	oCMenu.makeMenu('sub84','top8','Lime uses poster','/edu_limeposter01.php','','159')	
	
oCMenu.makeMenu('top9','','Sustainability','/sustainability.php','','87')
	oCMenu.makeMenu('sub91','top9','Recarbonation','/sus_recarb01.php','','159')
	oCMenu.makeMenu('sub92','top9','Sustainable development','http://www.qpa.org/sustainability.htm','_blank','159')
	
oCMenu.makeMenu('top10','','Publications','/publications.php','','81')
	


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