// PRELOAD IMAGES
	var myimages = new Array();
	function preloading(){
		for (x=0; x<preloading.arguments.length; x++){
			myimages[x] = new Image();
			myimages[x].src = preloading.arguments[x];
		}
	}
	preloading("res/photo1_1.png","res/photo2_1.png","res/photo3_1.png","res/photo1_2.png","res/photo2_2.png","res/photo3_2.png","res/photo1_3.png","res/photo2_3.png","res/photo3_3.png");

// IMAGE 1
	var mygallery=new fadeSlideShow({
		wrapperid: "fadeshow1", //ID of blank DIV/block on page to house Slideshow
		dimensions: [153, 144], //width/height of gallery in pixels. Should reflect dimensions of largest image
		imagearray: [
			["res/photo1_1.png", "", "", ""],
			["res/photo1_1.png", "", "", ""],

			["res/photo1_2.png", "", "", ""],
			["res/photo1_2.png", "", "", ""], 

			["res/photo1_2.png", "", "", ""],
			["res/photo1_2.png", "", "", ""],

			["res/photo1_2.png", "", "", ""],
			["res/photo1_2.png", "", "", ""],
			
			["res/photo1_3.png", "", "", ""],
			["res/photo1_3.png", "", "", ""],

			["res/photo1_3.png", "", "", ""],
			["res/photo1_3.png", "", "", ""],

			["res/photo1_3.png", "", "", ""],
			["res/photo1_3.png", "", "", ""],

			["res/photo1_1.png", "", "", ""],
			["res/photo1_1.png", "", "", ""],

			["res/photo1_1.png", "", "", ""],
			["res/photo1_1.png", "", "", ""] //<--no trailing comma after very last image element!

			 
		],
		displaymode: {type:'auto', pause:1500, cycles:0, wraparound:false},
		persist: false,		//remember last viewed slide and recall within same session?
		fadeduration: 500, 	//transition duration (milliseconds)
		descreveal: "ondemand",
		togglerid: ""
	})
	
// IMAGE 2
	var mygallery=new fadeSlideShow({
		wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
		dimensions: [153, 144], //width/height of gallery in pixels. Should reflect dimensions of largest image
		imagearray: [
			["res/photo2_1.png", "", "", ""],
			["res/photo2_1.png", "", "", ""],

			["res/photo2_1.png", "", "", ""],
			["res/photo2_1.png", "", "", ""],

			["res/photo2_2.png", "", "", ""],
			["res/photo2_2.png", "", "", ""],

			["res/photo2_2.png", "", "", ""],
			["res/photo2_2.png", "", "", ""],

			["res/photo2_2.png", "", "", ""],
			["res/photo2_2.png", "", "", ""],

			["res/photo2_3.png", "", "", ""],
			["res/photo2_3.png", "", "", ""],

			["res/photo2_3.png", "", "", ""],
			["res/photo2_3.png", "", "", ""],

			["res/photo2_3.png", "", "", ""],
			["res/photo2_3.png", "", "", ""],

			["res/photo2_1.png", "", "", ""],
			["res/photo2_1.png", "", "", ""] //<--no trailing comma after very last image element!

		],
		displaymode: {type:'auto', pause:1500, cycles:0, wraparound:false},
		persist: false,		//remember last viewed slide and recall within same session?
		fadeduration: 500, 	//transition duration (milliseconds)
		descreveal: "ondemand",
		togglerid: ""
	})
	
// IMAGE 3
	var mygallery=new fadeSlideShow({
		wrapperid: "fadeshow3", //ID of blank DIV on page to house Slideshow
		dimensions: [153, 144], //width/height of gallery in pixels. Should reflect dimensions of largest image
		imagearray: [
			["res/photo3_1.png", "", "", ""],
			["res/photo3_1.png", "", "", ""],

			["res/photo3_1.png", "", "", ""],
			["res/photo3_1.png", "", "", ""],

			["res/photo3_1.png", "", "", ""],
			["res/photo3_1.png", "", "", ""],

			["res/photo3_2.png", "", "", ""],
			["res/photo3_2.png", "", "", ""],

			["res/photo3_2.png", "", "", ""],
			["res/photo3_2.png", "", "", ""],

			["res/photo3_2.png", "", "", ""],
			["res/photo3_2.png", "", "", ""],

			["res/photo3_3.png", "", "", ""],
			["res/photo3_3.png", "", "", ""],

			["res/photo3_3.png", "", "", ""],
			["res/photo3_3.png", "", "", ""],

			["res/photo3_3.png", "", "", ""],
			["res/photo3_3.png", "", "", ""] //<--no trailing comma after very last image element!

		],
		displaymode: {type:'auto', pause:1500, cycles:0, wraparound:false},
		persist: false,		//remember last viewed slide and recall within same session?
		fadeduration: 500, 	//transition duration (milliseconds)
		descreveal: "ondemand",
		togglerid: ""
	})
