var o=window.open("popup.html")
if(o==undefined)alert("L'apertura della finestra popup č stata bloccata")