Code
<table border="0" align="left">
<tr>
<td>
<div class="spoil">
<div class="smallfont">
<input type="button" value="Ссылки на материал" class="input-button" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Закрыть ссылки'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Ссылки на материал'; }"/>
</div>
<div class="alt2">
<div style="display: none;">
<br>
<span style="font-size:10pt"><b>Для блога (HTML)</b></span>
<br>
<script type="text/javascript">
document.write('<input onclick="select(this)" type="text" value="<a href='+window.location+'>$PHOTO_NAME$$ENTRY_NAME$$ENTRY_TITLE$</a>" size="100">')
</script>
<br><br>
<span style="font-size:10pt"><b>Для форума (BB-Code)</b></span>
<br>
<script type="text/javascript">
document.write('<input onclick="select(this)" type="text" value="[url='+window.location+']$PHOTO_NAME$$ENTRY_NAME$$ENTRY_TITLE$[/url]" size="100">')
</script>
<br><br>
<span style="font-size:10pt"><b>Прямая ссылка</b></span>
<br>
<script type="text/javascript">
document.write('<input onclick="select(this)" type="text" value="'+window.location+' "size="100">')
</script>
<br><br>
</div>
</div>
</div>
</td>
<td>
<script type="text/javascript">
function repchange(val,id){
repval=val;
ajaxtime=setInterval('checkajax'+id+'()',500);}
</script>
<script type="text/javascript">
function checkajax26668(){
forms=document.getElementsByTagName('form');
for(f=0;f<forms.length;f++){
if(forms[f].id=='frm981'){
if(repval=='plus'){document.getElementById('a2').checked='true';
forms[f].reason.value='Большое спасибо за <span id="eTitle">$ENTRY_TITLE$</span>'
document.getElementById('submfrm981').click();
document.getElementById('sbt981').onclick=null;
clearInterval(ajaxtime);}}}}
</script>
<a title="Репутация пользователя автоматически повысится. Многократное нажатие Спасибо запрещено Правилами портала и строго наказывается!" href="javascript://" onclick="openLayerB('Rd',0,'$HOME_PAGE_LINK$index/23-$UID$','Change Reputation',380,200,1); return false;"> <input type="button" value="Спасибо" class="input-button" onclick="repchange('plus','26668');" align="absmiddle" border="0"></a>
</td>
<td>
<div class="spoil">
<div class="smallfont">
<input type="button" value="Похожие новости" class="input-button" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Закрыть похожие овости'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Похожие новости'; }"/>
</div>
<div class="alt2">
<div style="display: none;">
<br>
<fieldset class="counter"><legend><font color="#ffa500"><b>Похожие новости</b></font><b><font color="#ffa500">:</font></b></legend>
<?$RELATED_ENTRIES$(6)?><br></fieldset>
<br><br>
</div>
</div>
</div>
</td>
<td>
<a href="$ENTRY_URL$" rel=sidebar title="$SITE_NAME$" onclick="window.external.AddFavorite('$ENTRY_URL$','$ENTRY_TITLE$'); return false;"><input type="button" value="Запомнить" class="input-button"</imput></a><br>
</td>
<td>
<a href="/forum" target="_blank"><input type="button" value="Обсудить на форуме " class="input-button"</imput></a>
</td>
<td>
<script type="text/javascript" src="http://mp3shka.ucoz.ua/js/jaloba.js"></script>
<a href="javascript://" onclick="complaint('Voker','Milla')"><input type="button" value="Жалоба" class="input-button"</imput></a>
</td>
</table>
Сделал для своего сайта даже не знаю что но сделал но проблемы с таблицей и открытием слайдов...все работает ток не очень правильно .... надеюсь что кто нить поможет.