<!-- ================================================================= -->
<!-- dlg_forward_hunt.php                                              -->
<!-- ================================================================= -->
<!-- HTML defining a popup dialog box for selecting a hunt group as a  -->
<!-- forwarding destintation.                                          -->
<!-- ================================================================= -->
<!-- Copyright (c) 2008-2009 Avaya Inc.                                -->
<!-- ================================================================= -->
    <div id="dlg_ForwardHunt" style="z-index:3000; width:<?php if ($clientwidth<640) echo (($clientwidth<400)?($clientwidth):(400)); else echo 400;?>px; position:absolute; top:10px; left: 10px; visibility:hidden;">

      <div style="height:20px; border-bottom: 1px solid #656565;" onmousedown="DragNDrop(event, 'dlg_ForwardHunt')">
        <img style="position:absolute; left:0; top:0; margin-left:0; margin-top:0;"  src="<?php echo 'images/'.$currentTheme.'/titlebar_left_tr.gif' ?>" alt="" />
        <img style="position:absolute; right:0; top:0; margin-right:0; margin-top:0;" src="<?php echo 'images/'.$currentTheme.'/titlebar_right_tr.gif' ?>" alt="" />
        <div style="position:absolute; left:16px; top:0; width:<?php if ($clientwidth<640) echo (($clientwidth<400)?($clientwidth-32):(368)); else echo 368;?>px;height:20px; background:url(<?php echo 'images/'.$currentTheme.'/titlebar-middle.gif' ?>);">
          <img title="Close" class="ImgBtn" style="margin-top:2px; width:16px; height:16px; cursor:default; text-align:center; float:right;" src="<?php echo 'images/'.$currentTheme.'/close.gif'?>" alt="<?php echo TextToHtml(gettext('Close'));?>" onmousedown="CatchEvent(event); ActivateDialog('dlg_ForwardHunt',false); return false;" />
          <span style="margin-top:2px; margin-left:3px; font-size:12px; font-weight:bold; float:left;"><?php echo TextToHtml(gettext('Forward to Hunt Group(s)'));?></span>
        </div>
      </div>
      <div style="padding-top:8px; padding-left:13px; padding-right:13px; border: 1px solid #656565; border-top:0; border-bottom:0; background:url(<?php echo 'images/'.$currentTheme.'/main-middle.gif' ?>);">
        <div id="list_ForwardHunt">
        </div>
        <div id="dlg_ForwardHunt_msg" style="color:#e41f1f; padding-bottom:0px;">
          &nbsp;
        </div>
        <div style="margin-bottom:12px; margin-left:120px;">
          <?php echo TextToHtml(gettext('Find name').':');?><br /><input type="text" name="dlg_ForwardHunt_find" id="dlg_ForwardHunt_find" onkeyup=" OnFind('ForwardHunt', this.value)" value="" />
        </div>
        <div style="text-align:center;">
          <input type="submit" id="btn_ForwardHunt" style="visibility:hidden;" onclick="Activity(); Forward('<?php echo Forward::HUNT_GROUP ?>',document.getElementById('fwd_msgIds').value); return false;" value="<?php echo TextToHtml(gettext('Forward'));?>" />
        </div>
      </div>
      <div style="position:relative; margin:0; padding:0; height:16px;">
        <img style="position:absolute; left:0; top:0; margin-left:0; margin-top:0;"  src="images/avaya/main_bottom_left_tr.gif" alt="" />
        <img style="position:absolute; right:0; top:0; margin-right:0; margin-top:0;" src="images/avaya/main_bottom_right_tr.gif" alt="" />
        <div style="position:absolute; left:16px; top:0; width:<?php if ($clientwidth<640) echo (($clientwidth<400)?($clientwidth-32):(368)); else echo 368;?>px;height:16px; background:url(images/avaya/main_bottom_middle.gif);">
        </div>
      </div>
    </div>

