//<![CDATA[

var listMenu = new FSMenu('listMenu', true, 'display', 'block', 'none');

//  * showDelay is the time (in milliseconds) to display a new child menu.

//  * 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.

//  * 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.

//  * cssLitClass is the CSS classname applied to parent items of active menus.

//listMenu.showDelay = 0;				// Default 0
//listMenu.switchDelay = 125;			// Default 125
//listMenu.hideDelay = 500;				// Default 500
//listMenu.showOnClick = 1;				// Default 0
//listMenu.hideOnClick = true;			// Default TRUE
listMenu.animInSpeed = 0.1;				// Default 0.2
listMenu.animOutSpeed = 0.1;			// Default 0.2
listMenu.cssLitClass = 'highlighted';

//  * FSMenu.animSwipeDown is a "swipe" animation that sweeps the menu down.

//  * FSMenu.animFade is an alpha fading animation using tranparency.

//  * FSMenu.animClipDown is a "blind" animation similar to 'Swipe'.

listMenu.animations[listMenu.animations.length] = FSMenu.animFade;
listMenu.animations[listMenu.animations.length] = FSMenu.animSwipeDown;
//listMenu.animations[listMenu.animations.length] = FSMenu.animClipDown;

var arrow = null;
//if (document.createElement && document.documentElement)
//{
// arrow = document.createElement('span');
// arrow.appendChild(document.createTextNode('>'));
// arrow.className = 'subind';
//}

addEvent(window, 'load', new Function('listMenu.activateMenu("listMenuRoot", arrow)'));


//]]>