put the WndAsk CreateWnd function into a global variable and then use the Close function with that global variable
code:
var window;
function func1(){
window = MsgPlus.CreateWnd("windows.xml", "somewindow");
}
function func2(){
window.Close(0);
}
...or use the PlusWnd object (didn't see that LOL)
code:
PlusWnd.Close(0);