$(function() {
    adjustContentHeight();
    fadeInContent();
});

function adjustContentHeight()
{
    // Implicit call to grow content area to the size of the window frame.
    $('#main').css('min-height', $(window).height());

    // Bind the same functionality to the window resize event. This
    // locks-up IE 6, however it seems to automagically resize the content
    // on window resize anyway. 
    if ( $.browser.msie ) {
        if ( $.browser.version > 6.0 )
        {
            $(window).bind('resize', function() {
                $('#main').css('min-height', $(window).height());
            });
        }
    } else {
        $(window).bind('resize', function() {
            $('#main').css('min-height', $(window).height());
        });
    }
}

function fadeInContent()
{
    $('#contentRight').hide();
    $('#contentRight').fadeIn(1200);
} 