Данный скрипт дает возможность запускать URL из списка

Код:
	<script language="JavaScript">
<!--
function go(){
if (document.selecter.select1.options[document.selecter.select1.selectedIndex].value != "none") {
location = document.selecter.select1.options[document.selecter.select1.selectedIndex].value
}
}
//-->
</script>

<script language="JavaScript">
<!-- 
document.write('<form name="selecter"><select name="select1" size=1>');
document.write('<option value=none>Меню');
document.write('<option value="index.htm">Текст');
document.write('<option value="index1.htm">Текст 1');
document.write('<option value="index2.htm">Текст 2');
document.write('<option value=none>........');
document.write('</select>');
document.write('<INPUT TYPE="button" VALUE="Пуск" onclick="go()">');
document.write('</form>');
//-->
</script>