$(document).ready(function () {

    //Fix Errors - http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup/

    //Remove outline from links
    $("a").click(function () {
        $(this).blur();
    });

    //When mouse rolls over
    $("li").mouseover(function () {
        var ht = $(this).attr("relheight");
        $(this).stop().animate({ height: ht }, { queue: false, duration: 600, easing: 'easeOutBounce' })
    });

    //When mouse is removed
    $("li").mouseout(function () {
        $(this).stop().animate({ height: '50px' }, { queue: false, duration: 600, easing: 'easeOutBounce' })
    });

    $("#topdropmenu .body .item").css("opacity", 0.7);
    $("#topdropmenu .body .item").hover(function () {
        $(this).animate({ "opacity": 1 });
    }, function () {
        $(this).animate({ "opacity": 0.7 });
    });

    //, function () { if (jQuery.browser.msie) { $(this).get(0).style.removeAttribute('filter');}  } 
});
