我哪里错了??
<!DOCTYPE html>
<html>
<head>
<title> new document </title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<script type="text/javascript">
function openwidow(){
var miss=confirm("确认打开新窗口吗?")
if(miss==true){
var p = prompt("新窗口打开以下网址:","http://www.imooc.com/");
window.open('http://www.imooc.com','_blank','height=500,width=400,menubar=no,toolbar=no')
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>