text: // JavaScript Document
  
  
  //  for select / deselect all
  
  $('document').ready(function()
  {
      $(".select-all").click(function ()
      {
          $('.chk-box').attr('checked', this.checked)
      });
          
      $(".chk-box").click(function()
      {
          if($(".chk-box").length == $(".chk-box:checked").length)
          {
              $(".select-all").attr("checked", "checked");
          }
          else
          {
              $(".select-all").removeAttr("checked");
          }
      });
  });
  
  
  //  for select / deselect all
  
  
  //  page redirect on user click edit/delete
  function edit_records() 
  {
  	document.frm.action = "supplier_edit_mul.php";
  	document.frm.submit();		
  }
  function delete_records() 
  {
  	document.frm.action = "supplier_delete_mul.php";
  	document.frm.submit();
  }
  //  page redirection