
/*** 
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

pos = findPos()

oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname8
//Menu properties   
//oCMenu.frames = 0
oCMenu.pxBetween=0  
oCMenu.fromLeft=pos[0]+45
oCMenu.fromTop=pos[1]+10
oCMenu.rows=1 
oCMenu.menuPlacement=0
oCMenu.offlineRoot="file:///Users/lee/Documents/Webmaster/Leelaa/LeelaaDotOrg/" 
oCMenu.onlineRoot="http://www.leelaa.org/" 
oCMenu.onresize="pos = findPos(); oCMenu.fromLeft=pos[0]+10; oCMenu.fromTop=pos[1]"
oCMenu.resizeCheck=1 
oCMenu.wait=500 
oCMenu.fillImg=""
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=1
oCMenu.barBorderY=1
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=133
oCMenu.level[0].height=30 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
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
oCMenu.level[1].height=20
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0 
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].arrow="coolmenus/menu_arrow.gif"
oCMenu.level[1].arrowWidth=10
oCMenu.level[1].arrowHeight=10

//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[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=oCMenu.level[1].width
oCMenu.level[2].height=20
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderX=1
oCMenu.level[2].borderY=1
oCMenu.level[2].align="right" 
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].borderClass="clLevel2border"
oCMenu.level[2].arrow="coolmenus/menu_arrow.gif"
oCMenu.level[2].arrowWidth=10
oCMenu.level[2].arrowHeight=10
<!-- application.cfm -->

/******************************************
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('menux','','About','','','60')
	  oCMenu.makeMenu('subx0','menux','About Leelaa','about.htm','','90')

oCMenu.makeMenu('menu0','','Workshops','','','80')
	  oCMenu.makeMenu('sub00','menu0','Workshops','http://www.leelaa.org/workshops.htm','','150')
	  oCMenu.makeMenu('sub01','menu0','Overviews','http://www.leelaa.org/overviews.htm','','150')
	  oCMenu.makeMenu('sub02','menu0','The Obstacle Course','http://www.leelaa.org/theObstacleCourse.htm','','150')
//	  oCMenu.makeMenu('sub03','menu0','Reaching for the Moon','http://www.leelaa.org/reaching.htm','','150')
	  oCMenu.makeMenu('sub04','menu0','Relationships 101','http://www.leelaa.org/relationships/rel101.htm','','150')
	  oCMenu.makeMenu('sub05','menu0','Script & Kid','http://www.leelaa.org/Script&Kid/script&kid.htm','','150')
	  oCMenu.makeMenu('sub06','menu0','Remote Students ','http://www.leelaa.org/remote_students.htm','','150')

oCMenu.makeMenu('menu1','','Schedules','','','75')	  
	  oCMenu.makeMenu('sub10','menu1','Meditations','http://www.leelaa.org/meditations.htm','','150')
	  oCMenu.makeMenu('sub11','menu1','Workshops','http://www.leelaa.org/schedule.htm','','150')
//	  oCMenu.makeMenu('sub12','menu1','Reaching for the Moon','http://www.leelaa.org/reaching_schedule.htm','','150')
	  oCMenu.makeMenu('sub13','menu1','Library','http://www.leelaa.org/library_schedule.htm','','150')

oCMenu.makeMenu('menu2','','Audio','','','45')
	  oCMenu.makeMenu('sub20','menu2','2008 Obstacle Course','http://www.leelaa.org/classes/2008ObstacleCourse.php','','320')
  	    oCMenu.makeMenu('menu2d','menu2','2008 - 1990 Chicago Healing Seminar','http://www.leelaa.org/classes/2008_1990ChicagoSeminar.php','','320')
	  oCMenu.makeMenu('menu2c','menu2','2008 - 1989 Chicago Preparation Tapes','http://www.leelaa.org/classes/2008_1989ChicagoPrep.php','','320')
  	    oCMenu.makeMenu('menu2b','menu2','2006 Pointing at the Moon','http://www.leelaa.org/classes/2006_Pointing.php','','320')
  	    oCMenu.makeMenu('menu2a','menu2','2005 Reaching for the Moon','http://www.leelaa.org/classes/2005_Reaching.php','','320')
  	    oCMenu.makeMenu('menu29','menu2','2005 Pointing at the Moon','http://www.leelaa.org/classes/2005_Pointing.php','','320')
  	    oCMenu.makeMenu('menu28','menu2','2004 An Introduction to Spiritual Consciousness','http://www.leelaa.org/classes/2004_Intro.php','','320')
  	    oCMenu.makeMenu('menu27','menu2','2003 More TNT','http://www.leelaa.org/classes/2003MoreTNT.php','','320')
  	    oCMenu.makeMenu('menu26','menu2','2003 Termites','http://www.leelaa.org/classes/2003Termites.php','','320')
  	    oCMenu.makeMenu('menu25','menu2','2003 Living Between Two Worlds','http://www.leelaa.org/classes/2003LB2W.php','','320')
  	    oCMenu.makeMenu('menu24','menu2','2001/02 Tuesday Night Talks (TNT)','http://www.leelaa.org/classes/2001_02TNT.php','','320')
  	    oCMenu.makeMenu('menu23','menu2','2001 How It works','http://www.leelaa.org/classes/2001How.php','','320')
  	    oCMenu.makeMenu('menu22','menu2','1999 Waking Up','http://www.leelaa.org/classes/1999Waking.php','','320')
  	    oCMenu.makeMenu('menu21','menu2','1997 Metaphysics to Mysticism','http://www.leelaa.org/classes/1997MandM.php','','320')
  	    oCMenu.makeMenu('menu20','menu2','1996 The Principles of the Infinite Way','http://www.leelaa.org/classes/1996Principles.php','','320')

//oCMenu.makeMenu('menu3','','Individual Work','','','110')
//	  oCMenu.makeMenu('sub30','menu3','Individual Instruction','http://www.leelaa.org/individualInstruction.htm','','150')
//	  oCMenu.makeMenu('sub31','menu3','Spiritual Counselling','http://www.leelaa.org/spiritualCounseling.htm','','150')

oCMenu.makeMenu('menu4','','Other Stuff','','','90')
	  oCMenu.makeMenu('sub47','menu4','Practitioner Group','http://www.leelaa.org/practitioner_group.htm','','120')
	  oCMenu.makeMenu('sub46','menu4','Weddings','http://www.leelaa.org/weddings.htm','','120')
	  oCMenu.makeMenu('sub40','menu4','Transcripts','http://www.leelaa.org/transcripts.htm','','120')
	  oCMenu.makeMenu('sub41','menu4','Links','http://www.leelaa.org/links.htm','','120')
	  oCMenu.makeMenu('sub42','menu4','Library','http://www.leelaa.org/library.htm','','120')
	  oCMenu.makeMenu('sub43','menu4','Joel Tapes','http://www.leelaa.org/JoelTapes.htm','','120')
  	  oCMenu.makeMenu('sub44','menu4','For Free','','','120')
  	    oCMenu.makeMenu('sub440','sub44','Termites','http://www.leelaa.org/termites/termites.htm','','120')
  	  oCMenu.makeMenu('sub45','menu4','Logout','http://www.leelaa.org/logout.php','','120')

oCMenu.makeMenu('menu5','','Contact Us','','','80')
	  oCMenu.makeMenu('sub50','menu5','Contacts','http://www.leelaa.org/contact_us.htm','','120')
	  oCMenu.makeMenu('sub51','menu5','Conference Calls','http://www.leelaa.org/conferencing.htm','','120')
	  oCMenu.makeMenu('sub52','menu5','Skype','http://www.leelaa.org/skype.htm','','120')
	  oCMenu.makeMenu('sub53','menu5','Maps','http://www.leelaa.org/map_to_leelaa.htm','','120')
	  oCMenu.makeMenu('sub54','menu5','Accommodations','http://www.leelaa.org/accommodations.htm','','120')
	oCMenu.makeMenu('menu6','','Home','http://www.leelaa.org/','','50')

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