求大神帮忙!!!为什么点击没反应?
<!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 sss;
var aaa;
aaa = comfirm("是否打开新窗口?");
if (aaa == true)
{
sss = prompt("是否打开百度?","http://www.baidu.com");
window.open('sss','_blank','width=400,height=500,menubar=no,toolbar=no');
}
else
{
alert("误操作!请重新选择!");
}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>