Thanks for the pointers..
Here's what I have now:
<?php } ?>
<style type="text/css" media="all">
@import url("<?php echo $pg_config['path']; ?>css/slimbox/slimbox.css");
@import url("<?php echo $pg_config['html_prefix']; ?>css/common.css");
@import url("<?php echo $pg_config['html_prefix']; ?>css/<?php echo $pg_theme; ?>.css");
</style>
<?php if(empty($js_mootools)) { ?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="/galleries/js/mootools-core.js"></script>
<script type="text/javascript" src="/galleries/js/mootools-more.js"></script>
<?php $js_mootools = true; } ?>
<?php if(empty($js_slimbox)) { ?>
<script type="text/javascript" src="/galleries/js/slimbox.js"></script>
<?php $js_slimbox = true; } ?>
<script type="text/javascript" src="/galleries/js/gallery.js"></script>
<?php if(!$included) { ?>
</head>
<body class="pg">
<div id="pgOuterWrapper">
<?php } ?>
But no joy. I think I'm going to strip it all out and install the previous version.
Ah... I just saw another set of config path... I'll do an update...