// JavaScript Document

function openURL()
{ 
// grab index number of the selected option
selInd = document.theForm.aaa.selectedIndex; 
// get value of the selected option
goURL = document.theForm.aaa.options[selInd].value;
// redirect browser to the grabbed value (here a URL)
top.location.href = goURL; 
}