为什么运行不了
function openWindow()
{
var open=confirm("是否在新窗口打开该网页");
if(open==true)
{ var commu=prompt("请确认该网页网址","http://www.imooc.com"); }
if(commu!=null)
{ window.open(commu,"_blank","width=400px,height=500px,menubar=no,toolbar=no"); }
else
{alert("退出");}
else
{ alert("退出");}
}