    hs.graphicsDir = 'css/highslide/graphics/';
    hs.outlineType = 'rounded-white';
    hs.outlineWhileAnimating = true;
    hs.showCredits = false;
    hs.align = 'center';
    hs.allowMultipleInstances = false;
		hs.preserveContent = false;
    hs.objectWidth = 600;
    hs.minWidth = 200;
		hs.fadeInOut = true;
		hs.captionSlideSpeed = null;
		hs.enableKeyListener = true;
		hs.captionId = 'caption';
		hs.dimmingOpacity = 0.85;
		hs.dimmingGeckoFix = true;
		hs.allowSizeReduction = true;
		hs.allowWidthReduction = true;
		hs.allowHeightReduction = true;
		
		hs.Expander.prototype.onAfterExpand = function (sender, e) {
		   // create a new DOM element
		   var div = document.createElement('div');
		   // add a class name to allow CSS styling
		   div.className = "highslide-overlay";
		   if(sender.captionText != null && sender.captionText != '') {
		   	// use the captionText as innerHTML
		   	div.innerHTML = sender.captionText;
		    // optional: set full width based on the image size minus the CSS padding
		    div.style.width = (sender.x.span - 6) +'px';
		    // attatch it to this hs.Expander instance and add some options
		    sender.createOverlay( { overlayId: div, position: "top left", 
		       hideOnMouseOut: true, opacity: 1.0 } );
		   }else if(sender.thumb.alt != null && sender.thumb.alt != '') {
		   	// use the thumbnail's alt attribute as inner HTML
		   	div.innerHTML = sender.thumb.alt;
		    // optional: set full width based on the image size minus the CSS padding
		    div.style.width = (sender.x.span - 20) +'px';
		    // attatch it to this hs.Expander instance and add some options
		    sender.createOverlay( { overlayId: div, position: "top left", 
		       hideOnMouseOut: true, opacity: 1.0 } );
		   }
		}
		hs.Expander.prototype.printIframe = function () {
			var name = this.iframe.name;
			frames[name].focus();
			frames[name].print();
			return false;
		}