function wrap_root (text) { /*normal, hover, click*/ return ['
  ' + text + '  
', '
  ' + text + '  
', '
  ' + text + '  
' ]; } function wrap_parent (text, icon, hovericon) { /*normal, hover, click*/ return [['
  ' + text + '  
'].join(''), ['
  ' + text + '  
'].join(''), ['
  ' + text + '  
'].join('') ]; } function wrap_child (text, icon, hovericon) { /*normal, hover, click*/ return [['
  ' + text + '  
'].join(''), ['
  ' + text + '  
'].join(''), ['
  ' + text + '  
'].join('') ]; } var MENU_POS =[ // Level 0 block configuration { // Item's height in pixels 'height' : 22, // 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' : 130, 'height' : 22, // Vertical Offset between adjacent levels in pixels 'block_top' : 23, // 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' : 131 } //Subling level configurations are inherited from level 2 ] var MENU_ITEMS = [[wrap_root('Home'), 'http://www.aguild.net/index.php?categoryid=1', {'sw': 65}],[wrap_root('Forums'), 'http://www.aguild.net/forums/index.php', {'sw': 75},[wrap_child('Unread Posts', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.aguild.net/forums/index.php?action=unread', {}],[wrap_child('Recent Posts', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.aguild.net/forums/index.php?action=recent', {}],[wrap_child('My Messages', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.aguild.net/forums/index.php?action=pm', {}]],[wrap_root('phpRaider'), 'http://www.aguild.net/phpRaider/', {'sw': 75}],[wrap_root('Talent Calc'), 'http://www.aguild.net/index.php?categoryid=23', {}],[wrap_root('Guild Info'), 'http://www.aguild.net/index.php?categoryid=20', {'sw': 80},[wrap_child('Guild Charter', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.aguild.net/index.php?categoryid=9', {}],[wrap_child('Join Ascension', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.aguild.net/index.php?categoryid=12', {}],[wrap_child('Leadership Team', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.aguild.net/index.php?categoryid=26', {}]],[wrap_root('Raiding Info'), 'http://www.aguild.net/index.php?categoryid=30', {},[wrap_child('Raid Team', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.aguild.net/index.php?categoryid=31', {}],[wrap_child('Raid Requirements', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.aguild.net/index.php?categoryid=32', {}],[wrap_child('Loot Rules', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.aguild.net/index.php?categoryid=33', {}],[wrap_parent('Boss Strategies', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.aguild.net/index.php?categoryid=34', {},[wrap_parent('Tempest Keep', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.aguild.net/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.aguild.net/index.php?categoryid=37', {}]]]]; new menu (MENU_ITEMS, MENU_POS);