dojo.require("dojo.fx");

FeedbackMessages = function () {

    var self = this;
    
    self.hide = function (messageId) {
        var animation = dojo.fx.wipeOut({node: messageId, duration: 100});
        animation.play();
    }
    
    self.showAll = function () {
        var container = dojo.byId('messagesContainer');
        
        var animation = dojo.fx.wipeIn({node: 'messagesContainer', duration: 200});
        animation.play();
    }

}
