getURL

Hello

I’m having trouble getting my linkbar to work globally.

CLICK this link to view an image of my Problem.
http://www.haxorbox.com/linkageIssue.jpg

Basically I want my flash movie to open a html file using the getURL command that is in a different directory.

The black text in the image represent [COLOR=royalblue]Folders[/COLOR] and the Lightblue text represent [COLOR=royalblue]Files[/COLOR]. Every html file has the linkbar.swf within it. If I click a button that brings me to a [COLOR=royalblue]File[/COLOR] inside the portfolio [COLOR=royalblue]Folder[/COLOR] then try and click a link that brings you back to the Web Page folder it has an error because the getURL is looking for “index.html” but it isn’t inside of the portfolio folder.
I don’t want to have to make 2 seperate swf files, one containing
getURL(“index.html”)
and another
getURL("…/index.html")
I want my linkbar.swf to be global… So what is the coding I need to insert so my button links will check if the file is inside a folder, and if it isn’t, look in a directory higher.

I hope this makes sence.
Thanks for the help.