function WindowLoad(arquivo,txt_titulo,btnOk,btnCancelar,opt,focus,params,modulo,componente){
    iniciaWindowLoad(arquivo,txt_titulo,btnOk,btnCancelar,opt,focus,params,modulo,componente);
}

iniciaWindowLoad = function(arquivo,txt_titulo,btnOk,btnCancelar,opt,focus,params,modulo,componente) {

    var nmRoot = "blackscreenWinload";

    new BlackScreen(opt,nmRoot);

    getJanelaLoad(nmRoot);

    var windowContent = $("<div>").addClass("window_content");
    var linhaTop = $("<div>").addClass("window_linha_top");
    var midWindow = $("<div>").addClass("window_mid");
    var btnArea = $("<div>").addClass("window_btn_area");
    var linhaBot = $("<div>").addClass("window_linha_bot");

    var textArea = getTextArea();
    textArea.css({
        width: '600px'
    });

    if (btnCancelar) {
        btnArea.prepend(getBtnCancelar(nmRoot,focus));
    }
    if (btnOk) {
        btnArea.prepend(getBtnOk(nmRoot,focus));
    }

    textArea.prepend(getDivLoad());
    textArea.prepend(getLinhaCinza().css({
        width: '600px'
    }));
    textArea.prepend(getTituloWindow(txt_titulo).css({
        width: '600px'
    }));

    midWindow.prepend(textArea);

    windowContent.prepend(linhaBot);
    windowContent.prepend(btnArea);
    windowContent.prepend(midWindow);
    windowContent.prepend(linhaTop);

    $('#windowLoad').prepend(windowContent);
    abreConteudo('load',modulo,componente,arquivo,params);
    $('#'+nmRoot).fadeIn(300);
    scroll(0,0);

}
