Hi, not sure if I can explain this very well. I have some tabs on a page and when clicked they call a page. It works fine except if I have any javascript on the page being called. For example I have a tab call photos and when clicked it inserts photos.php, the photos uses light box to view larger image but it doesn't work, works fine if photos.php is included with regular php includes.