Support@Duke


Support@Duke 0) || (navigator.msMaxTouchPoints !== ‘undefined’ && navigator.msMaxTouchPoints > 0)) { if (typeof document.body != undefined) { document.body.classList.add(‘touch_scroll’); } } } ]]>This site requires JavaScript to be enabled div.popup, .modal.in > .modal-dialog’); if (popups.length > 0) { popupElement = popups[0]; popupHeight = popupElement.scrollHeight + popupElement.offsetTop; //padding is needed or else the bottom border of the popup will be missing return (document.body.scrollHeight > popupHeight ? document.body.scrollHeight : popupHeight) + pad; } // then, look for form elements // use more specific selector to reduce browser response time if ($$(‘body > div.section_header_content_no_scroll’).length > 0) { var mainContentHeight = $$(‘body > div.section_header_content_no_scroll’)[0].scrollHeight; // we use the form_title class to distinguish between UI15+ where the form title actually adds to the height var header = $$(‘body > div.section_header_div_no_scroll.form_title’); var headerHeight = header.length == 0 ? 0 : header[0].getHeight(); return mainContentHeight + headerHeight; } // then, look for touch scroll elements *CALGARY and forward* if ($$(‘body > .touch_scroll’).length > 0) return $$(‘body > .touch_scroll’)[0].scrollHeight; // then, get the normal page height if (document.body.scrollHeight || document.documentElement.scrollHeight) { if (!resizeSmall){ if(document.body.scrollHeight > document.documentElement.scrollHeight) return document.body.scrollHeight; else return document.documentElement.scrollHeight; } else{ if(document.documentElement.scrollHeight > document.body.scrollHeight) return document.body.scrollHeight; else return document.documentElement.scrollHeight; } } return document.body.offsetHeight; } // start observing only after page has been loaded to avoid handling large number of resize events especially on IE 7 and IE 8 addAfterPageLoadedEvent(function() { CustomEvent.observe(‘frame.resized’, throwFrameSized); CustomEvent.observe(‘frame.resized.smaller’, throwFrameSizedSmaller); CustomEvent.observe(‘partial.page.reload’, throwFrameLoaded); // specifically, reports and lists that cause the page to shrink Event.observe(document.onresize ? document : window, “resize”, throwFrameSized); _frameChanged(); }); })();]]> Response time(ms): #{RESP}, Network: #{NETW}, server: #{SERV}, browser: #{REND}Toggle browser timing details  
Source