jQuery(document).ready(function($){
  // $(".post").draggable();
   
   $(".right_images").hover(
      function () {
      	css_val_parent = $(this).parent().css("z-index");
      	css_val = $(this).css("z-index");
      	
      	$(this).parent().css("z-index", "100000");
        $(this).css("z-index", "100001");
        var imgtitle = $(this).find("img").attr("title");
        $(this).append("<div class='imgtitle'>" + imgtitle + "</div>");
        
      }, 
      function () {
        $(this).parent().css("z-index", css_val_parent);
        $(this).css("z-index", css_val);
        $(this).find("div:last").remove();
      }
    );
   
   
  
   
 });
 

hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
//hs.outlineType = 'rounded-white';
//hs.showCredits = false;
hs.fadeInOut = true;
hs.dimmingOpacity = 0.50;
hs.zIndexCounter = 100000
// Add the controlbar
hs.addSlideshow({
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		opacity: .75,
		position: 'bottom center',
		hideOnMouseOut: true
	}
});