﻿try { console.log('console available...done'); } catch(e) { console = { log: function() {} }; }

 // replace special fonts
Cufon.replace('#content h1, #content h2');

// define a namespace

(function($) {
	$.fantasyleague = {};
})(jQuery);


$(document).ready(function(){ 
   
  // Main menu hover menu's
  $("#menu li:has(ul)").hover(
      function() {  $('ul', this).css('display', 'block');
                    $(this).find("a").addClass('current'); 
      },      
      function() {  $('ul', this).css('display', 'none'); 
                    $(this).find("a").removeClass('current'); 
                    
    });
    
    // Main menu hover menu's
    $(".sub-menu li:has(ul)").hover(
      function() {  $('ul', this).css('display', 'block');
                    $(this).find("a").addClass('current'); 
      },      
      function() {  $('ul', this).css('display', 'none'); 
                    $(this).find("a").removeClass('current'); 
                    
    });

                  
});
