I am trying to do positioning in JavaScript. I am using a cumulative position function based on the classic quirksmode function that sums offsetTop and o
offsetTop
o
If the document hasn't finished loading then offsetParent can be null