	//<![CDATA[

	// For each menu you create, you must create a matching "FSMenu" JavaScript object to represent
	// it and manage its behaviour. You don't have to edit this script at all if you don't want to;
	// these comments are just here for completeness. Also, feel free to paste this script into the
	// external .JS file to make including it in your pages easier!

	// Here's a menu object to control the above list of menu data:
	var listMenu = new FSMenu('listMenu', true, 'visibility', 'visible', 'hidden');

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

	//listMenu.showDelay = 0;
	//listMenu.switchDelay = 125;
	//listMenu.hideDelay = 500;
	listMenu.cssLitClass = 'highlighted';
	//listMenu.showOnClick = 1;

	//  animation part
	function animClipDown(ref, counter)
	{
		var cP = Math.pow(Math.sin(Math.PI*counter/200),0.75);
		ref.style.clip = (counter==100 ?
			((window.opera || navigator.userAgent.indexOf('KHTML') > -1) ? '':
			'rect(auto, auto, auto, auto)') :
			'rect(0, ' + ref.offsetWidth + 'px, '+(ref.offsetHeight*cP)+'px, 0)');
		};

		function animFade(ref, counter)
		{
			var f = ref.filters, done = (counter==100);
			if (f)
			{
				if (!done && ref.style.filter.indexOf("alpha") == -1)
				ref.style.filter += ' alpha(opacity=' + counter + ')';
				else if (f.length && f.alpha) with (f.alpha)
				{
					if (done) enabled = false;
					else { opacity = counter; enabled=true }
				}
			}
			else ref.style.opacity = ref.style.MozOpacity = counter/100.1;
		};

		listMenu.animations[listMenu.animations.length] = animFade;
		listMenu.animations[listMenu.animations.length] = animClipDown;
		listMenu.animSpeed = 20;

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


