<script> window.addEvent('domready',function(){ position = $('footer').getPosition(); alert(position); }) </script>