Справочный файл JavaScript в два папки

//.. selects the parent directory from the current. Of course, this can be chained:

../../index.php
//This would be two directories up.
Powerful Penguin