<!--#include file="../conn/conn.asp" -->
<!--#include file="../Inc/Commoncode.asp" -->
<%professionid=request.QueryString("professionid")
if Chkrequest(professionid)=True then
set rs=server.createobject("adodb.recordset")
sql="select profession_id,profession_enname,profession_fid from JOB_profession where profession_fid="&professionid&" order by date desc" 
rs.open sql,conn,1,1
if not rs.eof then
do while not rs.eof
aa=aa&"<option value="&rs("profession_id")&">"&rs("profession_enname")&"</option>"
rs.movenext
loop
end if
rs.close
set rs=nothing
end if
conn.close
set conn=nothing
%>

<script>
parent.cprofession.innerHTML="";
parent.load400.innerHTML="<select name=subprofession id=subprofession><%=aa%></select>";
</script>