attaches a handler to a dhtxmlPopup event
var myPop = new dhtmlXPopup(...); var evId = myPop.attachEvent("onContentClick", function(){ alert("You have just clicked on the op-up content")});