Hi Everyone

I have some javascript files that only get loaded of 6 ez pages.

I caurrently have them in the footer so the are loaded last however

Is there a way that I can only load these java script when the pages that require are displayed

I tried the following bit think i may be barking up the wrong tree

if ($current_page_base == 'page' and $id == '5' or $_GET['id'] == '5' or $_GET['id'] == '15' or $_GET['id'] == 9or $_GET['id'] == '16') {
$flag_disable_jscript = flase;
<script type="text/javascript" src="includes/templates/theme407/js/mhgallery.js"></script>
<script type="text/javascript" src="includes/templates/theme407/js/initgallerytvframing.js"></script>
<script type="text/javascript" src="includes/templates/theme407/js/initgallerystandard.js"></script>
}

I am not sure if this will work or if I have the format correct for an ez ppage

Many Thanks