$(document).ready(function() { 
   $("ul.CMSListMenuUL").superfish({ 
            delay:      500, 
            pathClass:  'CMSListMenuHighlightedLI',                 
            animation:  {opacity:'show',height:'show'}  // fade-in and slide-down animation 
         }); 

	

	var galleries = $('.ad-gallery').adGallery({
	  loader_image: '/sites/global/js/ad-gallery/loader.gif',
	  width: 800, // Width of the image, set to false and it will read the CSS width
	  height: 435, // Height of the image, set to false and it will read the CSS height
	  thumb_opacity: 0.5, // Opacity that the thumbs fades to/from, (1 removes fade effect
	  start_at_index: 0, // Which image should be displayed at first? 0 is the first image
	  animate_first_image: true, // Should first image just be displayed, or animated in?
	  animation_speed: 400, // Which ever effect is used to switch images, how long should it take?
	  display_next_and_prev: true, // Can you navigate by clicking on the left/right on the image?
	  display_back_and_forward: true, // Are you allowed to scroll the thumb list?
	  scroll_jump: 0, // If 0, it jumps the width of the container
	  slideshow: {
	    enable: true,
	    autostart: true,
	    speed: 5000,
	    start_label: '<img src=/sites/v13/img/control_play.png alt=start />',
	    stop_label: '<img src=/sites/v13/img/control_pause.png alt=stop />',
	    stop_on_scroll: true // Should the slideshow stop if the user scrolls the thumb list?
	  },
	  effect: 'slide-hori', // or 'slide-vert or slide-hori', 'resize', 'fade', 'none' or false
	  enable_keyboard_move: true, // Move to next/previous image with keyboard arrows?
	  cycle: true // If set to false, you can't go from the last image to the first, and vice versa  
	});


	



}); 






				
				
				
	
		
