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