<html>
<head>
<title>asasd</title>
<script language="JavaScript">
<!--
function open_url(what)
{
alert('http://localhost/' + what + '.html');
// location.href=url;
}
-->
</script>
</head>
<body>
<form>
<select name="profil" size="10" onchange="open_url(this[this.selectedIndex].value);">
<option value="home">Test</option>
<option value="home2">Test2</option>
</select>
</form>
</body>
</html>