// JavaScript Document


/* Usage for the plugin
  this are the default options if not assigned like follows:

 ulPadding: 0
 velocity: 800
 edges: 100
 debug: false
 clickFunction: null
*/
$(document).ready(function() {
   function clickMe(){
      // the function returns $(this) as each li item, so the a href attribute is:
      var linkid = $(this).find('a').attr('href');
      // in this example i use the href to open an url
      window.location = linkid; return false;
   }

   var defaults = {ulPadding:0,
      velocity: 300,
      edges:50,
      debug: true,
      extendClick: clickMe
      }
    $("#easeMenu").easeMenu(defaults);
});

