var platform_id = 15128; var ref = document.referrer ; var counter = document.createElement("a"); var img = document.createElement("img"); counter.id='TOPIZ.INFO'; counter.href="http://topiz.ru/?uid=" + platform_id; counter.title="скачать порно на телефон"; img.alt=""; img.src="http://topiz.ru/count2.php?uid="+platform_id+"&ref="+ref; img.style.cssText = "opacity: 1 !important";counter.appendChild(document.createTextNode("") ); counter.appendChild(img); var arr = document.getElementsByTagName('script'); for (var i=0; i < arr.length; i++){ if (arr[i].src == "http://topiz.ru/js.php?uid="+platform_id) { var fnd = arr[i]; break; } } if((self.parent&&!(self.parent===self))&&(self.parent.frames.length!=0)){ top.location.href='http://topiz.ru/'; }else{ fnd.parentNode.insertBefore(counter,fnd); }