URGENT!! ParkUp is NOT passing window id

I have an onParkUp event which is not getting passed the id of the window being Parked but instead the value ‘div.dhtmlx_window_active’. Please could you investigate.

Also ‘getTopmostWindow()’ is returning the same thing and although I have not tested I am beginning to suspect that any function which is supposed to return a window’s id will do the same.

URGENT!!
Thanks

onParkUp event get window object as parameter:

dhxWins.attachEvent(“onParkUp”,function(win){
alert(win.getId())
return true
})