Large File Distribution System
dojo.require('dijit.Dialog') var foo;//you have to declare this global function busyBoxON() { foo = new dijit.DialogUnderlay({dialogId:"waitScreen",'class': 'busyBox'}); foo.show(); } function busyBoxOFF(){ foo.hide();//otherwise it goes wrong here... }