<!--#include file="../conn/conn_other.asp"-->
<%
capitalid=request.QueryString("capitalid")
if capitalid="" then capitalid=1000
set rs=server.createobject("adodb.recordset")
sql="select * from JOB_provinceandcity where fid="&capitalid&" order by date desc"
rs.open sql,conn,1,1
if not rs.eof then
aa="<option value='0' selected>²»ÏÞ</option>"
do while not rs.eof
 aa=aa&"<option value="&rs("id")&">"&rs("province_city")&"</option>"
rs.movenext
loop
rs.movefirst
set rs2=server.createobject("adodb.recordset")
sql="select * from JOB_provinceandcity where fid="&rs("id")
rs2.open sql,conn,1,1
bb="<option value='0' selected>²»ÏÞ</option>"
do while not rs2.eof
 bb=bb&"<option value="&rs2("id")&">"&rs2("province_city")&"</option>"
rs2.movenext
loop
end if
rs.close
set rs=nothing
rs2.close
set rs2=nothing
conn.close
set conn=nothing
%>
<script>
parent.chukoucapital.innerHTML="";
parent.load300.innerHTML="<select name=hukoucapital onchange=GethukouCity(this.options[this.selectedIndex].value) style='width:77px'><%=aa%></select>";
parent.chukoucity.innerHTML="";
parent.load400.innerHTML="<select name=hukoucity style='width:77px'><%=bb%></select>";
</script>;

