﻿var listMenu = new FSMenu('listMenu', true, 'display', 'block', 'none');

listMenu.animOutSpeed = 1.0;
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('>'));
 arrow.className = 'subind';
}
addEvent(window, 'load', new Function('listMenu.activateMenu("listMenuRoot", arrow)'));
    
var listMenuSub = new FSMenu('listMenuSub', true, 'display', 'block', 'none');

listMenuSub.animOutSpeed = 1.0;    
listMenuSub.animations[listMenuSub.animations.length] = FSMenu.animFade;
listMenuSub.animations[listMenuSub.animations.length] = FSMenu.animSwipeDown;

var arrow = null;
if (document.createElement && document.documentElement)
{
 arrow = document.createElement('span');
 arrow.appendChild(document.createTextNode('>'));
 arrow.className = 'subind';
}
addEvent(window, 'load', new Function('listMenuSub.activateMenu("listMenuSub", arrow)'));
