The same relative paths need to be used. It doesn't have to be in the root directory unless that is where the rest of the files reside. All paths are referenced page relative, so if you change the relative location you would have to change the relative path.