﻿
function deleteBlogComment(id)
{
    if(confirm('Delete this comment?'))
    {
        cbDelete.Callback(id);
    }
}

function refreshBlogComments(sender, args)
{
    window.location = '/BlogPost.aspx?'+ location.search.substring(1);
}

function cbError(sender, args)
{    
}

function deleteReportComment(id, type)
{
    if(confirm('Delete this comment?'))
    {
        var params = Array();
        params[0] = id;
        params[1] = type;
        cbDelete.Callback(params);
    }
}

function refreshReportComments(sender, args)
{
    window.location = '/ReportComment.aspx?'+ location.search.substring(1);
}
