what this does is add a line of a javascript and i'm having trouble figuring out a few things. everything works fine, except i do not know how to make the $trufls variable equal the word "True" when there is a directory within the directory. then i need to make $Q be what level it is in the directory. if its the first directory its 0, if its the 2nd, its 1, etc. then i need to only show $dir/$f when there is an index.html in the root folder.