function doLogin() {
    executeActionEntity('LoginController', 'doLogin', function(retorno) {

        if(retorno.sucess) {
            location.href="../index/index.jsp";
        } else {
            alert(retorno.message);
        }

    });
}			