On 'include' pages, where to call global scripts?
<p>I am brand new to PHP and just starting out, so apologies if this is a really dumb question! </p>

<p>I have an index.php page with the following code:</p>

<pre><code>&lt;?php include 'includes/header.php'; ?&gt;
&lt;?php include 'includes/repeated-content.php'; ?&gt;
&lt;?php include 'includes/footer.php'; ?&gt;
</code></pre>

<p>I've using the repeated-content.php file as a template, which uses the Supersized plugin for full screen backgrounds... and wish to use this feature elsewhere on the site. What I'm confused about (as I usually use HTML and am only just delving into PHP)... is whether to place all the global JS in index.php (Such as jQuery), and only the Supersized plugin &amp; relevant JS in repeat-content.php or should each PHP page have all the required JS scripts to run such as the jQuery library?</p>

<p>I know it'll work if I do put jQuery on every page (have tested it), but it seems wrong to repeat the HTTP request to reload a library on every include page.</p>
