﻿//<![CDATA[

	var listMenu = new FSMenu('listMenu', true, 'display', 'block', 'none');
	
	//listMenu.animations[listMenu.animations.length] = FSMenu.animFade;
	listMenu.animations[listMenu.animations.length] = FSMenu.animSwipeDown;
	
	var arrow = null;
	if (document.createElement && document.documentElement)
	{
	 arrow = document.createElement('span');
	 arrow.appendChild(document.createTextNode('>'));
	 // Feel free to replace the above two lines with these for a small arrow image...
	 //arrow = document.createElement('img');
	 //arrow.src = 'arrow.gif';
	 //arrow.style.borderWidth = '0';
	 arrow.className = 'subind';
	}
	
	registerEvent(window, 'load', new Function('listMenu.activateMenu("listMenuRoot", arrow)'));

	//registerEvent(window, 'load', function() { alert( $('menus').innerHTML ); } );
//]]>