jQuery(document).ready(function(){
     juice.setDebug(false);
	 juice.loadJs("/js/extensions/JuiceSimpleInsert.js");
     juice.onJsLoaded(runExtensions);
	 
	jQuery("#pictures").hover(function(){
		jQuery("#pictures").slideUp("slow", function(){
			jQuery("#bookJackets").fadeTo("slow", 0.8, function(){
				jQuery("#bookJackets li").hover(function(){
				jQuery(this).animate({opacity: 1}, "fast");
					}, function(){
					jQuery(this).animate({opacity: 0.8}, "fast");
					});
					});
		});
	 });
});
function runExtensions(){
	doCreatedBy();
}
function doCreatedBy(){
     var div = '<div id="extendedBy" style="display: block; width: 100%; text-align: center; clear: both;">' +
        'Extended by <a href="http://juice-project.googlecode.com">The Juice Project</a></div>';
     var insert = new JuiceInsert(div,"body","append");
     new simpleInsertJuice(juice,insert);
}

