﻿function updateWBIContent(id, query) {
    var gaJsHost = (("https:" == document.location.protocol) ? "https://" : "http://");

    $.ajax({
        url: gaJsHost + 'www.worden.com/ajaxservices.ashx',
        data: "service=CMSCONTENT&ID=" + id + "&jsonp=y",
        dataType: 'jsonp',
        cache: false,
        crossDomain: true,
        success: function (data) {
            if (data != null) {
                $(query).html(data.data);
            }

        },
        error: function (jqXHR, errType, obj) {
        }

    })
}
