function wrap_root (text) { /*normal, hover, click*/ return ['
' + text + '<\/div>', '
' + text + '<\/div>', '
' + text + '<\/div>' ]; } function wrap_parent (text) { /*normal, hover, click*/ return [['
' + text + '<\/div>'].join(''), ['
' + text + '<\/div>'].join(''), ['
' + text + '<\/div>'].join('') ]; } function wrap_child (text) { /*normal, hover, click*/ return [['
' + text + '<\/div>'].join(''), ['
' + text + '<\/div>'].join(''), ['
' + text + '<\/div>'].join('') ]; } var MENU_POS =[ // Level 0 block configuration { // Item's height in pixels 'height' : 25, // Item's width in pixels 'width' : 100, // if Block Orientation is vertical 'vertical' : false, // Time Delay in milliseconds before subling block expands // after mouse pointer overs an item 'expd_delay' : 0, // Style class names for the level 'css': { // Block outing table class 'table' : '', // Item outer tag style class for all item states or // classes for [, , ] 'outer' : '', // Item inner tag style class for all item states or // classes for [, , ] 'inner' : '' } }, // Level 1 block configuration { 'width' : 100, 'height' : 25, // Vertical Offset between adjacent levels in pixels 'block_top' : 25, // Horizontal Offset between adjacent levels in pixels 'block_left' : 0, // block behaviour if single frame: // 1 - shift to the edge, 2 - flip relatively to left upper corner 'wise_pos' : 1, 'vertical' : true, // transition effects for the block // [index on expand, duration on expand, index on collapse, duration on collapse] 'transition' : [0, 0.3, 0, 0.3], // Time Delay in milliseconds before menu collapses after mouse // pointer lefts all items 'hide_delay' : 300, 'css' : { 'table' : '', 'outer' : '', 'inner' : '' } }, // Level 2 block configuration { 'block_top' : 0, 'block_left' : 100 } //Subling level configurations are inherited from level 2 ] var MENU_ITEMS = [[wrap_root('Home'), 'http://www.civicsymphony.org/', {'sw': 65}],[wrap_root('Concerts'), 'http://www.civicsymphony.org/Concert', {},[wrap_parent('Young Artist', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Young_Artist', {}],[wrap_child('Repertoire', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Repertoire', {}],[wrap_child('Programs', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Programs', {}]],[wrap_root('Support'), 'http://www.civicsymphony.org/Support', {},[wrap_child('Share Cards', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Share_Cards', {}]],[wrap_root('About Us'), 'http://www.civicsymphony.org/About_Us', {'sw': 100},[wrap_parent('Conductors', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Conductors', {}],[wrap_parent('Leadership', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Leadership', {}],[wrap_child('Musicians', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Musicians', {}],[wrap_child('Members', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Members', {}]],[wrap_root('Contact'), 'http://www.civicsymphony.org/contact', {},[wrap_child('FAQs', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/FAQs', {}],[wrap_child('Downloads', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Downloads', {}],[wrap_child('Links', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/links', {}],[wrap_child('Help Desk', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Help_Desk', {}]],[wrap_root('News'), 'http://www.civicsymphony.org/News', {},[wrap_child('Archives', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Archives', {}],[wrap_child('Photos', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/Photos', {}]],[wrap_root('Forum'), 'http://www.civicsymphony.org/forum/index.php', {},[wrap_child('Calendar', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/forum/index.php?act=calendar', {}],[wrap_child('Register', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.civicsymphony.org/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.civicsymphony.org/forum/index.php?act=Reg&CODE=00', {}]]]; new menu (MENU_ITEMS, MENU_POS);