} if productCat="" or productCat="40" then sqlstr="select id,productTopInfo,productImage,productPrice,productfactor,productTitle,TopProducts from Products where productCat=40 or TopProducts=true" elseif productCat="39" then sqlstr="select id,productTopInfo,productImage,productPrice,productfactor,productTitle,TopProducts from Products where productCat=39 or sales=true" else sqlstr="select id,productTopInfo,productImage,productPrice,productfactor,productTitle,TopProducts from Products where productCat like '"&Request.QueryString("productCat")&"'" end if sqlstr=sqlstr &" and NotOnLine=false" sqlstr=sqlstr & " order by order_1" rs.Open sqlstr,con,3,3 if rs.RecordCount<1 then Response.Write("