// JavaScript Document

/******************* 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
oCMenu2=new makeCM("oCMenu2") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu2.pxBetween=1
oCMenu2.fromLeft=0
oCMenu2.fromTop=215  
oCMenu2.rows=1 
oCMenu2.menuPlacement="center"
     
//Add resize to resize the first one also----
oCMenu2.onresize="oCMenu2.construct(1)"
		                                                         
//oCMenu2.offlineRoot="M:/IROC/site" 
//oCMenu2.onlineRoot="http://rs479.securehostserver.com/~iroc-dev"
oCMenu2.onlineRoot="http://mindwealth.com/" 
oCMenu2.resizeCheck=1 
oCMenu2.wait=1000 
oCMenu2.fillImg=""
oCMenu2.zIndex=0

//Background bar properties
oCMenu2.useBar=0
oCMenu2.barWidth="50%"
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=145
oCMenu2.level[0].height=35 
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
oCMenu2.level[0].offsetY=5
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=145
oCMenu2.level[1].height=35
oCMenu2.level[1].regClass="cl2Level1"
oCMenu2.level[1].overClass="cl2Level1over"
oCMenu2.level[1].borderX=1
oCMenu2.level[1].borderY=1
oCMenu2.level[1].align="center" 
oCMenu2.level[1].offsetX=-(oCMenu2.level[0].width-2)/2+32
oCMenu2.level[1].offsetY=0
oCMenu2.level[1].borderClass="cl2Level1border"

//EXAMPLE SUB LEVEL[2] 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[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
//oCMenu2.level[2].width=200
//oCMenu2.level[2].height=18
//oCMenu2.level[2].regClass="cl2Level2"
//oCMenu2.level[2].overClass="cl2Level2over"
//oCMenu2.level[2].borderX=1
//oCMenu2.level[2].borderY=1
//oCMenu2.level[2].align="right" 
//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('top1','','About us','index.html','','110','')
	oCMenu2.makeMenu('sub10','top1','Services','index.html','','110','')
	oCMenu2.makeMenu('sub11','top1','Team','team.htm','','110','')
	oCMenu2.makeMenu('sub12','top1','Contact Us','contact_mindwealth.htm','','110','')

oCMenu2.makeMenu('top2','','Leading<br>the way','index.html','','130','')
	oCMenu2.makeMenu('sub20','top2','Living Your Legacy','living_yourlegacy.htm','','130','')
	oCMenu2.makeMenu('sub21','top2','CEO Forums','ceo_forums.htm','','130','')
	oCMenu2.makeMenu('sub22','top2','Legacy Leadership','http://coachworks.com/LL_Overview.html','_blank','130','')
	oCMenu2.makeMenu('sub23','top2','Leadership in Action','leadership_action.htm','','130','')
	
oCMenu2.makeMenu('top3','','Leveraging<br>Knowledge','#','','150','')
	oCMenu2.makeMenu('sub30','top3','The Knowledge Cube','cube/index.htm','_blank','150','')
	oCMenu2.makeMenu('sub31','top3','Diagnostic Process','diagnostic_process.htm','','150','')
	oCMenu2.makeMenu('sub32','top3','KM Courses','kmcourse.htm','','150','')
	
oCMenu2.makeMenu('top4','','Creating<br>Sustainable Value','#','','175','')
	oCMenu2.makeMenu('sub40','top4','Living Labs<br>Think Tanks','livinglabs_thinktanks.htm','','175','')
	oCMenu2.makeMenu('sub41','top4','Aligned Action Dialogues','alignedaction_dialogues.htm','','175','')
	oCMenu2.makeMenu('sub42','top4','Communities of Significance','communities_significance.htm','','175','')

oCMenu2.makeMenu('top5','','Publications','#','','','','','')
	oCMenu2.makeMenu('sub50','top5','Sustainability<br>White paper','mindwealth_whitepaper.htm','')
	oCMenu2.makeMenu('sub51','top5','Art of<br>Facilitating Change','artoffacilitatingchange.htm','')
	oCMenu2.makeMenu('sub52','top5','How will you<br>be remembered?','howwillyouberemembered.htm','')
	oCMenu2.makeMenu('sub53','top5','MindWealth Book','mindwealthbook.htm')
	//oCMenu2.makeMenu('sub54','top5','Blog -<br>Living Your Legacy','#')
	
//Leave this line - it constructs the menu
oCMenu2.construct()		



