<script type="text/javascript">
function closeEvent(){
    if(confirm("您确定要停止测试采集运行吗？")){
		debugger
        window.opener=null;
		window.open('','_self');
		window.location.href="gather.php";
        window.close();
    }
    else{
    }
}
</script>
<tbody id="showstatus" <?php if(CURSCRIPT=='gather') echo 'style="display:none;"';?>>
<tr class="firstr"> 
      <td colspan="2">进行状态： </td>
      <?php if(CURSCRIPT == 'gather'){?>
      <td colspan="5" style="text-align:right">
        [<a target="stafrm" href="javascript:(0);" onClick="closeEvent();document.getElementById('showstatus').style.display='none';">停止采集测试</a>]
      </td>
      <?php }?>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td colspan="7" id="mtd">
    <div id='mdv' style='width:100%;height:300px;'> 
        <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%" onload='stafrm.document.body.scrollTop=stafrm.document.body.scrollHeight'>
        </iframe>
      </div>
      <script language="JavaScript">
	  document.all.mdv.style.pixelHeight = screen.height - 510;
	  </script>
       </td>
  </tr>
</tbody>