		var mygallery=new simpleGallery({
			wrapperid: "simplegallery1", //ID of main gallery container,
			dimensions: [560, 272], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
			imagearray: [
                ["./images/banners/ts2010.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=8&products_id=97", ""],
 		["./images/banners/handball2010.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=5&products_id=96", ""],
                ["./images/banners/blackmirror2.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=1&products_id=91", ""],
                ["./images/banners/leadandgold.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=8&products_id=94", ""] ,
 		["./images/banners/darkestofdays.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=6&products_id=95", ""],
                ["./images/banners/wingsofprey.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=1&products_id=93", ""],
 		["./images/banners/railworks.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=6&products_id=90", ""],        	
                ["./images/banners/germantruck.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=1&products_id=92", ""]
     			],
			autoplay: true,
			persist: false,
			pause: 3500, //pause between slides (milliseconds)
			fadeduration: 500, //transition duration (milliseconds)
			oninit:function(){ //event that fires when gallery has initialized/ ready to run
			},
			onslide:function(curslide, i){ //event that fires after each slide is shown
				//curslide: returns DOM reference to current slide's DIV (ie: try alert(curslide.innerHTML)
				//i: integer reflecting current image within collection being shown (0=1st image, 1=2nd etc)
			}
		})
