actually your script was pretty close - you only needed to move this line:
Code:
var i=document.getElementById("page_select").selectedIndex;
inside the onclick function so that the selectedIndex variable changed every time the button was clicked.
I moved it around because all the jump_menu function was doing in the end was setting the onclick for the button on window load - which gets done anyway if you just leave it at the start of the script (but after the html elements have been defined)