<script type="text/javascript">
  // This code requires the Prototype JS 
  // lib from 'Included Javascript Library' below.

  // when all dom loaded, perform action
  document.observe('dom:loaded', function(l){
    // give first element focus
    $('page0').focusFirstElement();
  });
</script>