hs.graphicsDir = '/js/highslide/highslide/graphics/';
    // Tell Highslide to use the thumbnail's title for captions
hs.captionEval = "this.thumb.getAttribute('capt')";
hs.expandSteps = 10; // number of steps in zoom. Each step lasts for duration/step milliseconds.
hs.expandDuration = 200; // milliseconds
hs.restoreSteps = 10;
hs.restoreDuration = 200;
hs.marginLeft = 15;
hs.marginRight = 15;
hs.marginTop = 15;
hs.marginBottom = 15;
hs.zIndexCounter = 1001; // adjust to other absolutely positioned elements

hs.restoreTitle = '';
hs.lang.loadingText = 'Загрузка...';
hs.lang.loadingTitle = '';
hs.loadingOpacity = 0.75;
hs.lang.focusTitle = '';
hs.allowMultipleInstances = false;
hs.numberOfImagesToPreload = 0;
hs.captionSlideSpeed = 1; // set to 0 to disable slide in effect
hs.padToMinWidth = true; // pad the popup width to make room for wide caption
hs.outlineWhileAnimating = 1; // 0 = never, 1 = always, 2 = HTML only 
hs.outlineStartOffset = 3; // ends at 10
hs.fullExpandTitle = '';
hs.fullExpandPosition = 'bottom right';
hs.fullExpandOpacity = 1;
hs.showCredits = false;
hs.lang.creditsText = '<img src="/img/account/cancel.png" style="width:16px;height:16px;">',
hs.creditsHref = 'hs.close(this)',
hs.enableKeyListener = false;
hs.expandCursor = ''; // null disables
hs.restoreCursor = 'zoomout.cur'; // null disables

hs.captionId = null;
hs.spaceForCaption = 0; // leaves space below images with captions
hs.slideshowGroup = null; // defines groups for next/previous links and keystrokes
hs.minWidth = 300;
hs.minHeight = 200;
hs.allowSizeReduction = true; // allow the image to reduce to fit client size. If false, this 
hs.outlineType = 'drop-shadow'; // set null to disable outlines
hs.preserveContent = false; // Preserve changes made to the content and position of HTML popups.
hs.objectLoadTime = 'before'; // Load iframes 'before' or 'after' expansion.
hs.cacheAjax = true; // Cache ajax popups for instant display. Can be overridden for each popup.