/*
 * Here's how to use this jump-menu helper:
 *
 *   requirements: prototype
 *
 *   %select#jump-menu
 *     %option{:value => "example-1"} Section One
 *     %option{:value => "example-2"} Section Two
 *   #example-1
 *     [text for section one]
 *   #example-2
 *     [text for example two]
 */

Event.observe(window, 'load', function() { 
  $('jump-menu').onchange = function(){
    var target_id = $("jump-menu").getValue();
    $(target_id).scrollTo();
    return false;
  };
}); 


