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' : 39, // 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' : 23, // Vertical Offset between adjacent levels in pixels 'block_top' : 35, // 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('Weight Loss Home'), 'http://www.ddrfitclub.com/', {'sw': 65}],[wrap_root('Weight Loss Stories'), 'http://www.ddrfitclub.com/Weight_Loss_Stories', {}],[wrap_root('Message Boards'), 'http://www.ddrfitclub.com/forums/', {'tw': '_self'}],[wrap_root('DDR News'), 'http://www.ddrfitclub.com/DDR_Weight_Loss_News', {}],[wrap_root('DDR Games'), 'http://www.ddrfitclub.com/DDR_Games', {},[wrap_child('PlayStation', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.ddrfitclub.com/PlayStation', {}],[wrap_child('xBox', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.ddrfitclub.com/xBox', {}],[wrap_child('Game Cube', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.ddrfitclub.com/Game_Cube', {}],[wrap_child('Computer', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.ddrfitclub.com/Computer', {}],[wrap_child('Plug n Play', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.ddrfitclub.com/Plug_and_Play', {}],[wrap_child('Misc Fitness', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.ddrfitclub.com/Non_Mat_Fitness', {}]],[wrap_root('DDR Mats'), 'http://www.ddrfitclub.com/DDR_Mats', {},[wrap_child('Soft Mats', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.ddrfitclub.com/Soft_Mats', {}],[wrap_child('Padded Mats', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.ddrfitclub.com/Padded_Mats', {}],[wrap_child('Hard Mats', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.ddrfitclub.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.ddrfitclub.com/Hard_Mats', {}]],[wrap_root('Register'), 'http://www.ddrfitclub.com/register', {'sw': 90}],[wrap_root('Contact'), 'http://www.ddrfitclub.com/contact', {'sw': 70}],[wrap_root('Getting Started'), 'http://www.ddrfitclub.com/Getting_Started', {}]]; new menu (MENU_ITEMS, MENU_POS);