//CREATE JAVA MENU 2.0
var horizontalMenu = new FSMenu('horizontalMenu', false, '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.

//horizontalMenu.showDelay = 0;
//horizontalMenu.switchDelay = 125;
//horizontalMenu.hideDelay = 100;
//horizontalMenu.cssLitClass = 'highlighted';
//horizontalMenu.showOnClick = 0;
//horizontalMenu.hideOnClick = true;
//horizontalMenu.animInSpeed = 0.2;
//horizontalMenu.animOutSpeed = 0.2;




// ANIMATIONS
horizontalMenu.animations[horizontalMenu.animations.length] = FSMenu.animFade;
horizontalMenu.animations[horizontalMenu.animations.length] = FSMenu.animSwipeDown;
//horizontalMenu.animations[horizontalMenu.animations.length] = FSMenu.animClipDown;




// SUBMENU ARROW - DO NOT CHANGE! ONLY IF YOU WANT TO CHANGE THE ARROW IMAGE FILE!
var horizontal_arrow = null;
if ( document.createElement && document.documentElement)
{
 horizontal_arrow = document.createElement('img');
 horizontal_arrow.src = '/gfx/javamenu_2_0/vertical_submenu_arrow.gif';
 horizontal_arrow.style.borderWidth = '0';
 horizontal_arrow.align = 'right';
 horizontal_arrow.className = 'vertical_submenu_arrow';
}

//]]>