	    hs.graphicsDir = '/template/common/css/graphics/';
	    hs.outlineType = 'rounded-white';
		hs.showCredits = false;
		hs.allowSizeReduction = false;
		hs.wrapperClassName = 'draggable-header';
		hs.align = 'center';
		hs.transitions = ['expand', 'crossfade'];
		hs.outlineType = 'rounded-white';
		hs.fadeInOut = true;
		hs.dimmingOpacity = 0.75;
		hs.dragByHeading = false;

		// define the restraining box
		hs.useBox = false;
		hs.width = 640;
		hs.height = 480;

		// Add the controlbar
		hs.addSlideshow({
			//slideshowGroup: 'group1',
			interval: 5000,
			repeat: false,
			useControls: false,
			fixedControls: 'fit',
			overlayOptions: {
				opacity: 1,
				position: 'top center',
				hideOnMouseOut: true
			}
		});

	$(document).ready(function(){
		var top = 0;
		$('.gallery_img').each(function(){
			var currentTop = $(this).offset().top;
			if (top == 0) top = currentTop;
			if (top != currentTop) {
				$(this).before('<div class="clear"></div>');
				top = $(this).offset().top;
			}
		});
		$('ul.gallery li').each(function(){
			var currentTop = $(this).offset().top;
			if (top == 0) top = currentTop;
			if (top != currentTop) {
				$(this).before('<div class="clear"></div>');
				top = $(this).offset().top;
			}
		});
	});
