Why is it necessary with a double </aher:
document.write('<a class="no" href="photo.html"><img src=' +
photo[number]+'</a></a>');
document.write('<p><div class="box z07" style="width:'+wdt+'px;">');
document.write('<p>'+tekst[number]);
document.write('</div>');
with only: photo[number]+'</a>');
the anchor is not closed.
www.photopress.dk