/*
*  Highslide site settings
*  DO NOT EDIT. Generated on 2009-04-04 14:43:06 (GMT) by the Highslide Configuration Component 2.0.0
*/

hs.showCredits = false;
hs.graphicsDir = 'plugins/content/highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.outlineStartOffset = 3;
hs.outlineWhileAnimating = 2;
hs.loadingOpacity = 0.75;
hs.dimmingOpacity = 0.8;
hs.captionText = 'Copyright © 2009 --- Majsai Cipőipari Szövetkezet --- Minden jog fenntartva.';
hs.headingEval = 'this.a.title';
hs.padToMinWidth = false;
hs.padToMinWidth = false;
hs.expandCursor = 'zoomin.cur';
hs.restoreCursor = 'zoomout.cur';
hs.creditsHref = 'http://highslide.com';
hs.easing = 'easeInQuad';
hs.easingClose = hs.easing;
hs.fullExpandOpacity = 1.0;
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.fullExpandPosition = 'bottom right';
hs.objectLoadTime = 'before';
hs.align = 'center';
hs.anchor = 'auto';
hs.allowSizeReduction = true;
hs.fadeInOut = false;
hs.allowMultipleInstances = true;
hs.allowWidthReduction = false;
hs.allowHeightReduction = true;
hs.blockRightClick = true;
hs.enableKeyListener = true;
hs.dynamicallyUpdateAnchors = true;
hs.useBox = false;
hs.cacheAjax = true;
hs.preserveContent = true;
hs.dragByHeading = true;
hs.dragSensitivity = 5;
hs.dimmingDuration = 200;
hs.expandDuration = 250;
hs.transitionDuration = 800;
hs.expandSteps = 10;
hs.zIndexCounter = 1001;
hs.onDimmerClick = function () { 
   return false;
};
hs.Expander.prototype.onBeforeGetCaption = function(sender)
{
	var ele = document.getElementById( sender.captionId );
	if (ele != null) {
		ele.innerHTML = hs.replaceLang( ele.innerHTML );
	}
	return true;
}
hs.Expander.prototype.onBeforeGetHeading = function(sender)
{
	var ele = document.getElementById( sender.headingId );
	if (ele != null) {
		ele.innerHTML = hs.replaceLang( ele.innerHTML );
	}
	return true;
}
hs.Expander.prototype.onBeforeGetContent = function(sender)
{
	var ele = document.getElementById( sender.contentId );
	if (ele != null) {
		ele.innerHTML = hs.replaceLang( ele.innerHTML );
	}
	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);
	}
   return true;
}
hs.registerOverlay(
{
    thumbnailId: null,
    fade: 1,
    overlayId: 'controlbar',
	position: 'bottom center',
    hideOnMouseOut: true,
    opacity: 0.5,
    useOnHtml: false
});
hs.Expander.prototype.onBeforeExpand = function (sender) {
	if (this.custom != null
       &&this.custom['overlayId'] != null)
    {
		sender.createOverlay( this.custom );
	}
	return true;
}
hs.Expander.prototype.onInit = function (sender)
{
	if (document.getElementById('controlbar') == null)
	{
		var div = document.createElement('div');
		var txt = '<div class=\"controlbar2\"><a href=\"#\" onclick=\"return hs.previous(this)\" title=\"Előző kép (kurzor bill. balra)\" class=\"previous\"></a><a href=\"#\" onclick=\"return hs.next(this)\" title=\"Következő kép (kurzor bill. jobbra)\" class=\"next\"></a><a href=\"#\" onclick=\"return false\" title=\"Kép mozgatása a képernyőn\" class=\"highslide-move\"></a><a href=\"#\" onclick=\"return hs.close(this)\" title=\"Bezárás\" class=\"close\"></a></div>';
		div['innerHTML'] = hs.replaceLang(txt);
		div['id'] = 'controlbar';
		div['className'] = 'highslide-overlay';
		sender.a.appendChild( div );
	}
	return true;
}