Liberti
<script type="text/javascript">
var news = new Array ()
news.push(new Array("Блок 1", "<center>Текст 1</center>"))
news.push(new Array("Блок 2", "<center>Текст 2</center>"))
news.push(new Array("Блок 3", "<center>Текст 3</center>"))
news.push(new Array("Блок 4", "<center>Текст 4</center>"))
news.push(new Array("Блок 5", "<center>Текст 5</center>"))var mynews = "";
for (q=0; q<news.length; q++){
mynews += "<div class='container' style='padding:8px'><h2><center>"+news[q][0]+"</center></h2>"+news[q][1]+"</div><br /><br />";
}
var block=mynews;
var arr=document.getElementsByTagName("div")
i=0
str=document.URL
while(arr[i] ){
if(arr[i].className=="main"){
name=arr[i].innerHTML
name=name.substring(0)
arr[i].innerHTML="<table><tr><td width=20% valign=top>"+block+"</td><td width=80%>"+name+"</td></tr></table>"
}
i++
}
</script>
Елка
<script type="text/javascript">
var div = document.getElementById('pun-main').getElementsByTagName('div');
var text = 'Скрыто';
var i = 0;
while (div[i]){
if (div[i].className=='quote-box' && div[i].childNodes[1].innerHTML.indexOf('Для просмотра')!=-1){
div[i].childNodes[1].innerHTML = '<p>'+text+'</p>';
}
i++;
}
</script>