<!-- ================================================================= -->
<!-- dlg_forward_extn.php                                              -->
<!-- ================================================================= -->
<!-- HTML defining a popup dialog box for selecting an extension as a  -->
<!-- forwarding destintation.                                          -->
<!-- ================================================================= -->
<!-- Copyright (c) 2008-2009 Avaya Inc.                                -->
<!-- ================================================================= -->
    <div id="dlg_ForwardExtn" style="z-index:4000; 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_ForwardExtn')">
        <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_ForwardExtn',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 Extension(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_ForwardExtn">
        </div>
        <div id="dlg_ForwardExtn_msg" style="color:#e41f1f; padding-bottom:0px;">
          &nbsp;
        </div>
        <div style="margin-bottom:0px; margin-left:0px;">
          <?php echo TextToHtml(gettext('Find name').':');?><br /><input type="text" name="dlg_ForwardExtn_find" id="dlg_ForwardExtn_find" onkeyup=" OnFind('ForwardExtn', this.value)" value="" style="width:<?php if ($clientwidth<640) echo (($clientwidth<400)?($clientwidth-150):(250)); else echo 250;?>px;" /> <input type="submit" id="btn_ForwardExtn" style="visibility:hidden;" onclick="Activity(); Forward('<?php echo Forward::EXTN ?>',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>

