(function () {
  function addLoadEvent(func) {
    if (/loaded|complete/.test(document.readyState)) {
      func();
    } else {
      var oldonload = window.onload;
      if (typeof window.onload != 'function') {
        window.onload = func;
      } else {
        window.onload = function() {
          if (oldonload) {
            oldonload();
          }
          func();
        }
      }
    }
  }
  function append() {
    var scheme = (("https:" == document.location.protocol) ? "https" : "http");
    var el = document.createElement("div");
    el.style["width"] = "1px";
    el.style["height"] = "1px";
    el.style["display"] = "inline";
    var content = unescape('%3Cimg%20src%3D%22%5Bprotocol%5D%3A//ad.doubleclick.net/activity%3Bsrc%3D2191745%3Bdcnet%3D4591%3Bboom%3D29799%3Bsz%3D1x1%3Bord%3D%5Bord%5D%3F%22width%3D%221%22%20height%3D%221%22%20border%3D%220%22%20alt%3D%22%22%3E%0D%0A%0D%0A%3Cimg%20alt%3D%22.%22%20src%3D%22%5Bprotocol%5D%3A//r.openx.net/img%3Fpixel_id%3D8c58cd607233bf678b4483cfd74451ee%22%20/%3E%0D%0A%0D%0A%3Cimg%20border%3D%220%22%20hspace%3D%220%22%20vspace%3D%220%22%20width%3D%221%22%20height%3D%221%22%20src%3D%22%5Bprotocol%5D%3A//bstats.adbrite.com/click/bstats.gif%3Fkid%3D44673828%26bapid%3D5408%26uid%3D680833%22%20/%3E%0D%0A%0D%0A%3Cimg%20height%3D%221%22%20width%3D%221%22%20style%3D%22border-style%3Anone%3B%22%20alt%3D%22%22%20src%3D%22%5Bprotocol%5D%3A//www.googleadservices.com/pagead/conversion/1032613984/%3Flabel%3DbvrQCPLjlgEQ4OCx7AM%26amp%3Bguid%3DON%26amp%3Bscript%3D0%22/%3E%0D%0A%0D%0A');
    var r = Math.random()*10000000000000000;
    content = content.replace(/\[ord\]/gi, r);
    content = content.replace(/\[protocol\]/gi, scheme);
    el.innerHTML = content
    document.body.appendChild(el);
  }
  addLoadEvent(function () {
    if (/WebKit/i.test(navigator.userAgent)) { // sniff
      var _timer = setInterval(function() {
        if (/loaded|complete/.test(document.readyState)) {
          clearInterval(_timer);
          append()
        }
      }, 10);
    } else { append(); };
  });
}());