//点击父窗体修改按钮 
        function modifyCus(id,managerName,contractno,shopname,cusname,area,ip,date,soft,ad,state,text){            var arr=new Array(id,managerName,contractno,shopname,cusname,area,ip,date,soft,ad,state,text);           var value= window.showModalDialog("modify.html",arr,'dialogWidth=400px;dialogHeight=450px;status=no;help=no;scroll=yes'); 
          window.location.reload();         } 
modify.html <script language="javascript" type="text/javascript"> 
    function load(){     //dialogArguments 
    var arr=window.dialogArguments 
          document.getElementById("idhidden").value=arr[0]; 
          document.getElementById("managername").value=arr[1]; 
          document.getElementById("conractno").value=arr[2]; 
          document.getElementById("shopname").value=arr[3]; 
          document.getElementById("cusname").value=arr[4]; 
          document.getElementById("sel").value=arr[5]; 
          document.getElementById("ip").value=arr[6]; 
          document.getElementById("date").value=arr[7];           var soft=document.getElementById("soft").value=arr[8]; 
          //选中软件安装 
          if(soft=="value"){              var softObj=document.getElementsByName("soft");               for(var i=0;i<softObj.length;i++){ 
                 softObj.checked=true; 
              } 
          }           var ad=document.getElementById("ad").value=arr[9]; 
          //广告安装选中 
          if(ad=="value"){ 
                var adObj=document.getElementsByName("ad");               for(var i=0;i<adObj.length;i++){ 
                 adObj.checked=true; 
              } 
          }           document.getElementById("state").value=arr[10]; 
          document.getElementById("text").innerHTML=arr[11]; 
    }     //返回至父窗口 
    function clowindow(){ 
         window.close(); 
    }     //点击子窗口修改按钮触发动作 
    function modify(){ 
var name=         document.getElementById("shopname").value; 
var id=document.getElementById("idhidden").value; 
var contractno=document.getElementById("conractno").value; 
var shopname=document.getElementById("shopname").value; 
var cusname=document.getElementById("cusname").value; 
var area=document.getElementById("sel").value; 
var ip=document.getElementById("ip").value; 
var date=document.getElementById("date").value; 
var soft=document.getElementById("soft").value; 
var ad=document.getElementById("ad").value; 
var state=document.getElementById("state").value; 
var text=document.getElementById("text").value; 
    var arr=new Array(id,name,contractno,shopname,cusname,area,ip,date,soft,ad,state,text); 
   window.returnValue=arr; 
    window.close(); 
    // window.parent.setValue("哈哈"); 
    var value= window.parent.setValue("hah "); 
  // window.opener.document.getElementById("text1").value="zhangdahua"; 
    // window.returnValue=arr; 
    // opener.setValue("ehhh"); 
   //window.close(); 
   /*document.location="modify.php?id="+id+"&name="+name+"&contractno="+contractno+"&shopname="+shopname+"&cusname="+cusname+"&area="+area 
   +"&ip="+ip+"&date="+date+"&soft="+soft+"&ad="+ad+"&state="+state;*/ 
    } </script> 
</head> 
<body onload="load();" bgcolor="cyan">   <table> 
     <caption>修改客户跟单</caption>      <tr> 
         <td>业务代理:</td><td><input type="text" id="managername" name="managername"></td> 
     </tr>      <tr> 
        <td>跟单号:</td><td><input type="text" id="conractno"></td> 
     </tr>      <tr> 
        <td>门店名称:</td><td><input type="text" id="shopname"></td> 
     </tr>      <tr> 
        <td>客户姓名:</td><td><input type="text" id="cusname"></td> 
     </tr>      <tr> 
        <td>所属区域:</td> 
        <td> 
           <select id="sel" name="sel"> 
             <option value="芙蓉区">芙蓉区</option> 
             <option value="雨花区">雨花区</option> 
             <option value="岳麓区">岳麓区</option> 
             <option value="天心区">天心区</option> 
             <option value="开福区">开福区</option> 
             <option value="长沙县">长沙县</option> 
             <option value="望城县">望城县</option> 
             <option value="浏阳市">浏阳市</option> 
           </select> 
        </td> 
     </tr>     <tr> 
        <td>IP:</td><td><input type="text" id="ip"></td> 
     </tr>      <tr> 
        <td>签约时间:</td><td><input type="text" id="date" onfocus="javascript:setday(this)"></td> 
     </tr>      <tr> 
        <td>软件设备:</td><td> <input type="checkbox" name="soft" id="soft">   广告安装:<input type="checkbox" name="ad"></td>      </tr>      <tr> 
        <td>运转情况:</td><td><input type="text" id="state"></td> 
     </tr>        <tr> 
        <td>备注:</td>         <td> 
           <textarea  rows="10" cols="35" id="text">            </textarea> 
        </td> 
     </tr>       <tr> 
        <td>操作:</td><td><input type="button" value="修改" onclick="modify();">  <input type="button" value="返回" onclick="clowindow();"></td> 
     </tr> 
    <input type="hidden" id="idhidden"> 
  </table> 
</body> 怎么传布过去啊?? 在子窗体做修改后然后返回给父窗体