var cRects = document.body.getClientRects(); var bodyHeight = cRects[0].bottom - cRects[0].top; document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('');