+sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
+sqgetGlobalVar('ent_id', $ent_id, SQ_GET);
+sqgetGlobalVar('QUERY_STRING', $QUERY_STRING, SQ_SERVER);
+/* end globals */
+
+echo '<br />' .
+ '<table width="100%" border="0" cellspacing="0" cellpadding="2" align="center">' .
+ "\n" .
+ '<tr><td bgcolor="' . $color[0] . '">' .
+ '<div style="text-align: center;"><b>' .
+ _("Viewing an image attachment") . " - ";
+
+$msg_url = 'read_body.php?' . $QUERY_STRING;
+$msg_url = set_url_var($msg_url, 'ent_id', 0);
+echo '<a href="'.$msg_url.'">'. _("View message") . '</a>';
+