(function(doc,DomainId,SizeId,ZoneId){function getCurrentUrlWithoutQueryString(){let url=window.location.href;const isInIframe=(parent!==window);if(isInIframe){url=doc.referrer;if(url===""){url=window.location.href;}}return url;}function buildHttpRequest(params){if(params){if(typeof params!="string"){const p=[];for(const i in params)p.push(encodeURIComponent(i)+"="+encodeURIComponent(params[i]));params=p.join("&");}}else params="";return params;}function initialize(){const params={"zoneid":ZoneId,"domainid":DomainId,"sizeid":SizeId,"wu":getCurrentUrlWithoutQueryString()};const src="//platform.bidgear.com/ads.php?"+buildHttpRequest(params);doc.write('');}initialize();})(document,'6213','16','7259');