// Highslide site settings
// DO NOT EDIT. Generated on 2009-02-24 09:16:04 (GMT) by the Highslide Configuration Component 1.0.3

hs.showCredits = false;
hs.graphicsDir = '/cs/plugins/content/highslide/graphics/';
hs.outlineType = 'glossy-dark';
hs.outlineStartOffset = 3;
hs.outlineWhileAnimating = false;
hs.captionEval = 'this.thumb.title';
hs.loadingText = 'Зареждане...';
hs.loadingTitle = 'Кликни за прекратяване';
hs.loadingOpacity = 0.75;
hs.dimmingOpacity = 0;
hs.padToMinWidth = false;
hs.focusTitle = 'Кликнете за да фокусирате';
hs.closeText = 'Затвори';
hs.closeTitle = 'Кликни за да затвориш';
hs.resizeTitle = 'Преоразмери';
hs.moveText = 'Кликни задръж и мести';
hs.nextText = 'Следваща (бутон стрелка на дясно)';
hs.previousText = 'Предишна (бутон стрелка наляво)';
hs.restoreCursor = 'zoomout.cur';
hs.creditsHref = 'http://internetbg.com/';
hs.creditsText = 'Powered by <i>Highslide JS</i>';
hs.creditsTitle = 'Go to the internet BG homepage';
hs.easing = '';
hs.easingClose = 'easeInQuad';
hs.fullExpandOpacity = 1.0;
hs.fullExpandTitle = 'Увеличи до актуалния размер';
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 = 'center';
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 = 'Кликнете за да затворите, кликнете и местете за преместване. Използвайте стрелките "наляво" и "надясно" от клавиатурата за следваща и предходна снимка.';
hs.Expander.prototype.onMouseOver = function (sender) { 
   sender.focus();
};
hs.Expander.prototype.onBeforeExpand = function(sender, e)
{
	if (document.getElementById('controlbar') == null)
	{
		var div = document.createElement('div');
		div['innerHTML'] = '<div class="controlbar"><a href="#" onclick="return hs.previous(this)" title="Предишна (бутон стрелка наляво)" class="previous"></a><a href="#" onclick="return hs.next(this)" title="Следваща (бутон стрелка на дясно)" class="next"></a><a href="#" onclick="return false" title="Кликни задръж и мести" class="highslide-move"></a><a href="#" onclick="return hs.close(this)" title="Затвори" class="close"></a></div>';
		div['id'] = 'controlbar';
		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: 'controlbar',
    position: 'top right',
    hideOnMouseOut: true,
    opacity: 0.6,
    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;
}
