html= '
adsmmgp.com
Спреды от 0. Исполнение от 0,3с. ECN счета. Более 42% успешных клиентов. Более 9 лет на рынке Forex!
Выжми максимум из своего трафика!
Один из лучших Форекс брокеров РФ. Откройте счет и начните торговлю. На рынке с 1998 года!
От Форекс-брокера NefteprombankFX. Надежность и безупречная репутация с 1996 года!
';document.getElementById("mmgp-mwa-block-wevn6b8gz4").innerHTML = html;function pixelDataCollector_bwevn6b8gz4(){var stateResponse=false,sendingState=false,url="//adsmmgp.com/api/adswatcher",ads_block=document.getElementById("mmgp-mwa-block-wevn6b8gz4"),commonBlock=ads_block.getElementsByClassName("bwevn6b8gz4-block-common")[0],tryCount=0,viewTimer=0,mainChekTimer=0,pixelData={},mainChekTimer;if(!isHidden(commonBlock))mainChekTimer=setInterval(checkElVisible, 1000);function isHidden(htmlObj) {return !htmlObj.offsetWidth && !htmlObj.offsetHeight;}function inWindow(htmlObj){var adsBlockBlurZone,blurZoneScale=0.1,windowHeight=window.innerHeight,currentEl=htmlObj,blockHeight=currentEl.offsetHeight,blockPosition= currentEl.getBoundingClientRect();if(windowHeight<=blockHeight) blurZoneScale=0.4;adsBlockBlurZone=Math.floor(ads_block.offsetHeight*blurZoneScale);if(((blockPosition.top+adsBlockBlurZone)>0&&blockPosition.bottom-adsBlockBlurZonewindowHeight))return true;return false;};function checkElVisible(){if(sendingState)clearInterval(mainChekTimer);if(inWindow(ads_block)&&fillPixelData()){viewTimer++;if(viewTimer>=3)sendPixelData();}else {viewTimer=0;}};function fillPixelData(){if(!commonBlock===null)return false;pixelData.webvisorid=commonBlock.getAttribute("data-webvisorid");pixelData.page_url=encodeURIComponent(location.href);pixelData.an_hit=13;pixelData.time_zone=new Date().getTimezoneOffset()/60;pixelData.browser_info=[navigator.appCodeName,navigator.appName,navigator.appVersion,navigator.language, navigator.userAgent];pixelData.screen_info=[screen.availWidth,screen.availHeight];return pixelData;}function sendPixelData(){if(!sendingState)dataSend();};function dataSend(){var XHR = ("onload" in new XMLHttpRequest()) ? XMLHttpRequest : XDomainRequest;var xhr = new XHR();xhr.open("POST", url, true);xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");xhr.send("pixel-data="+JSON.stringify(pixelData));xhr.onreadystatechange = function() {sendingState=true;if (xhr.status === 200) {stateResponse=true;}else{stateResponse=false;}}};};window.addEventListener("load", pixelDataCollector_bwevn6b8gz4);heightAlignment();function heightAlignment(){blockHash="bwevn6b8gz4-";advertisementTrailers=document.getElementsByClassName(blockHash+"block-common")[0];advertisementBlocks=advertisementTrailers.getElementsByClassName(blockHash+"banner-common-graphic");neededHeight=advertisementTrailers.offsetHeight;for (var i = 0; i < advertisementBlocks.length; i++) {advertisementBlocks[i].style.height =neededHeight+"px";}}