// JavaScript Document
	hs.graphicsDir = '/wp-content/plugins/highslide/graphics/';
	hs.outlineType = 'rounded-white';
    hs.captionEval = 'this.a.title';
    hs.showCredits = false;
	hs.dragByHeading = false;
	
	hs.registerOverlay(
    {
    thumbnailId: null,
    overlayId: 'controlbar',
    position: 'top right',
    
}
);


  
  


	
	hs.lang = {
   loadingText :     'Na&#x10d;&#xed;t&#xe1; se...',
   loadingTitle :    'Klikn&#x11b;te pro zru&#x161;en&#xed;',
   focusTitle :      'Klikn&#x11b;te pro p&#x159;enesen&#xed; do pop&#x159;ed&#xed;',
   fullExpandTitle : 'Zv&#x11b;t&#x161;it na p&#x16f;vodn&#xed; velikost',
   fullExpandText :  'Pln&#xe1; velikost',
   creditsText :     'Powered by <i>Highslide JS</i>',
   creditsTitle :    'P&#x159;ej&#xed;t na str&#xe1;nky Highslide JS',
   previousText :    'P&#x159;edchoz&#xed;',
   previousTitle :   'P&#x159;edchoz&#xed; (&#x161;ipka vlevo)',
   nextText :        'Dal&#x161;&#xed;',
   nextTitle :       'Dal&#x161;&#xed; (&#x161;ipka vpravo)',
   moveTitle :       'P&#x159;esunout',
   moveText :        'P&#x159;esunout',
   closeText :       'Zav&#x159;&#xed;t',
   closeTitle :      'Zav&#x159;&#xed;t (esc)',
   resizeTitle :     'Zm&#x11b;nit velikost',
   playText :        'P&#x159;ehr&#xe1;t',
   playTitle :       'P&#x159;ehr&#xe1;t slideshow (mezern&#xed;k)',
   pauseText :       'Pozastavit',
   pauseTitle :      'Pozastavit slideshow (mezern&#xed;k)',
   restoreTitle :    ' '
};

hs.addSlideshow({
	// slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: true,
	overlayOptions: {
	className: 'large-dark',
		opacity: 0.6,
		position: 'top center',
		hideOnMouseOut: true
		
	}
});

hs.Expander.prototype.onCreateOverlay = function (sender, e) {
  if(this.a.id=='prihlaskaLink') {
  //e.overlay.useOnHtml=true;
  e.overlay.style.float="right";
  e.overlay.innerHTML="<div class=\"closebutton\"	onclick=\"return hs.close(this)\" title=\"Close\"></div>";
  }
  }
 
	
	


// Optional: a crossfade transition looks good with the slideshow
hs.transitions = ['expand', 'crossfade'];