function wrap_root (text)
{
/*normal, hover, click*/
return ['
',
'',
''
];
}
function wrap_parent (text, icon, hovericon)
{
/*normal, hover, click*/
return [[''].join(''),
[''].join(''),
[''].join('')
];
}
function wrap_child (text, icon, hovericon)
{
/*normal, hover, click*/
return [[''].join(''),
[''].join(''),
[''].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' : 75,
'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' : false,
// 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' : 400
}
//Subling level configurations are inherited from level 2
]
var MENU_ITEMS = [[wrap_root('Home'), 'http://www.airsoftcore.com/home?s=b59bec3e4e0e9b2757f4556dab047b43', {'sw': 70}],[wrap_root('Forums'), 'http://www.airsoftcore.com/forum/index.php?s=b59bec3e4e0e9b2757f4556dab047b43', {'sw': 70},[wrap_child('Messages', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/forum/index.php?act=Msg&CODE=01&s=b59bec3e4e0e9b2757f4556dab047b43', {}],[wrap_child('ASC Wiki', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/forums/index.php?autocom=ibwiki&s=b59bec3e4e0e9b2757f4556dab047b43', {}],[wrap_child('New Posts', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/forum/index.php?act=Search&nav=lv&CODE=show&searchid=c4983d3c97c1a46414d7aad00e03431d&search_in=topics&result_type=topi&s=b59bec3e4e0e9b2757f4556dab047b43', {}],[wrap_child('Calendar', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/forum/index.php?act=calendar&s=b59bec3e4e0e9b2757f4556dab047b43', {}],[wrap_child('Search', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/forum/index.php?act=Search&s=b59bec3e4e0e9b2757f4556dab047b43', {}]],[wrap_root('Reviews'), 'http://www.airsoftcore.com/reviewarchive?s=b59bec3e4e0e9b2757f4556dab047b43', {'sw': 70},[wrap_child('AEGs', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/aegreviews?s=b59bec3e4e0e9b2757f4556dab047b43', {}],[wrap_child('Gas', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/gasreviews?s=b59bec3e4e0e9b2757f4556dab047b43', {}],[wrap_child('Spring', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/springreviews?s=b59bec3e4e0e9b2757f4556dab047b43', {}],[wrap_child('Sniper', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/sniperreviews?s=b59bec3e4e0e9b2757f4556dab047b43', {}],[wrap_child('Shotguns', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/shotgunreviews?s=b59bec3e4e0e9b2757f4556dab047b43', {}],[wrap_child('Other', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/otherreviews?s=b59bec3e4e0e9b2757f4556dab047b43', {}],[wrap_child('Mini-electrics', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/minireviews?s=b59bec3e4e0e9b2757f4556dab047b43', {}],[wrap_child('Videos', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/video_reviews?s=b59bec3e4e0e9b2757f4556dab047b43', {}]],[wrap_root('Chat'), 'http://www.airsoftcore.com/forum/chat/flashchat.php?s=b59bec3e4e0e9b2757f4556dab047b43', {'tw': '_blank','sw': 70}],[wrap_root('Gallery'), 'http://www.airsoftcore.com/forum/index.php?act=module&module=gallery&s=b59bec3e4e0e9b2757f4556dab047b43', {'sw': 70}],[wrap_root('Contact'), 'http://www.airsoftcore.com/contact?s=b59bec3e4e0e9b2757f4556dab047b43', {'sw': 70}],[wrap_root('Register'), 'http://www.airsoftcore.com/register?s=b59bec3e4e0e9b2757f4556dab047b43', {'sw': 70}],[wrap_root('Classifieds'), 'http://www.airsoftcore.com/classifieds?s=b59bec3e4e0e9b2757f4556dab047b43', {},[wrap_child('Retailer Discussion', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16', 'http://www.airsoftcore.com/includes/javascript/hovermenu/pixel.gif width=16'), 'http://www.airsoftcore.com/forums/index.php?showforum=11&s=b59bec3e4e0e9b2757f4556dab047b43', {}]],[wrap_root('Search'), 'http://www.airsoftcore.com/search?s=b59bec3e4e0e9b2757f4556dab047b43', {'sw': 70}]];
new menu (MENU_ITEMS, MENU_POS);