if (BrowserDetect.browser != "Explorer") {
function setPageHeight() {
        document.getElementById("page").style.height = "100%";
        var height = (document.documentElement ? document.documentElement : document.body).scrollHeight;
        if (height < document.body.scrollHeight) height = document.body.scrollHeight; // fix for safari which has documentElement, but that has only height of viewport
        document.getElementById("page").style.height = height+"px";
}
AddToInitArray(setPageHeight);
window.onresize = setPageHeight;
}