
	var newsArticle = {};

	newsArticle.run = function() {
		
		var methods = {
		
				hideSngComment : function (commentId) {
			
					$("#commentContainer_" + commentId).html('<p style="color: #999;">You have flagged this comment as inappropriate.</p>');
					$("#reportLink_" + commentId).html("");
					
				},
				
				hideRptComments : function (p) {
				
					$.getJSON("/scripts/ajax/comment_report.scr.php", {current: p}, function(data) {
						
						var i = 0;
						var n = data.length;
						
						for (i = 0; i < n; i++) {							
							newsArticle.run.hideSngComment(data[i]);
						}
					});
					
				},
				
				reportComment : function (commentId, p) {
			
					$.post("/scripts/ajax/comment_report.scr.php", {comment: commentId, current: p}, function(data) {
						newsArticle.run.hideSngComment(commentId);
					});
			
				}
		};
		
		return methods;
		
	}();
	