﻿/***	Site-specific configuration settings for Highslide JS*/$(document).ready(function() {hs.graphicsDir = 'http://www.kropotkin.cc/highslide/graphics/';hs.showCredits = false;hs.outlineType = null;hs.dimmingOpacity = 0.90;hs.dimmingDuration = 80;hs.fadeInOut = true;hs.transitionDuration = 500;hs.align = 'center';hs.allowMultipleInstances = false;hs.blockRightClick = true;hs.captionEval = 'this.thumb.alt';// Add the slideshow controllerhs.addSlideshow({    slideshowGroup: (function() {    var groups = [];    $('.gallery').each(function(i, $item) {        groups.push($item.id);    });    return groups;})(),	interval: 4000,	repeat: false,	useControls: true,	fixedControls: 'fit',	overlayOptions: {		className: 'large-dark',		opacity: 0.6,		position: 'bottom center',		offsetX: 0,		offsetY: -15,		hideOnMouseOut: true	}});// hs.numberPosition = 'caption';hs.transitions = ['expand', 'crossfade'];// for gallery$('.gallery-item a').addClass('highslide');$('.gallery-item a').each(function() {    this.onclick = function() {        return hs.expand(this, {            slideshowGroup: this.parentNode.parentNode.parentNode.id        });    };});// For single imageshs.onSetClickEvent = function(sender, e) {    e.element.onclick = function() {        return hs.expand(this, singleConfig);    }    return false;};var singleConfig = {    slideshowGroup: 'single-image',    outlineType: 'drop-shadow',    wrapperClassName: 'borderless',    numberPosition: null,    dimmingOpacity: 0};hs.registerOverlay({    slideshowGroup: 'single-image',    html: ' <div onclick="return hs.close(this)" title="Close"></div>',    position: 'top right',    fade: 2});});
