// Highslide site settings

// DO NOT EDIT. Generated on 2009-01-08 22:31:29 (GMT) by the Highslide Configuration Component 1.0.3



hs.showCredits = false;

hs.graphicsDir = '/plugins/content/highslide/graphics/';

hs.outlineType = 'rounded-white';

hs.outlineStartOffset = 3;

hs.outlineWhileAnimating = false;

hs.captionEval = 'this.a.title';

hs.loadingText = 'Laddar...';

hs.loadingTitle = 'Klicka för att avbryta';

hs.loadingOpacity = 0.75;

hs.dimmingOpacity = 0;

hs.padToMinWidth = false;

hs.focusTitle = 'Klicka för att ta fram';

hs.closeText = 'Stäng';

hs.closeTitle = 'Klicka och stäng';

hs.resizeTitle = 'Ändra storlek';

hs.moveText = 'Flytta';

hs.nextText = 'Nästa';

hs.previousText = 'Föregående';

hs.restoreCursor = 'zoomout.cur';

hs.creditsHref = '';

hs.creditsText = 'Finbageriet Kamraterna';

hs.creditsTitle = '';

hs.easing = 'easeInQuad';

hs.easingClose = hs.easing;

hs.fullExpandOpacity = 1.0;

hs.fullExpandTitle = 'Expandera till verklig storlek';

hs.marginTop = 10;

hs.marginBottom = 15;

hs.marginLeft = 10;

hs.marginRight = 15;

hs.minHeight = 200;

hs.minWidth = 200;

hs.numberOfImagesToPreload = 5;

hs.transitions = ['expand'];

hs.objectLoadTime = 'before';

hs.fullExpandPosition = 'bottom right';

hs.align = '';

hs.anchor = '';

hs.allowSizeReduction = true;

hs.fadeInOut = false;

hs.allowMultipleInstances = true;

hs.allowWidthReduction = false;

hs.allowHeigthReduction = true;

hs.blockRightClick = false;

hs.enableKeyListener = true;

hs.cacheAjax = true;

hs.preserveContent = true;

hs.captionSlideSpeed = 1;

hs.spaceForCaption = 30;

hs.dragSensitivity = 5;

hs.dimmingDuration = 50;

hs.expandDuration = 250;

hs.expandSteps = 10;

hs.zIndexCounter = 1001;

hs.restoreTitle = 'Klicka och stäng, klicka och flytta. Använd piltangenter för nästa och föregående.';

hs.Expander.prototype.onBeforeExpand = function(sender, e)

{

	if (document.getElementById('egenOverlay') == null)

	{

		var div = document.createElement('div');

		div['innerHTML'] = '<div class="controlbar">	<a href="#" onclick="return hs.previous(this)" title="F&ouml;reg&aring;ende" class="previous"></a>	<a href="#" onclick="return hs.next(this)" title="N&auml;sta" class="next"></a>	<a href="#" onclick="return false" title="Klicka och drag f&ouml;r att flytta" class="highslide-move"></a>	<a href="#" onclick="return hs.close(this)" title="St&auml;ng" class="close"></a></div>';

		div['id'] = 'egenOverlay';

		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,

    fade: 1,

    overlayId: 'egenOverlay',

    position: 'top right',

    hideOnMouseOut: true,

    opacity: 0.8,

    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;

}
