
/*overstate*/
$(document).ready(function() {

$(".menuoverstate-png").each(function(i) {

    preload_image = new Image();
    preload_image.src = this.src.replace(".png", "_o.png");

    $(this).hover(
            function() {
                if (this.src.indexOf("_o.png") == -1) {
                    this.src = this.src.replace(".png", "_o.png");
                }

            },

            function() {
                this.src = this.src.replace("_o.png", ".png");

            });

}
        );
        
   $('#view-menus').hover( function(){
        $(this).css('background-color', '#bec0c2');
        },
        function(){
             $(this).css('background-color', '#c1d72e'); 
        });
        
   $('#make-reservation').hover( function(){
        $(this).css('background-color', '#bec0c2');
        $("#make-reservation-title").css('color', '#006a72');
        },
        function(){
             $(this).css('background-color', '#006a72');
             $("#make-reservation-title").css('color', '#c1d72e');
        });
        
    $('#download').hover( function(){
        $(this).css('background-color', '#bec0c2');
        },
        function(){
             $(this).css('background-color', '#c1d72e'); 
        });
});

