(function() { /******** Localize jQuery variable *********/ var jQuery; /******** Load jQuery if not present *********/ if (window.jQuery === undefined || window.jQuery.fn.jquery !== '3.1.1') { var script_tag = document.createElement('script'); script_tag.setAttribute("type","text/javascript"); script_tag.setAttribute("src","https://code.jquery.com/jquery-3.1.1.min.js"); script_tag.setAttribute("integrity","sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="); script_tag.setAttribute("crossorigin","anonymous"); if (script_tag.readyState) { script_tag.onreadystatechange = function () { /******** For old versions of IE *********/ if (this.readyState == 'complete' || this.readyState == 'loaded') { scriptLoadHandler(); } }; } else { /********* Other browsers *********/ script_tag.onload = scriptLoadHandler; } /********* Try to find the head, otherwise default to the documentElement *********/ (document.getElementsByTagName("head")[0] || document.documentElement).appendChild(script_tag); } else { /********* The jQuery version on the window is the one we want to use *********/ jQuery = window.jQuery; main(); } /******** Called once jQuery has loaded ******/ function scriptLoadHandler() { /******** Restore $ and window.jQuery to their previous values and store the *********/ /******** new jQuery in our local jQuery variable *********/ jQuery = window.jQuery.noConflict(true); /******** Call our main function *********/ main(); } /******** Our main function ********/ function main() { jQuery(document).ready(function($) { $.ajax({ url: "https://content.flexlinkspro.com/Product/Widget", data: { DomainId: 1187474, ProductIds : "201205.156074.B95BE391B621621B.51503DD5296908B4.6999,201205.156074.B95BE391B621621B.E38F1B4E469B706C.7000,201205.156074.B95BE391B621621B.99576B8676AEF915.7001,201205.156074.B95BE391B621621B.163FFADE26F0629E.7002,201205.156074.B95BE391B621621B.6CE78A1616C5EBE7.7003,201205.156074.B95BE391B621621B.23B7FE3DDEDAC6E3.7004,201205.156074.B95BE391B621621B.596F8EF5EEEF4F9A.7005,201205.156074.B95BE391B621621B.D6071FADBEB1D411.7006,201205.156074.B95BE391B621621B.48A7F7FA2E8F8E19.7008,201205.156074.B95BE391B621621B.BF21373CC0C1C348.7390,201205.156074.B95BE391B621621B.76E87CC1020715BD.7454,201205.156074.B95BE391B621621B.B85D472B9585BAEF.60,201205.156074.B95BE391B621621B.42B4328B6813CEA8.803,201205.156074.B95BE391B621621B.C8A0424072F58EFB.1495,201205.156074.B95BE391B621621B.91CA01E48B1A2DA5.1512,201205.156074.B95BE391B621621B.579C8F19A82B61E8.1828,201205.156074.B95BE391B621621B.2D44FFD1981EE891.1829,201205.156074.B95BE391B621621B.CF8ADC02ED1B3F14.6049,201205.156074.B95BE391B621621B.195B127FB19B1425.1087,201205.156074.B95BE391B621621B.298215E1FADB73AA.1665,201205.156074.B95BE391B621621B.9F9935577E85A2DA.7066,201205.156074.B95BE391B621621B.10F1A40F2EDB3951.7065,201205.156074.B95BE391B621621B.6A29D4C71EEEB028.7064,201205.156074.B95BE391B621621B.2579A0ECD6F19D2C.7063,201205.156074.B95BE391B621621B.5FA1D024E6C41455.7062", Url:"https://content.flexlinkspro.com/Product/Widget", BtnColor : "",HeadColor : "",FColor : "",SubId1 : "",SubId2 : "",SubId3 : "",SubId4 : "",SubId5 : "", Guid: "7dea224c-1da2-4f2e-b2c9-a0e76b960f58"}, type: 'POST', dataType: 'html', success: function (result) { $("#7dea224c-1da2-4f2e-b2c9-a0e76b960f58").html(result); }, error: function (err) { console.log(err); } }); }); } })(); // We call our anonymous function immediately