How do I display a picture using jAlert

How do I display a picture using jAlert

I am using the following code to create text for a jAlert

$(document).ready(function() {
$("td.codes").click(function(e) {
var codesText = $(this).text();
var $curr = $(this).prev()
var emailText = $curr.text();
$curr = $curr.prev()
var cabinText = $curr.text();
$curr = $curr.prev()
var fromText = $curr.text();
$curr = $curr.prev()
var nameText = $curr.text();
$curr = $curr.prev()
var unusedText = $curr.text();
$curr = $curr.prev()
var ccidText = $curr.text();

Once I have these fields I string them together and add html to display using jAlert in a textbox.
I would like to display a picture in addition to the text. The picture is actually the dummy field that is called unusedText above. Is there a way to actually get the picture and then put it into the textbox? It is tricky since there are actually 2 photos, a small and a large. The large one appears when you hover over the small one. I would like the small picture to be in the textbox. You can see the entire code at http://hawaii.dmmarks.com.
The textbox appears when you click on any of the code fields in the member list table.