
 	jQuery.noConflict();
	  
	jQuery(document).ready(function() { 
	
	
	var $tabs = jQuery('#tabs').tabs();
	
	jQuery("#tab_switch1").click(function() { // bind click event to link
	$tabs.tabs('select', 1); // switch to third tab
    return false;	});
    jQuery("#tab_switch2").click(function() { // bind click event to link
	$tabs.tabs('select', 2); // switch to third tab
    return false;	});
    jQuery("#tab_switch3").click(function() { // bind click event to link
	$tabs.tabs('select', 3); // switch to third tab
    return false;	});
    jQuery("#tab_switch4").click(function() { // bind click event to link
	$tabs.tabs('select', 4); // switch to third tab
    return false;	});
    jQuery("#tab_switch5").click(function() { // bind click event to link
	$tabs.tabs('select', 5); // switch to third tab
    return false;	});
    jQuery("#tab_switch6").click(function() { // bind click event to link
	$tabs.tabs('select', 6); // switch to third tab
    return false;	});
    jQuery("#tab_switch7").click(function() { // bind click event to link
	$tabs.tabs('select', 7); // switch to third tab
    return false;	});
    jQuery("#tab_switch8").click(function() { // bind click event to link
	$tabs.tabs('select', 8); // switch to third tab
    return false;	});
    jQuery("#tab_switch9").click(function() { // bind click event to link
	$tabs.tabs('select', 9); // switch to third tab
    return false;	});
    jQuery("#tab_switch10").click(function() { // bind click event to link
	$tabs.tabs('select', 10); // switch to third tab
    return false;	});
    jQuery("#tab_switch11").click(function() { // bind click event to link
	$tabs.tabs('select', 11); // switch to third tab
    return false;	});
    jQuery("#tab_switch12").click(function() { // bind click event to link
	$tabs.tabs('select', 12); // switch to third tab
    return false;	});
    jQuery("#tab_switch13").click(function() { // bind click event to link
	$tabs.tabs('select', 13); // switch to third tab
    return false;	});
    jQuery("#tab_switch14").click(function() { // bind click event to link
	$tabs.tabs('select', 14); // switch to third tab
    return false;	});
    jQuery("#tab_switch15").click(function() { // bind click event to link
	$tabs.tabs('select', 15); // switch to third tab
    return false;	});
    jQuery("#tab_switch16").click(function() { // bind click event to link
	$tabs.tabs('select', 16); // switch to third tab
    return false;	});
     jQuery("#tab_switch17").click(function() { // bind click event to link
	$tabs.tabs('select', 17); // switch to third tab
    return false;	});
     jQuery("#tab_switch18").click(function() { // bind click event to link
	$tabs.tabs('select', 18); // switch to third tab
    return false;	});
	
	  
	 jQuery(".various4").fancybox({
				'width'				: '95%',
				'height'			: '95%',
		        'autoScale'     	: false,
		        'transitionIn'		: 'fade',
				'transitionOut'		: 'none',
				'overlayOpacity'	: '0.8',
				'overlayColor'		: '#000000',
				'type'				: 'iframe'
		  });

		  
		jQuery(".gallery").fancybox({
 			'autoScale'     	: true,
	        'transitionIn'		: 'elastic',
			'transitionOut'		: 'fade',
			'centerOnScroll'	: 'false',
			'overlayOpacity'	: '0.8',
			'overlayColor'		: '#000000',
			'titlePosition'		: 'outside',
			'cyclic'			: 'false',
			'titleFormat'		: formatTitle
			
	
		  });
		  
		  		  jQuery(".various_pano1").fancybox({
				'width'				: 850,
				'height'			: 492,
		        'transitionIn'		: 'fade',
				'transitionOut'		: 'none',
				'overlayOpacity'	: '0.8',
				'overlayColor'		: '#000000',
				'type'				: 'iframe',
				'scrolling' : 'no'
		  });
				  
				  	  jQuery(".various_pano2").fancybox({
				'width'				: 850,
				'height'			: 492,
		        'transitionIn'		: 'fade',
				'transitionOut'		: 'none',
				'overlayOpacity'	: '0.8',
				'overlayColor'		: '#000000',
				'type'				: 'iframe',
				'scrolling' : 'vertical'
		  });
		  
		 

	  
	  function formatTitle(title, currentArray, currentIndex, currentOpts) {
	    return '<div id="fancybox-title-outside">' + (title && title.length ? '<b>' + title + '</b>' : '' ) + '<div class="image_no_position">Image ' + (currentIndex + 1 ) + ' of ' + (currentArray.length ) + '</div></div>';
	}
		  
	setTimeout(function() {
  if (location.hash) {
    window.scrollTo(0, 0);
  }
}, 1);




  });

