TypeError: myPop.attachVault is not a function

Hi … return the next error :TypeError: myPop.attachVault is not a function
whats wrong???

var dhxWins= new dhtmlXWindows();
var myVault;
var myVaultConf = null;
//open popup window
var popupWindow = layout.dhxWins.createWindow(“newcontact_win”, 0, 0, 720, 600);
popupWindow.center();
//—grid initialization and configuration —
t = popupWindow.attachToolbar();
t.addButton(“excel”, 1, “Exportar Datos”, “…/…/…/images/excel.jpg”, “…/…/…/images/excel.jpg”);
t.addButton(“subir”, 2, “cargar”, “…/…/…/images/excel.jpg”, “…/…/…/images/excel.jpg”);
t.attachEvent(“onClick”, function(id) {
if (id == ‘excel’)
exportarExcel(vade);
else {
myPop = new dhtmlXPopup({
toolbar:t,
id: “subir”
});
if (myVault == null)
myVault = myPop.attachVault(350, 200, myVaultConf);

   }                 
});

grid = popupWindow.attachGrid();
grid.setSkin("dhx_skyblue");
grid.setImagePath("../../../includes/dhtmlxGrid/codebase/imgs/");
grid.init();
grid.loadXML("articulos_molecula.php?vade="+vade);

}

Hi
You need to download the latest dhtmlxPopup build - it mast fix your issue.

I think I have the latest version.

I just download dhtmlxPopup it /v.3.6 build 131108

but I still error out
thanks.

Here is working source for you:
dhtmlxPopup.zip (69.3 KB)

Very thanks perfect

You are welcome!