Optimizing a static php website
i am making a "static" php website in this style

    <?php include "header.php" ?>
    <?php include "left.php" ?>
    <?php include "photos.php" ?>

In "photos.php" i have 3 heavy javascript files from the lightbox and i thought it could be a good to include the javascript files only in this "photos.php" and not at the "header.php".
But javascript supposed to be only in the head html tags. Do you have any better approach or mine is just fine?

thanks very much
Optimizing a static php website
===

i am making a "static" php website in this style

    <?php include "header.php" ?>
    <?php include "left.php" ?>
    <?php include "photos.php" ?>

In "photos.php" i have 3 heavy javascript files from the lightbox and i thought it could be a good to include the javascript files only in this "photos.php" and not at the "header.php".
But javascript supposed to be only in the head html tags. Do you have any better approach or mine is just fine?

thanks very much