Comment={};Comment.addComment=function(c,b,a){$.ajax({url:Config.baseUrl+"comment/add",cache:false,dataType:"json",type:"POST",data:{username:c,text:b,pageId:a},success:function(e,d,f){if(e.success!=undefined){if(e.success==true){$("#comment-form").fadeOut(1500)}}},error:function(f,d,e){}})};Comment.deleteComment=function(a){$.ajax({url:Config.baseUrl+"admin_comment/delete",cache:false,dataType:"json",type:"POST",data:{commentId:a},success:function(c,b,d){},error:function(d,b,c){}})};Comment.publishComment=function(a){$.ajax({url:Config.baseUrl+"admin_comment/publish",cache:false,dataType:"json",type:"POST",data:{commentId:a},success:function(c,b,d){},error:function(d,b,c){}})};
