$(document).ready(function(){
    /*$('.header .nav ul li').hover(function(e){
        if(!$(this).hasClass('selected')){
            $(this).height(25).animate({height:'30px'},200);
            $('.header .nav ul li.selected').clearQueue().animate({height:'24px'},200);
        }
        
    },function(e){
        if(!$(this).hasClass('selected')) $(this).height(26);
        $('.header .nav ul li.selected').clearQueue().animate({height:'30px'},200);
    });*/
    if(navigator.platform.match('Mac') !== null || navigator.platform.match('iPad') !== null || navigator.platform.match('iPhone') !== null) {
        $('.content h1').css({lineHeight:'1.2em',paddingBottom:'0'});
    }
    if(navigator.userAgent.match('Firefox') == null){
        $('.events-list').height(538);
    }
});
