	  jQuery.noConflict();
	  
	  jQuery(document).ready(function() {
	  
	      jQuery(".gallery_lightbox").fancybox({
	
	        'autoScale'     	: true,
	        'transitionIn'		: 'fade',
			'transitionOut'		: 'fade',
			'centerOnScroll'	: 'false',
			'overlayOpacity'	: '0.8',
			'overlayColor'		: '#000000',
			'titlePosition'		: 'over',
			'cyclic'			: 'false',
			'titleFormat'		: formatTitle
			
	
		  });
	  
	  function formatTitle(title, currentArray, currentIndex, currentOpts) {
	    return '<div id="fancybox-title-over">' + (title && title.length ? '<b>' + title + '</b>' : '' ) + '<div class="image_no_position">Image ' + (currentIndex + 1 ) + ' of ' + (currentArray.length ) + '</div></div>';
	}
	
		  
		  jQuery(".various4").fancybox({
				'width'				: '95%',
				'height'			: '95%',
		        'autoScale'     	: false,
		        'transitionIn'		: 'fade',
				'transitionOut'		: 'none',
				'overlayOpacity'	: '0.8',
				'overlayColor'		: '#000000',
				'type'				: 'iframe'
		  });
		  
		  jQuery(".various_pano1").fancybox({
				'width'				: 1050,
				'height'			: 250,
		        'transitionIn'		: 'fade',
				'transitionOut'		: 'none',
				'overlayOpacity'	: '0.8',
				'overlayColor'		: '#000000',
				'type'				: 'iframe'
		  });
		  
		  
		  jQuery(".various_brochure").fancybox({
				'width'				: '95%',

		        'autoScale'     	: false,
		        'transitionIn'		: 'fade',
		        'overlayOpacity'	: '0.8',
				'overlayColor'		: '#000000',
				'transitionOut'		: 'none',
				'titlePosition'		: 'inside',
				'scrolling' : 'no'
				
		  });
		
		  
		  jQuery(".video").fancybox({
				
		        'autoScale'     	: true,
		        'transitionIn'		: 'fade',
				'transitionOut'		: 'none',
				'overlayOpacity'	: '0.8',
				'overlayColor'		: '#000000',
				'type'				: 'iframe'
				
		  });	 
		   
	
		  jQuery("a#imagefade").fancybox({
				'titleShow'     : false,
				'transitionIn'	: 'fade',
				'transitionOut'	: 'fade',
				'easingIn'      : 'easeOutBack',
				'overlayOpacity'	: '0.8',
				'overlayColor'		: '#000000',
				'easingOut'     : 'easeInBack'
		  });
	  
		  jQuery(".various5").fancybox({
				'width'				: '50%',
				'height'			: '50%',
		        'autoScale'     	: false,
		        'transitionIn'		: 'fade',
		        'overlayOpacity'	: '0.8',
				'overlayColor'		: '#000000',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
		  });
		  
		 
	  
	  });


		function navigateTo(sel, target, newWindow) {
		    var url = sel.options[sel.selectedIndex].value;
		    if (newWindow) {
		        window.open(url, target, '--- attributes here, see below ---');
		    } else {
		        window[target].location.href = url;
		    }
		}
