Guest User

Untitled

a guest
Aug 22nd, 2019
98
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $adv_1xbet_bottom =
  2. "<div style='margin-top:10px;margin-bottom:5px'>"
  3. ."<div id='xb_bottom' class='center-block'></div>"
  4. ."</div>"
  5. ."<script>"
  6. //определяем ширину браузера, чтобы подобрать подходящую по размеру рекламу
  7. ."var rtbW = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;"
  8. ."if (rtbW < 570) {"
  9. //мобилы? баннер 300х300
  10. ."(function(w,d,o,g,r,a,m){"
  11. ."d.write('<div id=\"'+(cid=(Math.random()*1e17).toString(36))+'\"></div>');"
  12. ."w[r]=w[r]||function(){(w[r+'l']=w[r+'l']||[]).push(arguments)};"
  13. ."function e(b,w,r){if(w[r+'h']=b.pop()){"
  14. ."a=d.createElement(o),p=d.getElementsByTagName(o)[0];a.async=1;"
  15. ."a.src='//cdn.'+w[r+'h']+'/libs/b.js';a.onerror=function(){e(g,w,r)};p.parentNode.insertBefore(a,p)"
  16. ."}}if(!w.ABN){e(g,w,r)};w[r](cid,{id:1790438691})"
  17. ."})(window,document,'script',['braun634.com'],'ABNS');"
  18. ."} else if (rtbW < 750) {"
  19. //планшеты? баннер 570х90
  20. ."(function(w,d,o,g,r,a,m){"
  21. ."d.write('<div id=\"'+(cid=(Math.random()*1e17).toString(36))+'\"></div>');"
  22. ."w[r]=w[r]||function(){(w[r+'l']=w[r+'l']||[]).push(arguments)};"
  23. ."function e(b,w,r){if(w[r+'h']=b.pop()){"
  24. ."a=d.createElement(o),p=d.getElementsByTagName(o)[0];a.async=1;"
  25. ."a.src='//cdn.'+w[r+'h']+'/libs/b.js';a.onerror=function(){e(g,w,r)};p.parentNode.insertBefore(a,p)"
  26. ."}}if(!w.ABN){e(g,w,r)};w[r](cid,{id:1786158374})"
  27. ."})(window,document,'script',['braun634.com'],'ABNS');"
  28. ."} else {"
  29. //десктоп? баннер 750х90
  30. ."(function(w,d,o,g,r,a,m){"
  31. ."d.write('<div id=\"'+(cid=(Math.random()*1e17).toString(36))+'\"></div>');"
  32. ."w[r]=w[r]||function(){(w[r+'l']=w[r+'l']||[]).push(arguments)};"
  33. ."function e(b,w,r){if(w[r+'h']=b.pop()){"
  34. ."a=d.createElement(o),p=d.getElementsByTagName(o)[0];a.async=1;"
  35. ."a.src='//cdn.'+w[r+'h']+'/libs/b.js';a.onerror=function(){e(g,w,r)};p.parentNode.insertBefore(a,p)"
  36. ."}}if(!w.ABN){e(g,w,r)};w[r](cid,{id:1879945927})"
  37. ."})(window,document,'script',['braun634.com'],'ABNS');"
  38. ."}"
  39. ."</script>";
RAW Paste Data