Find the two lines that look like this:
echo "<td align='center' >";?><a href="#" onClick="popupgalimage('imgs/<?php echo $file;?>', <?php echo "$width";?>, <?php echo "$height";?> ); return false" class="popimage"><? echo "<img src='imgs/thumbs/$file' class='popimage'></a></td>"."\n";
and change it to
PHP Code:
<?php
// only change this bit, ignore the <?php
echo "<td align='center' >";?><a href="#" onClick="popupgalimage('imgs/<?php echo $file;?>', <?php echo "$width";?>, <?php echo "$height";?> ); return false" class="popimage"><? echo "<img src='imgs/thumbs/$file' class='popimage' style='filter:alpha(opacity=35)' onmouseover='pWidgets(this,100,60,30)' onmouseout='pWidgets(this,20,60,30)'></a></td>"."\n";
?>