<% 'Capture the name of the page as well as ' directory structure script_name=Request.ServerVariables("script_name") 'Split the directory tree into an arry b ' y / split_name=Split(script_name,"/") ' Sets the number of directory levels do ' wn num_directory=UBound(split_name)-1 %>