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('>'));
arrow.className = 'subind';
}
fsmAddEvent(window, 'load', new Function('listMenu.activateMenu("listMenuRoot", arrow)'));

// Activation: This must be pasted beneath your activateMenu() call.
fsmAddEvent(window, 'load', function() {
 // You must call menuObjectName.setLinkFading for each of your menu objects.
 // Pass an associative array {} that contains a list of classnames.
 // You must include a 'standard' class which applies to menu items that have no
 // other classname set like <a class="special"> in the HTML.
 // You can also optionally specify a "highlighted" class that will apply
 // to lit items (or whatever your menu cssLitClass is).
 // You can also style other classes individually -- here I am applying
 // different styles to <a class="special"> as an example.
 // Finally, pass a "speed" parameter to setLinkFading.
 
 // Each class is formatted like so with colour values 0-255:
 // 'classname': { dim: [RR, GG, BB], lit: [RR, GG, BB] }

 listMenu.setLinkFading({
 
  'active': { dim: [255,255,255], lit: [167,169,172] },
  'trail': { dim: [255,255,255], lit: [167,169,172] },
  'special highlighted': { dim: [255,0,0], lit: [0,255,0] },
  'standard': { dim: [242,127,26], lit: [167,169,172] },

  // 1st level
  'l1': { dim: [242,127,26], lit: [167,169,172] },

  // 2nd level
  'l2': { dim: [208,209,211], lit: [167,169,172] },

  // 3rd level
  'l3': { dim: [208,209,211], lit: [167,169,172] }

 }, 15);
 
   // listMenu.cssLitClass = '';

});

 // 242,127,26  = Orange        #F27F1A
 // 102,102,102 = Dark grey     #666666
 // 167,169,172 = Grey (hover)) #A7A9AC
 // 208,209,211 = Light grey    #D0D1D3
 
 // 255,0,0 = red    #FF0000
 // 0,255,0 = green  #00FF00
 
 
