%@LANGUAGE="VBSCRIPT"%>
<%
Dim Repeat1__numRows
Repeat1__numRows = -1
Dim Repeat1__index
Repeat1__index = 0
rsSubdivDE_numRows = rsSubdivDE_numRows + Repeat1__numRows
%>
<%
Dim Repeat2__numRows
Repeat2__numRows = -1
Dim Repeat2__index
Repeat2__index = 0
rsSubdivAT_numRows = rsSubdivAT_numRows + Repeat2__numRows
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters
' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "="
MM_keepURL="":MM_keepForm="":MM_keepBoth="":MM_keepNone=""
' add the URL parameters to the MM_keepURL string
For Each Item In Request.QueryString
NextItem = "&" & Item & "="
If (InStr(1,MM_removeList,NextItem,1) = 0) Then
MM_keepURL = MM_keepURL & NextItem & Server.URLencode(Request.QueryString(Item))
End If
Next
' add the Form variables to the MM_keepForm string
For Each Item In Request.Form
NextItem = "&" & Item & "="
If (InStr(1,MM_removeList,NextItem,1) = 0) Then
MM_keepForm = MM_keepForm & NextItem & Server.URLencode(Request.Form(Item))
End If
Next
' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
if (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
if (MM_keepURL <> "") Then MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
if (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
If (firstItem <> "") Then
MM_joinChar = "&"
Else
MM_joinChar = ""
End If
End Function
%>
<%
'Auto Hyperlink by Tom Steeper 2001 v1.0.3
Function MakeHyperlink(strSource)
if (strSource <> "") or Not IsNull(strSource) then
splitSource = Split(strSource," ")
linkResult = Filter(splitSource, "www", True)
emailResult = Filter(splitSource, "@", True)
For i = 0 to Ubound (splitSource)
MakeHyperLink = MakeHyperlink & splitSource(i) & " "
Next
For i = 0 to Ubound (linkResult)
'Trim off any punctuation
If Right(linkResult(i),1) = "," OR Right(linkResult(i),1) = "." then
linkResult(i)=left(linkResult(i),len(linkResult(i))-1)
End If
If Left(linkResult(i),7) = "http://" OR Left(linkResult(i),7) = "HTTP://" then
linkWrapTag = "" & linkResult(i) & ""
Else
linkWrapTag = "" & linkResult(i) & ""
End If
MakeHyperLink = Replace(MakeHyperLink, linkResult(i), linkWrapTag)
Next
For i = 0 to Ubound (emailResult)
'Trim off any punctuation
If Right(emailResult(i),1) = "," OR Right(emailResult(i),1) = "." then
emailResult(i)=left(emailResult(i),len(emailResult(i))-1)
End If
emailWrapTag = "" & emailResult(i) & ""
MakeHyperLink = Replace(MakeHyperLink, emailResult(i), emailWrapTag)
Next
MakeHyperLink = Replace(MakeHyperLink,Chr(13),"
")
Else
MakeHyperlink = strSource
End If
End Function
%>
<%'Session("svCity")= (rsArea.Fields.Item("Cityname").Value) %>
|
Home | Contact
Us | Privacy Policy | Terms
of Service | Disclaimer © AboutYourNeighborhood.com All Rights Reserved questions and comments to: webmaster@AboutYourNeighborhood.com |