function FixContentHeight() {

    var win_h = 0;

    if ( typeof( window.innerHeight ) == 'number' ) {

        win_h = window.innerHeight;

    } else {

        if ( document.documentElement.clientHeight && document.documentElement ) {

            win_h = document.documentElement.clientHeight;

        } else {

            if (document.body && document.body.clientHeight) {

                win_h = document.body.clientHeight;

            }

        }

    }

    var content_height = win_h - 188;

    document.getElementById('content').style.height = content_height + "px";

}



window.onresize = function () {
    FixContentHeight();
}

window.onload = function () {
    FixContentHeight();
}
