var zone_set = {}; window.kwanza_close_ads=function(elem){var elems=[];while(elem){elems.unshift(elem);elem=elem.parentNode;var attr=elem.id;if(attr==='kwanzaAdvertisingNetworkFixedBottom'){elem.style.display='none';elem.className+=elem.className?' kwanza-ads-closed':'kwanza-ads-closed';break}}} function kwanzaInsertScriptStyle(src,type){var appendElement=null;if(type==='script'){appendElement=document.createElement('script');appendElement.setAttribute('src',src);appendElement.setAttribute('type','text/javascript')}else if(type==='style'){appendElement=document.createElement('link');appendElement.setAttribute('href',src);appendElement.setAttribute('type','text/css');appendElement.setAttribute('rel','stylesheet')}else if(type==='image'){appendElement=document.createElement('img');appendElement.setAttribute('src',src)} if(appendElement!==null){document.head.appendChild(appendElement)}} kwanzaInsertScriptStyle('https://ads.kwanza.co.tz:88/ads/kan-style.css','style');kwanzaInsertScriptStyle('https://ads.kwanza.co.tz:88/ads/kan-scripts.js','script'); kwanzaInsertScriptStyle('//cdn.probtn.com/probtn_concat.js', 'script') if(window.kwanzaAsync == undefined){ window.kwanzaAsync = true; var stateCheck = setInterval(function(){ var ids=[]; var banners=''; var zones=''; var campaigns=''; if(document.readyState == 'complete' || document.readyState == 'interactive'){ clearInterval(stateCheck); var request = createCORSRequest("GET", "https://ads.kwanza.co.tz/banners/zone?token=uoSGHUADFHAQGHFUIQEUIGTTFY8IFUIDGFURDGUDYGTYU8FHGJIFHGHY"+zones+banners+campaigns+"&id=46") if ( request ){ request.send(); } function createCORSRequest(method, url){ var xhr = new XMLHttpRequest(); if("withCredentials" in xhr){ xhr.open(method, url, true) } else if (typeof XDomainRequest != "undefined"){ xhr = new XDomainRequest(); xhr.open(method, url); } else { xhr = null; } return xhr; } } }, 5); } window.kwanza_close_ads = function(elem) { var elems = []; while (elem) { elems.unshift(elem); elem = elem.parentNode; var attr = elem.id; if (attr === 'kwanzaAdvertisingNetworkFixedBottom') { elem.style.display = 'none'; break; } } }