wb.showMsg=function(text/*信息*/,caption/*标题*/){
closeDlg_t = function(title) {
import winex;
var hwnd, hctr = winex.wait(title,"确定","#32770","Button");
if(hctr){
try{
win.delay(1000);
winex.click(hctr);
}
}
}
thread.create(closeDlg_t, caption/*传递参数给线程*/ )
return true; /*返回false则不显示对话框*/
}