Topic: SimpleViewer with php

I am trying to build gallery site with php but I can't get Simpleviewer to work with the site. I have built a table which has navibar and main window. As I try to view the simpleviewer gallery in the main window it says that "SimpleViewer requires Macromedia Flash. Get Macromedia Flash. If you have Flash installed, click to view gallery". The gallery is fine if I check it straight from it's index.html.

EDIT: I think the problem has something to do with the directories. Now I have all the files in directory except the gallery files which are in subdirectory. As I push the "click to view gallery" button it says that index.html is not found.