Try this:
In each of your arrays within the getImageName() function, add an element. Example, for
return array ('onairmaurice.gif','Maurice Taggart');
change it to
return array ('linktopage.php', 'onairmaurice.gif','Maurice Taggart');
Where "linktopage.php" is the document that you want to link to.
Then, for your "print" statement, change it to something like:
print "<span><a href=\"" . $desc[0] . "\"><img src=\"" . $desc[1] . "\" border=0></a><br>" . $desc[2] . "</span>";
I think that should work.
Note that I escaped double quotes like \" rather than just using single quotes ' . It usually works better cross-browser (just to make sure), and makes for neater, more standardized coding.
As well, I used a space in between the concatinations ( . ). It makes for easier modification later because it won't look so crowded.
Happy coding!