		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/raceon.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=1&products_id=86", ""],
    	["./images/banners/hoteldeadm.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=8&products_id=88", ""],        
		["./images/banners/majesty2.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=1&products_id=69", ""],
		["./images/banners/ptboats.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=8&products_id=81", ""], 
		["./images/banners/18wheels.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=8&products_id=83", ""],
		["./images/banners/ninjablade.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=6&products_id=85", ""],
		["./images/banners/hu2010.jpg", "http://friendshop.es/index.php?main_page=product_info&cPath=1&products_id=82", ""]	
			],
			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)
			}
		})
