Se usi la prima ipotesi, forse è meglio cosi:
codice:if (!popup){ window.open("Popup.asp?l=" + cdl + "&d=" + dnm + "&h=" + trt + "&f=" + fld + "&t=" + tbl + "&c=" + col, "scelte", "width=" + w + ",height=" + h + ",top=" + ph + ",left=" + pw).focus(); }