// Highslide site settings
// DO NOT EDIT. Generated on 2009-05-13 13:48:11 (GMT) by the Highslide Configuration Component 1.0.3

hs.showCredits = false;
hs.graphicsDir = '/plugins/content/highslide/graphics/';
hs.outlineType = '';
hs.outlineStartOffset = 3;
hs.outlineWhileAnimating = false;
hs.captionEval = '';
hs.loadingText = 'Loading...';
hs.loadingTitle = 'Click to cancel';
hs.loadingOpacity = 0.75;
hs.dimmingOpacity = 0;
hs.padToMinWidth = false;
hs.focusTitle = 'Click to bring to front';
hs.closeText = 'Schließen';
hs.closeTitle = 'Click to close';
hs.resizeTitle = 'Resize';
hs.moveText = 'Verschieben';
hs.nextText = 'Weiter';
hs.previousText = 'Vorherige';
hs.restoreCursor = 'zoomout.cur';
hs.creditsHref = 'http://vikjavev.no/highslide/';
hs.creditsText = 'Powered by <i>Highslide JS</i>';
hs.creditsTitle = 'Go to the Highslide JS homepage';
hs.easing = 'easeInQuad';
hs.easingClose = hs.easing;
hs.objectType = 'iframe';
hs.fullExpandOpacity = 1.0;
hs.fullExpandTitle = 'Expand to actual size';
hs.marginTop = 10;
hs.marginBottom = 15;
hs.marginLeft = 10;
hs.marginRight = 15;
hs.minHeight = 400;
hs.minWidth = 200;
hs.objectHeight = 400;
hs.objectWidth = 200;
hs.numberOfImagesToPreload = 5;
hs.transitions = ['expand'];
hs.objectLoadTime = 'after';
hs.fullExpandPosition = 'bottom right';
hs.align = '';
hs.anchor = '';
hs.allowSizeReduction = false;
hs.fadeInOut = false;
hs.allowMultipleInstances = false;
hs.allowWidthReduction = true;
hs.allowHeigthReduction = false;
hs.blockRightClick = false;
hs.enableKeyListener = true;
hs.cacheAjax = false;
hs.preserveContent = false;
hs.captionSlideSpeed = 1;
hs.spaceForCaption = 30;
hs.dragSensitivity = 5;
hs.dimmingDuration = 50;
hs.expandDuration = 250;
hs.expandSteps = 10;
hs.zIndexCounter = 1001;
hs.restoreTitle = 'Click to close image, click and drag to move. Use arrow keys for next and previous.';
hs.Expander.prototype.onBeforeExpand = function(sender, e)
{
	if (document.getElementById('highslide-controls') == null)
	{
		var div = document.createElement('div');
		div['innerHTML'] = '<div >  <a href="#" onclick="return hs.close(this)" class="close"><font style="color: #000; font-size: 25px;"><strong>X</strong></font></a></div>';
		div['id'] = 'highslide-controls';
		div['className'] = 'highslide-overlay';
		sender.a.appendChild( div );
	}
	return true;
}
hs.Expander.prototype.onCreateOverlay = function(sender, e)
{
    if (e.overlay.innerHTML.indexOf( '{thumbalt}', 0 ) != -1) {
		e.overlay.innerHTML = e.overlay.innerHTML.replace('{thumbalt}', sender.thumb.alt);
	}
    if (e.overlay.innerHTML.indexOf( '{thumbtitle}', 0 ) != -1) {
		e.overlay.innerHTML = e.overlay.innerHTML.replace('{thumbtitle}', sender.thumb.title);
	}
    if (e.overlay.innerHTML.indexOf( '{popuptitle}', 0 ) != -1) {
		e.overlay.innerHTML = e.overlay.innerHTML.replace('{popuptitle}', sender.a.title);
	}
}
hs.registerOverlay(
{
    thumbnailId: null,
    slideshowGroup: 'group1',
    fade: 1,
    overlayId: 'highslide-controls',
    position: 'top right',
    hideOnMouseOut: true,
    opacity: 1,
    useOnHtml: false
});
hs.Expander.prototype.onAfterExpand = function (sender, e) {
	if (this.custom != null
       &&this.custom['overlayId'] != null)
    {
		sender.createOverlay( this.custom );
	}
}
hs.Expander.prototype.onInit = function (sender, e)
{
	if (this.custom != null
	   &&this.custom['swffile'] != null
	   &&this.swfObject == null
	   )
	{
		this.swfObject = new SWFObject( this.custom['swffile']
		                              , this.custom['swfobjectId']
		                              , this.custom['swfwidth']
		                              , this.custom['swfheight']
		                              , this.custom['swfversion']
		                              , this.custom['swfbgcolor']
									  );
		this.swfObject.addParam('wmode', 'transparent' );
	}
	return true;
}
