// 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=0
oCMenu.fromTop=290  
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="file:///C|/RAMONA/WEBSITES/jackgallagher/" 
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1 
oCMenu.wait=2000 
oCMenu.fillImg=""
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="1000"
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=150
oCMenu.level[0].height=24
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 //For horizontal submenu use 1 - For vertical dropdown use 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-1
oCMenu.level[1].height=24
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+72
oCMenu.level[1].offsetY=-1
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','','','','','197','26','/images/menu/spacer.jpg','','','','','')

oCMenu.makeMenu('top1','','Home','/index.php','','114','26','/images/menu/home.jpg','/images/menu/homeON.jpg','','','','')

oCMenu.makeMenu('top2','','Biography','','','114','26','/images/menu/bio.jpg','/images/menu/bioON.jpg','','','','')
  oCMenu.makeMenu('sub20','top2','Biography','/biography/index.php','','150','24','','')
  oCMenu.makeMenu('sub21','top2','Press Kit','/presskit/index.php','','150','24','','')
  oCMenu.makeMenu('sub22','top2','Gallery','/gallery/index.php','','150','24','','')
	 oCMenu.makeMenu('sub23','top2','Teaching','/biography/teaching/index.php','','150','24','','')
  oCMenu.makeMenu('sub24','top2','Links','/biography/links.php','','150','24','','')
  oCMenu.makeMenu('sub25','top2','','','','150','20','/images/menu/end.gif','')

oCMenu.makeMenu('top3','','Works','','','117','26','/images/menu/works.jpg','/images/menu/worksON.jpg','','','','')
  oCMenu.makeMenu('sub30','top3','Orchestral','/works/orchestral/index.php','','150','24', '','')
	 oCMenu.makeMenu('sub31','top3','Symphonic Band','/works/symphonic/index.php','','150','24','','')
	 oCMenu.makeMenu('sub32','top3','Chamber Ensembles','/works/chamber/index.php','','150','24','','')
	 oCMenu.makeMenu('sub33','top3','Vocal/Choral','/works/choral/index.php','','150','24','','')
	 oCMenu.makeMenu('sub34','top3','Solo Works','/works/solo/index.php','','150','24','','')
  oCMenu.makeMenu('sub35','top3','','','','150','20','/images/menu/end.gif','')

oCMenu.makeMenu('top4','','Recordings','/recordings/index.php','','114','26','/images/menu/recordings.jpg','/images/menu/recordingsON.jpg','','','','')

oCMenu.makeMenu('top5','','Press','','','115','26','/images/menu/press.jpg','/images/menu/pressON.jpg','','','','')
  oCMenu.makeMenu('sub50','top5','Quotes','/press/index.php','','150','24', '','')
	 oCMenu.makeMenu('sub51','top5','Articles','/press/articles/index.php','','150','24','','')

oCMenu.makeMenu('top6','','Calendar','/calendar.php','','116','26','/images/menu/calendar.jpg','/images/menu/calendarON.jpg','','','','')

oCMenu.makeMenu('top7','','Contact','/contact.php','','113','26','/images/menu/contact.jpg','/images/menu/contactON.jpg','','','','')


//Leave this line - it constructs the menu
oCMenu.construct()