哪里错了,求大神看看
function openWindow()
var open=confirm("新窗口打开网站吗");
if (open==ture){
var webbar=prompt("通过输入对话框,确定打开的网址","默认为 http://www.imooc.com/");
if (webbar!=null){
window.open(webbar,'_blank','width=400px','height=500px''meanubar=no''toolbar=no');
}
else{
alert(GG1);
}
else{
alert(GG2);
}
}