<%
if session("counter_check")="" then
sqlcominvetup="update company_invet set counter_math=counter_math+1 where com_ser=12 and invet_type='WEB_COM'"
conn.execute(sqlcominvetup)
session("counter_check")="OK"
end if
set rscount=server.createobject("adodb.recordset")
sqlcount="select counter_math from company_invet where com_ser=12 and invet_type='WEB_COM'"
rscount.open sqlcount,conn,1,1
response.write rscount("counter_math")
%>