// Initialize DHTML coolmenu 


/*** 
This is the menu creation code - include it after the body tag
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=136
oCMenu.fromTop=134
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="file:///C|/WEBSITES/nyys/" 
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="50%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=0
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=135
oCMenu.level[0].height=21
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+25
oCMenu.level[1].height=21
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].align="left" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+70
oCMenu.level[1].offsetY=-1
oCMenu.level[1].borderClass="clLevel1border"


//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=210
oCMenu.level[2].height=21
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"

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
//Performances
oCMenu.makeMenu('top0','','&nbsp;Performances','','','105','22','/images/menu/performances.gif','/images/menu/performances_on.gif')
  oCMenu.makeMenu('sub00','top0','Orchestra','/performances/orchestra.php','','','','','')
  oCMenu.makeMenu('sub01','top0','Chamber Music','/performances/chambermusic.php')
  oCMenu.makeMenu('sub02','top0','Jazz Band Classic','/performances/jazz.php')
  oCMenu.makeMenu('sub03','top0','Making Score','/performances/makingscore.php')
  oCMenu.makeMenu('sub04','top0','Order Tickets','/performances/ordertix.php')
  oCMenu.makeMenu('sub05','top0','Advertise','/performances/advertise.php')
  
//Programs
oCMenu.makeMenu('top1','','&nbsp;Programs','','','105','22','/images/menu/programs.gif','/images/menu/programs_on.gif')
	oCMenu.makeMenu('sub10','top1','Orchestra','/programs/orchestra.php')
						    oCMenu.makeMenu('sub102','sub10', 'Meet the Maestros','/programs/meetthemaestros.php')
	oCMenu.makeMenu('sub11','top1','Chamber Music','/programs/chambermusic.php')
 	oCMenu.makeMenu('sub12','top1','Jazz Band Classic','/programs/jazz.php')
 	oCMenu.makeMenu('sub13','top1','Making Score','/programs/makingscore.php')
							oCMenu.makeMenu('sub132','sub13','Orchestrations+','/programs/orchestrations.php')
 	oCMenu.makeMenu('sub14','top1','Apprentice Conducting','/programs/conducting.php')
	oCMenu.makeMenu('sub15','top1','First Music','')
							oCMenu.makeMenu('sub152','sub15','Description','/commissions/firstmusic/description.php')
							oCMenu.makeMenu('sub153','sub15','Eligibility','/commissions/firstmusic/eligibility.php')
							oCMenu.makeMenu('sub154','sub15','Application and Deadline','/commissions/firstmusic/application.php')
							oCMenu.makeMenu('sub155','sub15','Past Winners','/commissions/firstmusic/gallery.php')
	 oCMenu.makeMenu('sub16','top1','First Art','')
							oCMenu.makeMenu('sub162','sub16','Description','/commissions/firstart/description.php')
							oCMenu.makeMenu('sub163','sub16','Eligibility','/commissions/firstart/eligibility.php')
							oCMenu.makeMenu('sub164','sub16','Application and Deadline','/commissions/firstart/application.php')
							oCMenu.makeMenu('sub165','sub16','Gallery','/commissions/firstart/gallery.php')
	oCMenu.makeMenu('sub17', 'top1','Community Involvement')
	                        oCMenu.makeMenu('sub172','sub17','Get-On Music','/programs/getonmusic.php')
							oCMenu.makeMenu('sub173','sub17','Performances for Special Audiences','/programs/psa.php')
							oCMenu.makeMenu('sub174','sub17','Kesselman Award for Arts Education','/programs/award.php')
							
	

//Auditions
oCMenu.makeMenu('top3','','&nbsp;Auditions','','','105','22','/images/menu/auditions.gif','/images/menu/auditions_on.gif')
  oCMenu.makeMenu('sub30','top3','Eligibility','/auditions/eligibility.php','','','','','')
  oCMenu.makeMenu('sub31','top3','Application','/auditions/application.php')
  oCMenu.makeMenu('sub32','top3','Audition Dates','/auditions/auditions_tba.php')
  oCMenu.makeMenu('sub33','top3','Excerpts','')
  	oCMenu.makeMenu('sub332','sub33','Orchestra','/auditions/orchestra_tba.php')
	oCMenu.makeMenu('sub334','sub33','Jazz Band Classic','/auditions/jazz_tba.php')
	


//support
oCMenu.makeMenu('top4','','&nbsp;support','','','105','22','/images/menu/support.gif','/images/menu/support_on.gif')
  oCMenu.makeMenu('sub40','top4','Ways To Give','/support/patrons.php','','','','','')
  oCMenu.makeMenu('sub44','top4','Endowment Campaign','/support/endowmentcampaign.php')
  oCMenu.makeMenu('sub41','top4','Leading Support','/support/leadingsupport.php')
  oCMenu.makeMenu('sub42','top4','Donate Now!','https://etm.patrontechnology.com/o/NYYS/p/run_module.php?__module__=1095','_blank')
  oCMenu.makeMenu('sub43','top4','Advertise','/performances/advertise.php','')
  
  
//Commissions
oCMenu.makeMenu('top5','','&nbsp;Commissions','','','105','22','/images/menu/commissions.gif','/images/menu/commissions_on.gif')
	 oCMenu.makeMenu('sub50','top5','First Music','')
							oCMenu.makeMenu('sub502','sub50','Description','/commissions/firstmusic/description.php')
							oCMenu.makeMenu('sub503','sub50','Eligibility','/commissions/firstmusic/eligibility.php')
							oCMenu.makeMenu('sub504','sub50','Application and Deadline','/commissions/firstmusic/application.php')
							oCMenu.makeMenu('sub505','sub50','Previous Awardees','/commissions/firstmusic/gallery.php')
	 oCMenu.makeMenu('sub51','top5','First Art','')
							oCMenu.makeMenu('sub512','sub51','Description','/commissions/firstart/description.php')
							oCMenu.makeMenu('sub513','sub51','Eligibility','/commissions/firstart/eligibility.php')
							oCMenu.makeMenu('sub514','sub51','Application and Deadline','/commissions/firstart/application.php')
							oCMenu.makeMenu('sub515','sub51','Gallery','/commissions/firstart/gallery.php')


//Musicians
oCMenu.makeMenu('top6','','&nbsp;Musicians','','','105','22','/images/menu/musicians.gif','/images/menu/musicians_on.gif')
	 oCMenu.makeMenu('sub60','top6','Schedules','')
                              oCMenu.makeMenu('sub602','sub60','Orchestra','/musicians/schedules/orchestra.php','','','','','')
							  oCMenu.makeMenu('sub603','sub60','Chamber Music','/musicians/schedules/chambermusic.php')
							  oCMenu.makeMenu('sub604','sub60','Jazz Band Classic','/musicians/schedules/jazz.php')
							  oCMenu.makeMenu('sub605','sub60','Making Score','/musicians/schedules/makingscore.php')
							  
	 oCMenu.makeMenu('sub61','top6','Guidelines and Rules','')
	                          oCMenu.makeMenu('sub612','sub61','Orchestra','/musicians/guidelines/orchestra.php')
							  oCMenu.makeMenu('sub613','sub61','Chamber Music','/musicians/guidelines/chambermusic.php')
							  oCMenu.makeMenu('sub614','sub61','Jazz Band Classic','/musicians/guidelines/jazz.php')
							  oCMenu.makeMenu('sub615','sub61','Making Score','/musicians/guidelines/makingscore.php')
							  
	 oCMenu.makeMenu('sub62','top6','Photos - all programs','/musicians/photos.php')
	 oCMenu.makeMenu('sub63','top6','OnlyForUs',' http://newyorkyouthsymphony.ning.com/' )
	 oCMenu.makeMenu('sub64','top6','Communication Guidelines','/musicians/communication.php')

//Alumni
oCMenu.makeMenu('top7','','&nbsp;Alumni','','','105','22','/images/menu/alumni.gif','/images/menu/alumni_on.gif')
							oCMenu.makeMenu('sub70','top7','News','/alumni/alumninews.php')
							oCMenu.makeMenu('sub71','top7','Events','/alumni/alumnievents.php')
							oCMenu.makeMenu('sub72','top7','Connect','/alumni/alumnidatabasebyyear.php')
							oCMenu.makeMenu('sub73','top7','Contact','/alumni/alumnicontactusform.php')
							oCMenu.makeMenu('sub74','top7','Donate','/support/patrons.php')
							
	
//About Us
oCMenu.makeMenu('top8','','&nbsp;About Us','','','105','22','/images/menu/about.gif','/images/menu/about_on.gif')
	 oCMenu.makeMenu('sub80','top8','Mission','/about/mission.php')
	 oCMenu.makeMenu('sub81','top8','Publicity','')
	 					oCMenu.makeMenu('sub812','sub81','Reviews','/about/publicity/reviews/index.php')
						oCMenu.makeMenu('sub813','sub81','Press Releases','/about/publicity/pressreleases/index.php')
						oCMenu.makeMenu('sub814','sub81','Photos','/about/publicity/photos/index.php')
	 oCMenu.makeMenu('sub82','top8','Board of Trustees','/about/trustees.php')
	 oCMenu.makeMenu('sub83','top8','Staff','/about/staff.php')
	 oCMenu.makeMenu('sub84','top8','Parents Guild','/about/parentsguild.php')	 
	 oCMenu.makeMenu('sub85','top8','Leading Support','/support/leadingsupport.php')
	 
	 oCMenu.makeMenu('sub86','top8','Employment','/about/employment.php')
	 oCMenu.makeMenu('sub87','top8','Contact Us','/about/contact.php')


//Leave this line - it constructs the menu
oCMenu.construct()