if (!sqgetGlobalVar('passed_ent_id', $passed_ent_id, SQ_GET))
$passed_ent_id = 0;
sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
if (!sqgetGlobalVar('passed_ent_id', $passed_ent_id, SQ_GET))
$passed_ent_id = 0;
sqgetGlobalVar('mailbox', $mailbox, SQ_GET);