function isBlankOrNull(valore){
    if(valore==null){
        return true;
    }
    if(isBlank(valore)){
        return true;
    }
    return false;
}
function isBlank( cArg ){
    while ( cArg.length > 0 && cArg.charAt( cArg.length - 1 ) == " " ) {
        cArg = cArg.substring( 0, cArg.length - 1 );
        }
    return cArg == "";
}

