fires when the pop-up window is being shown
myPop.attachEvent("onShow",function(id){ alert("The pop-up window is visible"); })
Parameters of the callback function: