$(document).ready(function() {
    // expand the image to fit the whole page
    /*
    if($('.home-content').length > 0)
    {
        $('.home-content').height( $(document).height()-$('#header').height()-$('#footer').height()-1 );
    }*/
    /*
    console.log("$(.footer-text-area): "+$(".footer-text-area"));
    $(".footer-text-area").hover(function()
    {
        $(this).stop(true);
       $(this).animate({height : "100px" },{ queue: false, duration: 300 },'swing');
    }, function()
    {
        $(this).stop(true);
        $(this).animate({height : "10px" },{ queue: false, duration: 200 },'swing');
    })
    */

   /*
    * INFORMATION TAB
    */
    if($('.information').length > 0)
    {
        $('.information .i').click(function(){
            if( $('.information').css('top') == '360px' )
            {
               // get height of inner div
               var height = $('.information .text').height();
               $('.information').animate({top: (340-height)},{queue: false, duration: 300},'swing');
            }
            else
            {
                $('.information').animate({top: 360},{queue: false, duration: 300},'swing');
            }
        })
    }
});
