IF instr(url, "omtrust.org") > 0 then Response.Redirect("404.asp") End if url1 = name & ":" & url Set objConn = Server.CreateObject("ADODB.Command") objConn.ActiveConnection = Application("Connection1_ConnectionString") objConn.CommandText = "sp_adhits" objConn.CommandType = 4 'Parameter for stored procedure SET objParam = objConn.CreateParameter("@url",200, 1, 500) objConn.Parameters.Append objParam objConn.Parameters("@url") = url1 Set rs = objConn.Execute IF instr(url, "http") > 0 then else url = "http://" & url end if 'Response.Write(URL) 'Response.end Response.Redirect(url) %>