﻿function htmlDecode(value) {
    return jQuery(document.createElement('div')).html(value).text();
}

jQuery(document).ready(function () {
    jQuery.ajax({
        type: "POST",
        url: "includes/fleetblogs/fleetblogs.asmx/GetControl",
        data: "{}",
        contentType: "text/html",
        dataType: "html",
        success: function (fb) {
            jQuery("#fbloading").hide();
            jQuery("#fbcontrol").append(htmlDecode(fb));
        }
    });
});
