// Highslide site settings
// DO NOT EDIT. Generated on 2009-04-05 09:54:32 (GMT) by the Highslide Configuration Component 1.0.3

hs.showCredits = false;
hs.graphicsDir = '/plugins/content/highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.outlineStartOffset = 5;
hs.outlineWhileAnimating = true;
hs.captionEval = '';
hs.loadingText = 'Wczytuję...';
hs.loadingTitle = 'Naciśnij żeby wyjść';
hs.loadingOpacity = 0.1;
hs.dimmingOpacity = .9;
hs.padToMinWidth = true;
hs.focusTitle = 'Click to bring to front';
hs.closeText = 'Zamknij';
hs.closeTitle = 'Click to close';
hs.resizeTitle = 'Resize';
hs.moveText = 'Przenieś';
hs.nextText = 'Dalej';
hs.previousText = 'Poprzedni';
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 = 'easeInOutExpo';
hs.objectType = 'iframe';
hs.fullExpandOpacity = 0.1;
hs.fullExpandTitle = 'Powiększ do rzeczywistej wielkości';
hs.targetX = '150';
hs.targetY = '150';
hs.marginTop = 10;
hs.marginBottom = 50;
hs.marginLeft = 10;
hs.marginRight = 15;
hs.minHeight = 200;
hs.minWidth = 200;
hs.numberOfImagesToPreload = 5;
hs.transitions = ['fade', 'expand'];
hs.objectLoadTime = 'after';
hs.fullExpandPosition = 'bottom right';
hs.align = 'auto';
hs.anchor = 'auto';
hs.allowSizeReduction = false;
hs.fadeInOut = true;
hs.allowMultipleInstances = true;
hs.allowWidthReduction = false;
hs.allowHeigthReduction = false;
hs.blockRightClick = true;
hs.enableKeyListener = true;
hs.cacheAjax = true;
hs.preserveContent = true;
hs.captionSlideSpeed = 1;
hs.spaceForCaption = 30;
hs.dragSensitivity = 2;
hs.dimmingDuration = 10;
hs.expandDuration = 250;
hs.expandSteps = 50;
hs.zIndexCounter = 1001;
hs.restoreTitle = 'Click to close image, click and drag to move. Use arrow keys for next and previous.';
hs.Expander.prototype.onMouseOver = function (sender) { 
   sender.focus();
};
hs.onDimmerClick = function () { 
   return false;
};
hs.Expander.prototype.onBeforeExpand = function(sender, e)
{
	if (document.getElementById('mycustom-overlay') == null)
	{
		var div = document.createElement('div');
		div['innerHTML'] = '<div class="controlbar"><a href="#" onclick="return hs.previous (this)"   title="Previous   (left  arrow key)"   class="previous"></a> <a href="#" onclick="return hs.next (this) " title="Next   (right  arrow key)"  class="next"></a> <a href="#" onclick="return  false"   title="Click  and drag to move"   class="highslide-move"></a> <a href="#" onclick="return hs .close (this) "   title="Close"   class="close"></a></div>';
		div['id'] = 'mycustom-overlay';
		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: 'mycustom-overlay',
    position: 'bottom right',
    hideOnMouseOut: false,
    opacity: 1,
    useOnHtml: true
});
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;
}
