<?php use_helper('Javascript') ?>
<div class="msg-showmail">
  <?php echo $mail->getMsContent(); ?>
</div>
<?php if ($mail->getMsPrev()): ?>
  <div id='mail<?php echo $mail->getMsPrev()?>'>
    --------------------
    <?php echo link_to_remote(' >>', array('update'=>'mail'.$mail->getMsPrev(), 'url'=>'/message/showcontent?ms_id='.$mail->getMsPrev())); ?>
  </div>
<?php endif ?>
