function openPopup(url,w,h) { var parString = "width=" + w+ ",height=" + h + ",toolbar=0,location=0,directories=0" + ",status=0,menuBar=0,scrollBars=0,resizable=0,topmargin=0,leftmargin=0 "; var winPop = window.open(url,"",parString); }
function winReturn(url){ self.opener.location = url; self.close(); }
if (confirm("Question to ask")) { actionToTake(); }