adds a dhtmlxCalendar object to the pop-up window
var myPop = new dhtmlXPopup({ ... }); var myCal = myPop.attachCalendar();