Not paint modal window

hello, my problem is this. I try to paint a modal window, but no way, I have no errors. Paints the content but not the window. this code:
function winProgress(){
var dhxWins = new dhtmlXWindows();
dhxWins.setImagePath(“dhtmlx/dhtmlxWindows/codebase/imgs/”);
wP = dhxWins.createWindow(“wP”,0,0,200,100);
var str = ‘


’;
wP.attachHTMLString(str);
dhxWins.window(“wP”).progressOn();
wP.button(“minmax1”).hide();
wP.button(“park”).hide();
wP.center();
wP.allowMove();
wP.denyResize();
wP.button(“close”).disable();
wP.setText("Procesando … ");
wP.setModal(true);
};

Hello
Be sure that you have correct skin definition. I.e. if you want terrace skin, you need to ally this skin for the window via spectial methos “setSkin”.
Pluse check all the file and image pathes, if you have checked the first variant