Hi, I have this file called "inc_BreadCrumbs.asp" basically this is a Navigation include file as breadcrumbs style, and I inserted this to every page in my site. It works fine but one thing I cant configure is that: It displays the file names as for example: search.asp or results.asp etc... But i want it to display as SEARCH or RESULTS etc... How to implement this? Can it display only page title name or something else how can you change it? Can you help please, thanx. PS: And one of my page is created by results page and its called details.asp and its url has & [ etc..
Here is the "inc_BreadCrumbs.asp" :


<%

if request.ServerVariables("HTTPS") = "on" then ssl = "s"
myURL = "http" & ssl & "://" & request.ServerVariables("SERVER_NAME")
myArray = split(request.ServerVariables("URL"),"/")
response.write "<a href = """ & myURL & """><font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" color = ""#000000"">" & request.ServerVariables("SERVER_NAME") & "</font></a><font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" color = ""#000000""> > </font>"
for a1 = lbound(myArray) to Ubound(myArray)
newStr = ""
qMark = ""
newStr = myArray(a1)
myCounter = myCounter + 1
if NOT Ubound(myArray) + 1 = myCounter then
trailingSlash = "/"
else
trailingSlash = ""
end if
myURL = myURL & myArray(a1) & trailingSlash
if Ubound(myArray)+1 = myCounter AND request.ServerVariables("QUERY_STRING") > "" then qStr = "?" & request.ServerVariables("QUERY_STRING")
if NOT myArray(a1) = "http" & ssl & ":" AND NOT myArray(a1) = "" then
response.write "<a href = """ & myURL & qStr & """><font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" color = ""#000000"">" & newStr & "</font></a>"
if NOT Ubound(myArray)+1 = myCounter then response.write "<font size=""1"" face=""Verdana, Arial, Helvetica, sans-serif"" color = ""#000000""> > </font>"
end if
next

%>