function fixFooter() {
    //eval window height
    var winHeight = 0;
    if( typeof( window.innerWidth ) == 'number' ) {
        //Non-IE
        winHeight = window.innerHeight;
    } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
        //IE 6+ in 'standards compliant mode'
        winHeight = document.documentElement.clientHeight;
    }

    //adjust page height
    var content = document.getElementById('content');
    if (content) {
        var ie6 = window.ActiveXObject && !window.XMLHttpRequest;
        var height = winHeight - 418 - 64 - 20 - 15;
        content.style[ie6 ? 'height' : 'minHeight'] = height + "px";
    }
}