
(function(){var _1=0;var g=dojo.global;function init(){if(++_1>600){clearInterval(g._cwsInFlightIntvl);return;}if(typeof dojo=="undefined"||typeof dojo["addOnLoad"]=="undefined"||typeof dojo["i18n"]=="undefined"||typeof dojo["i18n"]["_preloadLocalizations"]=="undefined"){return;}if(typeof document.body=="undefined"||!document.body){return;}if(dojo.isIE){try{document.documentElement.doScroll("left");}catch(e){return;}}var x=g.cws_wait_for_ids;if(dojo.isArray(x)){if(!dojo.some(x,function(_4){return dojo.byId(_4);})){return;}}clearInterval(g._cwsInFlightIntvl);g._cwsInFlightIntvl=null;_1=0;dojo["require"]("dojo.io.script");dojo["require"]("dojo.cookie");dojo["require"]("cws.cws-core");dojo["require"]("cws.TextAds");dojo["require"]("cws.DropdownCompass");var d=new dojo.Deferred();d.ioArgs={args:{timeout:30000}};d.addCallback(function(v){cws.loadConf(dojo.moduleUrl("cust","widgets.js"));});dojo._ioWatch(d,function(_7){return true;},function(_8){return !(typeof g.cws_core_available=="undefined");},function(_9){_9.callback(_9);});};if(!g._cwsInFlightIntvl){g._cwsInFlightIntvl=setInterval(init,50);}})();
