SPlus.List.addDocument (args, function (result){
//TODO: Implement what to do when a new document was successfully added
}, function (eResponse){
//TODO: Implement what to do with the error information
}, function (){
//TODO: Implement how to handle a user’s cancel
});