$(document).ready(function () {

    $("#subNav li a").hover(function () {
        $(this).stop().animate({ backgroundColor: '#333', color: '#fff' });
    }, function () {
        $(this).stop().animate({ backgroundColor: '#ddd', color: '#333' });
    });

});
