From your post I think you mean to show a popup with text in it...?
Your image tag in the <Body> would look like this:
<IMG id="smiley" OnClick="messagePop(this)" SRC="smiley.gif">
Inside the <head> tag, put this:
<script language=javascript>
function messagePop(image)
{
if ( image.id == "smiley")
alert("enter the text you want to display here.");
}
</script>
You can just use the same function for other images, just give them an ID, add the OnClick part, and add another "if" statement in messagePop()
Let me know if I misunderstood what you wanted to do...