/*****************************************************************************
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://coolmenus.dhtmlcentral.com/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
******************************************************************************/
/*** 
This is the menu creation code - place it right after your 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

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=60 
oCMenu.fromTop=120 /* set to align with header imagebar.jpg */  
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="http://www.csrp.com.au/"
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg=""
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="100%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=20 
oCMenu.barY=105
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=89
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].roundBorder=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0 /* 0=items beside each other, 1=items beneath each other */
oCMenu.level[0].align="bottom" /* menu drops down */

//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=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].align="right" /* menu pops out to the right */
oCMenu.level[1].offsetX=0 /*-(oCMenu.level[0].width-2)/2+20*/
oCMenu.level[1].offsetY=0
oCMenu.level[1].arrow="_media/graphics/arrowrgray.jpg"
oCMenu.level[1].arrowWidth=10
oCMenu.level[1].arrowHeight=10


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=160
oCMenu.level[2].height=22
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


//EXAMPLE SUB LEVEL[3] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[3]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[3].width=160
oCMenu.level[3].height=22
oCMenu.level[3].offsetX=0
oCMenu.level[3].offsetY=0
oCMenu.level[3].regClass="clLevel2"
oCMenu.level[3].overClass="clLevel2over"
oCMenu.level[3].borderClass="clLevel2border"


/******************************************
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.html','')

oCMenu.makeMenu('top1','','about csrp', 'about/index.html')
	oCMenu.makeMenu('sub10','top1','Who We Are', 'about/whoweare.html','',160)
	oCMenu.makeMenu('sub11','top1','Staff Profiles', 'about/staff.html','',160)
	oCMenu.makeMenu('sub12','top1','Governing Board', 'about/board.html','',160)
	oCMenu.makeMenu('sub13','top1','TAP Working Group', 'about/tap.html','',160)
	oCMenu.makeMenu('sub14','top1','Organisational Structure', 'about/structure.html','',160)
	oCMenu.makeMenu('sub15','top1','Background Information', 'about/info.html','',160)
	oCMenu.makeMenu('sub16','top1','What is a CRC?', 'about/whatis.html','',160)
	oCMenu.makeMenu('sub17','top1','What is AMIRA?', 'about/amira.html','',160)
	oCMenu.makeMenu('sub18','top1','Lady Lawley Cottage', 'about/llc.html','',160)
	/* oCMenu.makeMenu('sub19','top1','Useful Links', 'about/usefullinks.html','',160) */
	
oCMenu.makeMenu('top2','','participants', 'participants/index.html')

oCMenu.makeMenu('top3','','research', 'projects/index.html')
	oCMenu.makeMenu('sub30','top3','Sustainable Development','projects/sustainabledevelopment.html','',220,'','','','','','','','',1)
		//oCMenu.makeMenu('sub300','sub30','Sustainable Development', 'projects/sustainabledevelopment.html','',300)
		//oCMenu.makeMenu('sub301','sub30','Regional Synergies', 'projects/regionalsynergies.html','',300)
	oCMenu.makeMenu('sub32','top3','Comminution', 'projects/comminution.html','',220,'','','','','','','','',1)
	oCMenu.makeMenu('sub33','top3','CO2 Breakthrough in Metal Production', 'projects/co2breakthrough.html','',220,'','','','','','','','',1)
	oCMenu.makeMenu('sub34','top3','Bauxite Residue', 'projects/bauxiteresidue.html','',220,'','','','','','','','',1)
	oCMenu.makeMenu('sub35','top3','Geopolymers', 'projects/geopolymers.html','',220,'','','','','','','','',1)
	oCMenu.makeMenu('sub36','top3','Zero Waste and Minor Elements', 'projects/zerowaste.html','',220,'','','','','','','','',1)
	oCMenu.makeMenu('sub37','top3','Incubator', 'projects/incubator.html','',220,'','','','','','','','',1)
	oCMenu.makeMenu('sub38','top3','All Programs and Projects','projects/index.html','',220,'','','','','','','','',1)

oCMenu.makeMenu('top4','','education', 'education/index.html')
	oCMenu.makeMenu('sub40','top4','Potential Students','','',170,'','','','','','','','','',1)
		oCMenu.makeMenu('sub400','sub40','Why Study with CSRP?', 'education/students/whystudy.html','',170)
		oCMenu.makeMenu('sub401','sub40','Scholarships', 'education/students/scholarships.html','',170)
		oCMenu.makeMenu('sub402','sub40','Research Projects', 'education/students/researchprojects.html','',170)

	oCMenu.makeMenu('sub41','top4','CSRP Students','','',170,'','','','','','','','','',1)
		oCMenu.makeMenu('sub410','sub41','Students and Graduates', 'education/students/students.html','',170)
		oCMenu.makeMenu('sub412','sub41','Student Support Fund', 'education/students/studentsupportfund.html','',170)
				
	oCMenu.makeMenu('sub42','top4','Teacher Program','education/teacher/index.html','',170)
	oCMenu.makeMenu('sub43','top4','Professional Development', 'education/pd/index.html','',170)
		
	oCMenu.makeMenu('sub44','top4','Educational Research','','',170,'','','','','','','','','',1)
		oCMenu.makeMenu('sub440','sub44','Project 5B2 Motivational Factors', 'projects/5b2.html','',230)
		oCMenu.makeMenu('sub441','sub44','Project 5B3 GAMSET', 'projects/5b3.html','',230)
		oCMenu.makeMenu('sub442','sub44','Science Career Inventory Questionnaire', 'education/research/sciproform.html','',230)
		oCMenu.makeMenu('sub443','sub44','Published Articles', 'education/research/articles.html','',230)
				
	oCMenu.makeMenu('sub45','top4','Student Symposium','education/students/symposia.html','',170)
		oCMenu.makeMenu('sub450','sub45','Student Symposium 2009', 'events/symposium2009.html','',170)
		oCMenu.makeMenu('sub451','sub45','Student Symposium 2007', 'events/symposium2007.html','',170)
		oCMenu.makeMenu('sub452','sub45','Student Symposium 2006', 'events/symposium2006.html','',170)
		oCMenu.makeMenu('sub453','sub45','Student Symposium 2005', 'events/symposium2005.html','',170)

oCMenu.makeMenu('top5','','tech transfer', 'techtransfer/index.html')
	oCMenu.makeMenu('sub50','top5','Geopolymer Alliance','techtransfer/ga.html','',170)
	oCMenu.makeMenu('sub51','top5','ReSand&reg;','techtransfer/resand.html','',170)
	oCMenu.makeMenu('sub52','top5','SUSOP&reg;','techtransfer/susop.html','',170)
	
oCMenu.makeMenu('top6','','publications', 'publications/index.html')

oCMenu.makeMenu('top7','','events', 'events/index.html')
		
oCMenu.makeMenu('top8','','contact us', 'contact/index.html')

oCMenu.makeMenu('top9','','wind-up', 'windup.html')  // use ,'_blank' to open in new tab or page

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




