This code will produce a useful navigation resource, showing visitors where they are in your site. Version 1.01 Fixed bug which printed wrong URL for more than one directory
deep paths. Version 1.02 Removed some legacy code from the original implementation at users.f2s.com