

function flagComment(intUserCommentKey)
{
    new Ajax.Request('http://g4tv.com/flag_comment.aspx',{parameters: 'usercomment_key=' + intUserCommentKey, onSuccess:flagCommentSucceeded, onFailure:flagCommentFailed});
}

var flagCommentSucceeded = function(t)
{
    alert('Thanks! That comment has been flagged for review.');
}

var flagCommentFailed = function(t)
{
    alert('We weren\'t able to flag that comment: ' + t);
}
