You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varcalcPageHeight=function(doc){varcHeight=Math.max(doc.body.clientHeight,doc.documentElement.clientHeight);varsHeight=Math.max(doc.body.scrollHeight,doc.documentElement.scrollHeight);returnMath.max(cHeight,sHeight);};varcalcPageWidth=function(doc,win){if(!!win.ActiveXObject&&doc.documentMode<=8&&doc.compatMode==='CSS1Compat'){/** * extract the minimal value under IE compatible mode, * so that the scroll bar won't be outside the container */varcWidth=Math.min(doc.body.clientWidth,doc.documentElement.clientWidth);/** also set body width to fix existence of scrollbars. */// doc.body.style.width = cWidth - 30 + 'px';returncWidth;}else{returnMath.max(doc.body.clientWidth,doc.documentElement.clientWidth);}};