function doform(formname,selectname) { 
var theForm = document.forms[formname].elements[selectname]
location.href = theForm.options[theForm.selectedIndex].value
}