//CREATE JAVA MENU 2.0
var verticalMenu = new FSMenu('verticalMenu', true, 'display', 'block', 'none');

// The parameters of the FSMenu object are:
//  1) Its own name in quotes.
//  2) Whether this is a nested list menu or not (in this case, true means yes).
//  3) The CSS property name to change when menus are shown and hidden.
//  4) The visible value of that CSS property.
//  5) The hidden value of that CSS property.
//
// Next, here's some optional settings for delays and highlighting:
//  * showDelay is the time (in milliseconds) to display a new child menu.
//    Remember that 1000 milliseconds = 1 second.
//  * switchDelay is the time to switch from one child menu to another child menu.
//    Set this higher and point at 2 neighbouring items to see what it does.
//  * hideDelay is the time it takes for a menu to hide after mouseout.
//    Set this to a negative number to disable hiding entirely.
//  * cssLitClass is the CSS classname applied to parent items of active menus.
//  * showOnClick will, suprisingly, set the menus to show on click. Pick one of 3 values:
//    0 = all mouseover, 1 = first level click, sublevels mouseover, 2 = all click.
//  * hideOnClick hides all visible menus when one is clicked (defaults to true).
//  * animInSpeed and animOutSpeed set the animation speed. Set to a number
//    between 0 and 1 where higher = faster. Setting both to 1 disables animation.

//verticalMenu.showDelay = 0;
//verticalMenu.switchDelay = 125;
//verticalMenu.hideDelay = 100;
//verticalMenu.cssLitClass = 'highlighted';
//verticalMenu.showOnClick = 0;
//verticalMenu.hideOnClick = true;
//verticalMenu.animInSpeed = 0.2;
//verticalMenu.animOutSpeed = 0.2;




// ANIMATIONS
verticalMenu.animations[verticalMenu.animations.length] = FSMenu.animFade;
verticalMenu.animations[verticalMenu.animations.length] = FSMenu.animSwipeDown;
verticalMenu.animations[verticalMenu.animations.length] = FSMenu.animClipDown;




// SUBMENU ARROW - DO NOT CHANGE! ONLY IF YOU WANT TO CHANGE THE ARROW IMAGE FILE!
var vertical_arrow = null;
if (document.createElement && document.documentElement)
{
 vertical_arrow = document.createElement('img');
 vertical_arrow.src = '/gfx/javamenu_2_0/vertical_submenu_arrow.gif';
 vertical_arrow.style.borderWidth = '0';
 vertical_arrow.align = 'right';
 vertical_arrow.className = 'vertical_submenu_arrow';
}

//]]>