temp version.
used jQuery to find offset, this is more reliable, as shown in ehow.com