addEvent(document, 'click',  function() { listMenu.hideAll(); });

var listMenu = new FSMenu('listMenu', true, 'display', 'block', 'none');

 listMenu.showDelay = 0;
 listMenu.switchDelay = 0;
 listMenu.hideDelay = 0;
 listMenu.animInSpeed = 1;
 listMenu.animOutSpeed = 1;

/*
listMenu.animInSpeed = 0.5;
listMenu.animOutSpeed = 0.5;
listMenu.animations[listMenu.animations.length] = FSMenu.animClipDown;                    
*/

// Submenu-Indicator
var arrow = null;
if (document.createElement && document.documentElement)
{
	arrow = document.createElement('img');
	arrow.src = '/wp-content/themes/fooma_v2/images/arrow-submenu.gif';
	arrow.style.borderWidth = '0';
	arrow.className = 'subind';
}

addEvent(window, 'load', new Function('listMenu.activateMenu("listMenuRoot", arrow)'));

 