﻿(function(){

    //init
    var init = function(n){
    
        var N = $("#blog_comment_form");
        var l = FNG.AjaxUtil;
        var c = {
            s : function(){
            }, 
            e : function(d){
                    N.hide(); 
                    l.Message(d.message, "#comments_wrp"); 
                    if(d.status == 1){
                        d.methods.init(d.data);
                    }else{
                        N.fadeIn("fast");
                    }
                }
            };

        N.FngForm({clickCall : c.s, callBack : c.e});
 
    }(FNG.INV.NewEventFormInit);

}());
