Kod:
<script></script>
<script>
var name1 = new String();
var title1 = new String();
for (x = 0; x < 10; x++){
name1 = threads[x].poster;
if (name1.length > 20){
name1 = name1.slice(0,16) + "..";
}
title1 = threads[x].title;
if (title1.length > 100){
title1 = title1.slice(0,97) + "..";
}
document.writeln(""+title1+" (by "+threads[x]['poster']+")
");}
</script>