sub Test25 { if ($termNUM < $rowNUM) { print "
View Previous 25 Entries
\n"; } if ($origNUM > 1) { print "
View Next 25 Entries

\n"; } }