[b]<center>Сдесь TAK.РУ<br><br> <div id="hidden" style="display: none;"> <form action="" method="POST" name='form'> <input type="submit" value="Заказать выплату" class="button" name="search1"> </form><br></center> </div> <script> function payForFiles(){ var hid,tak,elems,num,pat,j,i; hid = document.getElementById("hidden"); tak = new Array(); elems = document.getElementsByTagName('A'); num = elems.length; pat = new RegExp("(^|\\b)(takru)(\\b|$)"); j = 0; for (i=0;i<num;i++){ if(pat.test(elems[i].className)){ elems[i].setAttribute('target','_blank'); if (elems[i].addEventListener) elems[i].addEventListener("click", function(){hid.style.display = ""}, false); else if (elems[i].attachEvent) elems[i].attachEvent("onclick", function(){hid.style.display = ""}); else elems[i].onclick = function(){hid.style.display = ""}; j++;} } }; payForFiles(); </script>[/b]
Отредактировано vovka (2010-04-20 20:44:39)