$(document).ready(function() {


    var w;
    w = $(window).width();
    if (w < 980){
        $("#wrapper").width(980);
    }

    $(".featuredbuttons a, .pop a").fancybox({
        "zoomSpeedIn": 0,
        "zoomSpeedOut": 0,
        "overlayShow": true,
        "overlayOpacity": 0.80
    });
    $(".featuredbuttons a img, .fbuttons a img").mouseover(function(){
        var w = $(this).width();
        var h = $(this).height();
        $(this).width(w * .96);
        $(this).height(h * .96);
    }).mouseout(function(){
        $(this).width(150);
        $(this).height(150);
    });

    $(".menu_link").hover(function() {
        $(this).css("background-image", "url(images/menu/bg_highlight.png)");
    }, 
    function () {
        $(this).css("background-image", "url(none)");
    });

    $("#menu_sticky").mouseover(function(){
        var w = $(this).width();
        var h = $(this).height();
        $(this).width(w * .96);
        $(this).height(h * .96);
    }).mouseout(function(){
        $(this).width(132);
        $(this).height(135);
    });

    

});


