<% sql = " SELECT b_main_img, b_l_url, b_l_subject, b_l_win "&_ " FROM banner2 "&_ " WHERE b_l_chk = 'Y' AND b_l_sdate <= '"&getDateFm(now,4)&"' AND b_l_edate >='"&getDateFm(now,4)&"' "&_ " ORDER BY b_l_code desc " Set Rs = Dbcon.Execute (sql) If Not rs.eof Then vData = rs.getrows() vCnt = UBound(vData,2) Else vCnt = -1 End If rs.close : Set rs = nothing If vCnt >-1 then %>

popup zone

<% End if %>