What is wrong in this script? ?
<body>
<form name=”take”>
<table border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”100%”><select name=”take2″ size=”5″>
<option selected value=”http://www.javascriptkit.com”>JavaScript Kit frontpage</option>
<option value=”
<option value=”
<option value=”
<option value=”
<option value=”
<option value=”http://www.cnn.com”>CNN</option>
<option value=”http://www.microsoft.com”>Microsoft</option>
<option value=”http://www.netscape.com”>Netscape</option>
</select>
<script language=”javascript”>
// custom window function
function open_win(name,w,h)
{
// sets location
url = document.take.take2.options[document.take.take2.selectedIndex].value;
// set vars to center window
froml = (screen.width/2) – (w/2);
fromt = (screen.heigh/2) – (h/2);
set = ‘height=’+h
+ ‘,width=’+w
+ ‘,toolbar=no’
+ ‘,menubar=no’
+ ‘,scrollbars=no’
+ ‘,resizable=no’
+ ‘,location=no’
+ ‘,directories=no’
+ ‘,status=no’
+ ‘,left=’+froml
+ ‘,top=’+fromt;
open(url,name,set);
}
</script>
</td>
</tr>
<tr>
<td width=”100%”><div align=”center”><center><p><input type=”button”
value=”Take Me There!” name=”B1″ onClick=”taking()”></td>
</tr>
</table>
</form>
</body>?