$(document) .ready(function() {
	
	$("div.tabs").tabs(".images > div", {

		// enable "cross-fading" effect
		effect: 'fade',
		fadeOutSpeed: "slow",

		// start from the beginning after the last tab
		rotate: true
		

	// use the slideshow plugin. It accepts its own configuration
	}).slideshow({autoplay: true, interval: 8000})
	
	
	// select the thumbnails and make them trigger our overlay
	$(".inspireUl a, .galleryUl a").overlay({

		// each trigger uses the same overlay with the id "gallery"
		target: '#gallery',

		// optional exposing effect
		expose: '#f1f1f1'

		// let the gallery plugin do its magic!
		}).gallery({

		// the plugin accepts its own set of configuration options
		speed: 800
		});
		
});


