var jumpMenu = Class.create();
jumpMenu.prototype = {
	
  initialize : function(element) {
	
	this.element = $(element);
               // var options = Object.extend({}, arguments[1] || {});
              this.menuopt = $A(this.element.getElementsByTagName('option'));
          // this.show(this.getInitialTab());
          //this.menuopt.each(this.setupTab.bind(this));
		  Event.observe(this.element,'change',this.activate.bindAsEventListener(this),false)
 },


	     activate :  function(ev) {
			// alert('fire');
          
			this.index = $(this.element).selectedIndex;	
			this.url = $(this.element).options[this.index].value;	
			location.href= this.url;
	
        }
	  
}
//Event.observe(window,'load',function(){ new MoreButton('moreLink1'); },false);




