<%@language=vbscript%> var url=''; url = url + '&sw=' + screen.width; url = url + '&sh=' + screen.height; url = url + '&sd=' + screen.colorDepth; url = url + '&ck=' + navigator.cookieEnabled; url = url + '&jv=' + navigator.javaEnabled(); url = url + '&os=' + navigator.platform; url = url + '&cpu=' + navigator.cpuClass; url = url + '&lan=' + navigator.userLanguage; url = url + '&ref=' + document.referrer; <% sid=Request.Cookies("sid") if(len(sid)=0)or(IsNumeric(sid)=False)then sid=Session.SessionID response.Cookies("sid")=sid end if ' read the counter style and value from the SETTINGS table set getstyle=conn.execute("SELECT CSTYLE,CVALUE FROM SETTINGS WHERE ID=99") cstyle=0 : cvalue=0 : if not getstyle.eof then cstyle=0+getstyle(0) : cvalue=0+getstyle(1) : end if : getstyle.close Select Case cstyle case 0 %> document.write(''); <% case 1 %> document.write(''); <% case 2 %> document.write('<%=cvalue%>'); <% End Select %>