ctc = new Array(); // "ctc" means "the couter number of the cities code"
ctc[1]=1;ctc[2]=5;ctc[3]=15;ctc[4]=25;ctc[5]=35;ctc[6]=45;ctc[7]=54;ctc[8]=64;ctc[9]=76;ctc[10]=86;
ctc[11]=96;ctc[12]=105;ctc[13]=115;ctc[14]=125;ctc[15]=135;ctc[16]=145;ctc[17]=155;ctc[18]=163;ctc[19]=173;ctc[20]=183;ctc[21]=193;
ctc[22]=200;ctc[23]=209;ctc[24]=210;ctc[25]=216;ctc[26]=226;ctc[27]=236;ctc[28]=239;
if Request("hns")<>"" then
hns=request("hns")
else
hns=1001
end if
if request("id")<>"" then
id=request("id")
sql2="select * from tour where id="&id
else
sql2="select top 1 * from tour where szsx="+cstr(hns)+" order by jdbm"
end if
set kk2=conn.Execute (sql2)
sql="select * from tour where szsx="+cstr(hns)+" order by id"
set kk=conn.Execute (sql)
do while not kk.eof
response.write"<br>"
%>