(elt)
| 2929 | } |
| 2930 | |
| 2931 | function computedStyle(elt) { |
| 2932 | if (elt.currentStyle) return elt.currentStyle; |
| 2933 | return window.getComputedStyle(elt, null); |
| 2934 | } |
| 2935 | |
| 2936 | // Find the position of an element by following the offsetParent chain. |
| 2937 | // If screen==true, it returns screen (rather than page) coordinates. |