<script>
function listThem() {
	if (document.chooser.sitelist.selectedIndex == 0) alert("Please select something");
	else if (document.chooser.sitelist.selectedIndex == 1) location = 'http://www.shop4all.com';
	else if (document.chooser.sitelist.selectedIndex == 2) location = 'http://www.coomedia.com';
	else if (document.chooser.sitelist.selectedIndex == 3) location = 'http://www.microsoft.com';
 }
</script>
 </head>
<body>

<center><h1>Another Dropdown list box</h1></center>
<p>The advantage of this dropdown list to choose URLs is that there is no need for a submit button, as you can see.</p>
<center><table border="5" cellpadding="5" align="center" valign="middle"><form name="chooser">
<tr><th align="center" bgcolor="#deb887">Make a choice:</th></tr>  
	<tr><td align="center" bgcolor="#deb887"><select name="sitelist" onchange="listThem()">
	<option selected>Select one
	<option>Home Page
	<option>Contents
	<option>Navigation Aids
	</select></td></tr>
</form></table>
</center>