Why not:
var select = document.getElementById(select_id); select.scrollTop = select[select.selectedIndex].offsetTop;