addHidden('passed_id', $passed_id).
addHidden('ent_id', '0').
addHidden('absolute_dl', 'true').
- ($javascript_on ?
+ (checkForJavascript() ?
'<input type="button" value="' . _("Print") . '" onclick="printPopup()" /> '.
'<input type="button" value="' . _("Close Window") . '" onclick="window.parent.close()" /> ' :'').
addSubmit(_("Save Message")).