hs.graphicsDir = '/js/highslide419/highslide/graphics/';
hs.align = 'center';
hs.transitions = [ 'expand', 'crossfade' ];
hs.outlineType = 'rounded-white';
hs.fadeInOut = true;
hs.marginBottom = 70;
hs.marginLeft = 100;
hs.blockRightClick = true;
hs.captionEval = 'this.a.title';
hs.dimmingOpacity = 0.5;
hs.registerOverlay({
  html: '<div class="closebutton" onclick="return hs.close(this)" title="п≈п╟п╨я─я▀я┌я▄"></div>',
  position: 'top right',
  useOnHtml: true,
  fade: 2 // fading the semi-transparent overlay looks bad in IE
});

//Add the slideshow controller
hs.addSlideshow({
  slideshowGroup: 'photo_group',
  interval: 4000,
  repeat: true,
  useControls: true,
  fixedControls: false,
  overlayOptions: {
    className: 'text-controls',
    opacity: '0.7',
    position: 'bottom center',
    offsetX: '50',
    offsetY: '-30',
    relativeTo: 'viewport',
    hideOnMouseOut: false
  },
  thumbstrip: {
    mode: 'vertical',
    position: 'middle left',
    relativeTo: 'viewport'
  }

});

//gallery config object
var gallery_config = {
  slideshowGroup: 'photo_group',
  numberPosition: 'caption',
  autoplay: false,
  transitions: ['expand', 'crossfade']
};
