$(document).ready(function() {
    $('.musicgallery').tn3({
    	autoplay: true,
    	delay: 8000,
        mouseWheel: false,
		image:{
			transitions:[{
			    type: "slide",
    			easing: "easeInOutCirc",
    			direction: "auto",
    			duration: 300
			}]
		},
    	external:[
    	{
    	origin:"flickr",
    	api_key:"a9612ba16b1077bb09f56bd807b6db4d",
    	user_id:"66407989@N03",
    	// photos specific request parameters - see flickr api
    	photos: {
    	extras:"description",
    	page:1,
    	per_page:100,
    	tags:"music"
    	},
    	// album specific request parameters - see flickr api
    	albums:{},
    	// object with title, thumb, description properties
   		 albumInfo:{},
    	thumbSize: "s",
    	imageSize: "z"
    	}
    	]
    });

    $('.fellowshipgallery').tn3({
    	autoplay: true,
    	delay: 8000,
        mouseWheel: false,
		image:{
			transitions:[{
			    type: "slide",
    			easing: "easeInOutCirc",
    			direction: "auto",
    			duration: 300
			}]
		},
    	external:[
    	{
    	origin:"flickr",
    	api_key:"a9612ba16b1077bb09f56bd807b6db4d",
    	user_id:"66407989@N03",
    	// photos specific request parameters - see flickr api
    	photos: {
    	extras:"description",
    	page:1,
    	per_page:100,
    	tags:"fellowship"
    	},
    	// album specific request parameters - see flickr api
    	albums:{},
    	// object with title, thumb, description properties
   		 albumInfo:{},
    	thumbSize: "s",
    	imageSize: "z"
    	}
    	]
    });    

    $('.youthgallery').tn3({
    	autoplay: true,
    	delay: 8000,
        mouseWheel: false,
		image:{
			transitions:[{
			    type: "slide",
    			easing: "easeInOutCirc",
    			direction: "auto",
    			duration: 300
			}]
		},
    	external:[
    	{
    	origin:"flickr",
    	api_key:"a9612ba16b1077bb09f56bd807b6db4d",
    	user_id:"66407989@N03",
    	// photos specific request parameters - see flickr api
    	photos: {
    	extras:"description",
    	page:1,
    	per_page:100,
    	tags:"youth"
    	},
    	// album specific request parameters - see flickr api
    	albums:{},
    	// object with title, thumb, description properties
   		 albumInfo:{},
    	thumbSize: "s",
    	imageSize: "z"
    	}
    	]
    });  
    
});



