<div class="popup_container">

<script>
      $(document).ready(function(){
          $("#close").click(function(){
              $("#divComm").fadeOut("slow");
          })

      })
</script>

<div class="popup_close">
<div class="left"><h1>Edit Comments</h1></div>
<div class="right"><a  id="close" href="#">X</a></div>
<div class="clear"></div>
</div>
<div style="padding: 10px;color: red" id="divCommReq"></div>

<table class="form_tbls" width="500px" border="0" cellspacing="0" cellpadding="0">
    <input type="hidden" value="<?php echo stripslashes($this->resComments->nId)?>" id="id">
<tr>
    <td width="20%" valign="top" style="text-align: left">Comment</td>
    <td><textarea name="txtComment" cols="30" rows="6"  id="txtComment"><?php echo stripslashes($this->resComments->vComment) ?> </textarea></td>
   
</tr>
<tr>
         <td  style="text-align: left">Status </td>
    <td width="50%" style="text-align: left">

        <select id="cmbStatus" class="txt_area">
            <option value="1" selected>Approved</option>
            <option value="0" <?php echo ($this->resComments->nStatus==0)?"selected":'';?>>Not Approved</option>

        </select>
    </td>
</tr>
<tr>
    <td>&nbsp;</td>
    <td>
        <input type="button" value="Update" class="btn_styles" name="btnCommUpdate" id="btnCommUpdate" onclick="load();">
    </td>
</tr>

</table>
</div>