Spot the idiocy

<div class="thumbnails"> <table summary="thumbnails"> <tr class="tr_index"> <td class="td_index"> <table class="photo" onclick="window.location.href='img000.jpeg.html'" summary="photo"> <tr> <td colspan="3"><img class="photo_top" src="top.png" alt="Top" /></td> </tr> <tr>

This is from the photo-gallery software I’ve been using. Unbeknownst to me, it lacks something in its linking.