var time = 1000;
$(document).ready(function(){
    document.getElementById('layout').style.minHeight = (document.documentElement.clientHeight) + 'px';
    var shine_svg = document.getElementById('shine_svg');
    shine_svg.style.width = (document.documentElement.clientWidth) + 'px'
    shine_svg.style.height = (document.documentElement.clientWidth/2) + 'px'
    if(!$.browser.msie){
        $('#socialnetworking img').hide().each(function(){
            $(this).bringToFront();
        }).mouseover(function(){
            $(this).stop().animate(
                {
                    height: '55'
                },
                500
            );
        }).mouseout(function(){
            $(this).stop().animate(
                {
                    height: '45'
                },
                1200
            );
        });
    } else {
        $('#socialnetworking a').attr('class','socialnetworking');
    }
    
    $('.email_brian').each(function(){
        $(this).attr('href', 'mailto:brian@ontodevelopment.com');
    });
});

$.fn.bringToFront = function(){
    $(this).animate(
        {
            //left: '+=50',
            height: 'toggle'
        },
        time
    );
}
