the issue is your code change for the paths to the js nad css pages:
@import url("<?php echo $pg_config['../ribbon_fullsize_lightbox - Copy/path']; ?>css/slimbox/slimbox.css");
@import url("<?php echo $pg_config['../ribbon_fullsize_lightbox - Copy/html_prefix']; ?>css/common.css");
@import url("<?php echo $pg_config['../ribbon_fullsize_lightbox - Copy/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="<?php echo $pg_config['../ribbon_fullsize_lightbox - Copy/path']; ?>js/mootools-core.js"></script>
<script type="text/javascript" src="<?php echo $pg_config['../ribbon_fullsize_lightbox - Copy/path']; ?>js/mootools-more.js"></script>
<?php $js_mootools = true; } ?>
<?php if(empty($js_slimbox)) { ?>
<script type="text/javascript" src="<?php echo $pg_config['../ribbon_fullsize_lightbox - Copy/path']; ?>js/slimbox.js"></script>
<?php $js_slimbox = true; } ?>
<script type="text/javascript" src="<?php echo $pg_config['../ribbon_fullsize_lightbox - Copy/html_prefix']; ?>js/gallery.js"></script>
this should not have been changed.