哪里错了,请指示下
<!DOCTYPE html>
<html>
<head>
<title> new document </title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<script type="text/javascript">
function openWindow(){
var sb=confirm("确认要打开网站?")
if(sb==true)
{var sp=prompt("是否要打开此网页",http://www.imooc.com/)
if(sp==true)
{window.open("http://www.imooc.com/","_blank","width=400px","height=500px","munebar=no","toolbar=no")}
else
{alert("再见")}
}
else
{alert("再见")}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>