<script>
function addSpoiler(str,from,internal){
var pos=0,pos2=0,newpos=0
if((pos=str.indexOf(" "),pos+8)==-1) return str;
newpos=str.indexOf("
",pos+8))==-1) return str;
str=str.substring(0,pos)+makeSpoiler(str.substring(pos+8,pos2))+str.substring(pos2+9,str.length)
if( str.indexOf("[boomp3]")!=-1 && internal==false) str=addSpoiler(str,0,false)
return str}
function makeSpoiler(txt){
txt="<br><embed src=\"http://static.boomp3.com/player.swf?song="+txt+"\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"200\" height=\"20\" allowScriptAccess=\"always\" align=\"middle\"></embed><br>"
return txt}
if(document.URL.indexOf("viewtopic.php")!=-1){
elm=document.getElementById("pun-main").getElementsByTagName("div")
for(x in elm) if(elm[x].className=="post-content"){
var post=elm[x]
post.innerHTML=addSpoiler(post.innerHTML,0,false)}}
</script>
ВСТАВЛЯЕМ ВНИЗ!