<select name="here" onchange="location.href=this.options[this.selectedIndex].value;">
<option value="http://www.163.com">163</option>
<option value="http://www.sina.com">sina</option>
<option value="http://www.tom.com">tom</option>
</select>
<option value="http://www.163.com">163</option>
<option value="http://www.sina.com">sina</option>
<option value="http://www.tom.com">tom</option>
</select>
var sel=document.getElementById("here");
if(sel!=null&&typeof(sel)=="select"){
for(var i=0;i<sel.length;i++){ if(sel.options[i].selected&&sel.o){
}
}
}
}
var sel=document.getElementById("here");
if(sel!=null&&typeof(sel)=="select"){
for(var i=0;i<sel.length;i++){
var op=sel.options[i];
if(op!=null&&op.selected&&op.value!=doucment.location.href)
document.location.href=op.value;
}
}
}
}