Код
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="eBlock">
<tr>
<td align="left">
<script language="JavaScript" charset="UTF-8" src="http://z740.takru.com/in.php?id=743700"></script></td>
</tr>
</table>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="eBlock">
<tr>
<td align="center">
<div id="hidden" style="display: none;">
<?if($USER_LOGGED_IN$)?><?if($RFILE_URL$)?><a href="$RFILE_URL$" target="_blank"><IMG src="/download.gif" alt="Скачать!<?if($RFILE_SIZE$)?> ($RFILE_SIZE$)<?else?><?endif?>" border=0></a><?endif?>
<?if($FILE_URL$)?><a href="$FILE_URL$" target="_blank"><IMG src="/download.gif"alt="Скачать! ($FILE_SIZE$)" border=0></a><?endif?><?else?><div align="center">Скачивать могут только зарегистрированные пользователи!<br><a href="$REGISTER_LINK$" title="Регистрация">Регистрация</a> · <a href="$LOGIN_LINK$" title="Вход">Вход</a></div><?endif?>
</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>
</td>
</tr>
</table>