为什么运行不了
<!DOCTYPE HTML>
<html>
<head>
<title>测验</title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<script type="text/javascript">
function openWindow(){
var open=confirm("确定要打开新的窗口吗?");
if(open==true){
var url=prompt("确定输入的网址","www.baidu.com");
if(url!=null){
window.open(url,"_blank",'width=400px,height=500px,menubar=no,toolbar=no');
}else{
alert("再见!");
}
}else{
alert("byebye!");
}
}
</script>
</head>
<body>
<input type="button" value="点击" onclick="openWindow()"/>
</body>
</html>