window.addEvent('domready', function() {
	
	// The data for the slideshow
	wpdata_page7 = new Hash({'files/AE1D2F2F-Hans_and Bernhard on the Studebaker.png':{caption: 'Hans and Bernhard on the Studebaker', href: 'files/AE1D2F2F-Hans_and Bernhard on the Studebaker.png', thumbnail: 'files/AE1D2F2F-Hans_and Bernhard on the Studebaker-t.jpg'},'files/D9D59395-Bernhard_and Hans on their bikes.png':{caption: 'Bernhard and Hans on their bikes', href: 'files/D9D59395-Bernhard_and Hans on their bikes.png', thumbnail: 'files/D9D59395-Bernhard_and Hans on their bikes-t.jpg'},'files/E15CAAF1-Four_in the field.png':{caption: 'Four in the field', href: 'files/E15CAAF1-Four_in the field.png', thumbnail: 'files/E15CAAF1-Four_in the field-t.jpg'},'files/96AFCB80-Boys_in Doveton.png':{caption: 'Boys in Doveton', href: 'files/96AFCB80-Boys_in Doveton.png', thumbnail: 'files/96AFCB80-Boys_in Doveton-t.jpg'},'files/90EA4B5D-All_the Kids.png':{caption: 'All the Kids', href: 'files/90EA4B5D-All_the Kids.png', thumbnail: 'files/90EA4B5D-All_the Kids-t.jpg'}});
	
	// The options for the slideshow
	var wpoptions_page7 = new Hash({width: 840,height: 240,resize: 'width',captions: false,controller: false,random: true,paused: false,preload: false,loop: true,delay: 5000,duration: 4000,pan: 100,zoom: 50,color: '#FFFFFF',thumbnails: false,linked: true,loader: {'animate': ['files/loader-#.png', 12]},classes: [	 'slideshow-page7', '', '', '',	 '', '', '', '',	 '', '', '', '',	 '', '', '', '']});
	
	if (typeof(wpember_page7) != 'undefined') {
		wpdata_page7.combine(wpember_page7);
	}
	
	if (typeof(wpflickr_page7) != 'undefined') {
		wpdata_page7.combine(wpflickr_page7);
	}
	
	if (typeof(wplocal_page7) != 'undefined') {
		wpdata_page7.combine(wplocal_page7);
	}

	// The slideshow
	wpshow_page7 = new Slideshow.KenBurns('weaverpix-page7-slideshow', wpdata_page7.getClean(), wpoptions_page7.getClean());
});
window.addEvent('domready', function() {
	var sb_page7 = SqueezeBox.assign($$('#weaverpix-page7-slideshow .slideshow-page7-images a'), {
		onOpen: function() {
			wpshow_page7.pause(1);
		},
		onClose: function() {
			wpshow_page7.pause(0);
		}
	});
});


