关于#jsp#的点击选择事件问题,如何解决?

当我在点击查询后出现的内容,在我勾选为 1的序号时,在点击选择跳转到主页面应该展示出来,但是现在显示不出来是为什么

<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page isELIgnored="false"%> 
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/app.tld" prefix="app"%>
<html>
<head>
<link href="/common/css/Standard.css" rel="stylesheet" type="text/css">
<%

String type = (String)request.getAttribute("type");
%>
<script language="javascript">
//点查询 
   function selceSubmit(){
       fm.action="/sales/corporateQuery.do?actionType=bussinessSourceNameResult";
       fm.target="QueryResultFrame";
       fm.submit();        
   }
   //点选择
   function selectBussinessSource(){
          var count = QueryResultFrame.getElementCount('checkboxSelect'); 
      var clientIndex = 0;
      if(count == "") {
        alert("");
        return false;
      }
      else if(count==1){
         if(!QueryResultFrame.fm.checkboxSelect.checked==true) {
          alert("");
          return false;
          } 
      } 
      else {
        var n = 0;
        for(var i=0;i<QueryResultFrame.fm.checkboxSelect.length;i++){
          if(QueryResultFrame.fm.checkboxSelect[i].checked == true){
            n = n+1;
            clientIndex = i;
            break;
          }
        }
        if(n == 0) {
          alert("");
          return false;
        }
        }
        var bussinessSourceArray = new Array();
        bussinessSourceArray['codeCode']=QueryResultFrame.document.getElementsByName("codeCode")[clientIndex].value;
      bussinessSourceArray['codeCName']=QueryResultFrame.document.getElementsByName("codeCName")[clientIndex].value;
        
        if(evaluateMainFrameAgreement(bussinessSourceArray, window.parent.opener.fm)){    
      }else{
          window.parent.close();
      }
   }
   function evaluateMainFrameAgreement(bussinessSourceArray,mainFrameForm){
      if(bussinessSourceArray != null) {
        var type=document.getElementsByName("type")[0].value;
        if(type==1){
             mainFrameForm.gsClientCorporateDtoBussinessSource.value = bussinessSourceArray['codeCode'];
             mainFrameForm.gsClientCorporateDtoBussinessSource.onchange();    
        }
      }
}
script>
head>
<base target="_self">
<body onload="initBody();">

<html:form action="/sales/corporateQuery.do?actionType=bussinessSourceNameResult" target="QueryResultFrame">
<input type="hidden" name="type"  value="<%=request.getAttribute("type")%>">

<table id="BeforeOverViewMain" class="common" cellpadding="2" cellspacing="1"> 
<tr><td class="formtitle" colspan="4"><bean:message key="prompt.queryBussinessSource"/>td>tr> 
    <tr>
    <td class="left"><bean:message key="GsClientCorporateDto.bussinessSource"/>td>
    <td class="right">
        <input name="bussinessSource" class="common" type="text" maxlength="18">
      td>
    <td class="left"><bean:message key="GsClientCorporateDto.bussinessSourceName"/>td>
    <td class="right">
      <input name="bussinessSourceName" class="common" type="text">
    td>
  tr>
  
 table>
<table id="buttontable" class="button" cellpadding="5" cellspacing="1">
  <tr align="center">
    <td align="center">
    
      <input type="button" class="button" value="button.find" />" onClick="selceSubmit()" >
    td>
    <TD align="center">
    
        <input type="button" class="button" value="GuItemKindLoadingDto.selectedInd" />" onClick="selectBussinessSource();" />  
        TD>
  tr>
table>
<table class="button" cellpadding="5" cellspacing="1">
   <tr>
     <td ><iframe name="QueryResultFrame" src='about:blank' style='Z-INDEX:1;WIDTH:100%;HEIGHT:410'
        marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' scrolling='no'> iframe>td>
   tr>
table>  
<jsp:include page="/common/StaticJavascript.jsp" />
html:form>
body>
html>