$(function() {
    $('p a').mouseover(function() {
        $(this).animate({backgroundColor:'#DBDCDD'}, 300);
    });
    $('p a').mouseout(function() {
        $(this).animate({backgroundColor: '#ffffff'}, 300);
    });

    $('h5 a').mouseover(function() {
        $(this).animate({backgroundColor:'#DBDCDD'}, 300);
    });
    $('h5 a').mouseout(function() {
        $(this).animate({backgroundColor: '#ffffff'}, 300);
    });

    $('.headr h1').hover(function() {
        $('.bordrs').animate({backgroundColor: '#747832'}, 300);
    });

    $('.headr h1').mouseleave(function() {
        $('.bordrs').animate({backgroundColor:"#DBDCDD"}, 300);
    });

    $('.container_folio img').hover(function() {
        $(this).stop().animate({marginTop:"-10px"}, 300);
    });
    $('.container_folio img').mouseout(function() {
        $(this).stop().animate({marginTop:"0px"}, 400);
    });
});

/* $(document).ready(function() {
$('#mainbod').css('display', 'none');
$('#mainbod').fadeIn(1000);

$('a').click(function() {
event.preventDefault();
newLocation = this.href;
$('#mainbod').fadeOut(1000, newpage);
});
function newpage() {
window.location = newLocation;
}
});

*/
