A very basic javascript function to handle the onchange
event that is fired whenever the user selects an option from the menu
function handleSelect(e){
/* find element name and assign the value */
location.search=[ e.target.name, e.target.value ].join('=');
}