function getStyle68972(el, cssprop) { if (el.currentStyle) return el.currentStyle[cssprop]; else if (document.defaultView && document.defaultView.getComputedStyle) return document.defaultView.getComputedStyle(el, "")[cssprop]; else return el.style[cssprop]; } document.getElementsByTagName('body')[0].style.marginBottom = parseInt(getStyle68972(document.getElementsByTagName('body')[0], 'marginBottom')) + 40 + 2 + 'px'; // document.write('
'); document.write(''); document.write('
');