$(document).ready(function(){
/*-----------------------------------------------------------------------------------CLASSIC-----------------------------------------------------------------------------------*/
	var mygallery_classic=new simpleGallery({
		wrapperid: "collection_1", //ID of main gallery container,
		dimensions: [206,206], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
		imagearray: [
			["watches/collection/plastic-classic-classicbk.jpg", "collection.php?id=1", "", "Classic"],
			["watches/collection/plastic-classic-classicwe.jpg", "collection.php?id=1", "", "Classic"],
			["watches/collection/plastic-classic-classicbe.jpg", "collection.php?id=1", "", "Classic"],
			["watches/collection/plastic-classic-classicgn.jpg", "collection.php?id=1", "", "Classic"],
			["watches/collection/plastic-classic-classicyw.jpg", "collection.php?id=1", "", "Classic"],
			["watches/collection/plastic-classic-classicoe.jpg", "collection.php?id=1", "", "Classic"],
			["watches/collection/plastic-classic-classicrd.jpg", "collection.php?id=1", "", "Classic"],
			["watches/collection/plastic-classic-classicpk.jpg", "collection.php?id=1", "", "Classic"],
			["watches/collection/plastic-classic-classicpe.jpg", "collection.php?id=1", "", "Classic"],
			["watches/collection/plastic-classic-classicsr.jpg", "collection.php?id=1", "", "Classic"]
		],
		autoplay: [true, 2000, 100], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
		persist: false, //remember last viewed slide and recall within same session?
		fadeduration: 300, //transition duration (milliseconds)
		oninit:function(){ //event that fires when gallery has initialized/ ready to run
			//Keyword "this": references current gallery instance (ie: try this.navigate("play/pause"))
		},
		onslide:function(curslide, i){ //event that fires after each slide is shown
			//Keyword "this": references current gallery instance
			//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)
		}
	})

/*--------------------------------------------------------------------------------CLASSIC SOLID------------------------------------------------------------------------------*/
	var mygallery_classicsolid=new simpleGallery({
		wrapperid: "collection_20",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/plastic-classic-classicbk.jpg", "collection.php?id=20", "", "Classic Solid Black"],
			["watches/collection/plastic-classic-classicwe.jpg", "collection.php?id=20", "", "Classic Solid White"],
			["watches/collection/CLASSIC-SOLID-blue.jpg", "collection.php?id=20", "", "Classic Solid Blue"],
			["watches/collection/CLASSIC-SOLID-green.jpg", "collection.php?id=20", "", "Classic Solid Green"],
			["watches/collection/CLASSIC-SOLID-yellow.jpg", "collection.php?id=20", "", "Classic Solid Yellow"],
			["watches/collection/CLASSIC-SOLID-orange.jpg", "collection.php?id=20", "", "Classic Solid Orange"],
			["watches/collection/CLASSIC-SOLID-red.jpg", "collection.php?id=20", "", "Classic Solid Red"],
			["watches/collection/CLASSIC-SOLID-pink.jpg", "collection.php?id=20", "", "Classic Solid Pink"],
			["watches/collection/CLASSIC-SOLID-purple.jpg", "collection.php?id=20", "", "Classic Solid Purple"],
			["watches/collection/CLASSIC-SOLID-silver.jpg", "collection.php?id=20", "", "Classic Solid Silver"]
		],
		autoplay: [true, 1775, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})

/*--------------------------------------------------------------------------------CLASSIC FLUO------------------------------------------------------------------------------*/
	var mygallery_classicfluo=new simpleGallery({
		wrapperid: "collection_18",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/CLASSIC-FLUO-blue.jpg", "collection.php?id=18", "", "Classic Fluo Blue"],
			["watches/collection/CLASSIC-FLUO-green.jpg", "collection.php?id=18", "", "Classic Fluo Acid Green"],
			["watches/collection/CLASSIC-FLUO-orange.jpg", "collection.php?id=18", "", "Classic Fluo Orange"],
			["watches/collection/CLASSIC-FLUO-pink.jpg", "collection.php?id=18", "", "Classic Fluo Pink"]
		],
		autoplay: [true, 1800, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	
/*--------------------------------------------------------------------------------CLASSIC PASTEL------------------------------------------------------------------------------*/
	var mygallery_classicpastel=new simpleGallery({
		wrapperid: "collection_19",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/CLASSIC-PASTEL-blue.jpg", "collection.php?id=19", "", "Classic Pastel Blue"],
			["watches/collection/CLASSIC-PASTEL-blue-green.jpg", "collection.php?id=19", "", "Classic Pastel Blue Green"],
			["watches/collection/CLASSIC-PASTEL-pink.jpg", "collection.php?id=19", "", "Classic Pastel Pink"],
			["watches/collection/CLASSIC-PASTEL-purple.jpg", "collection.php?id=19", "", "Classic Pastel Purple"]
		],
		autoplay: [true, 1900, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})	

/*--------------------------------------------------------------------------------Neon------------------------------------------------------------------------------*/
	var mygallery_neon=new simpleGallery({
		wrapperid: "collection_11",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/plastic-neon-neonbe.jpg", "collection.php?id=11", "", "Neon"],
			["watches/collection/plastic-neon-neongn.jpg", "collection.php?id=11", "", "Neon"],
			["watches/collection/plastic-neon-neonyw.jpg", "collection.php?id=11", "", "Neon"],
			["watches/collection/plastic-neon-neonpk.jpg", "collection.php?id=11", "", "Neon"]
		],
		autoplay: [true, 1800, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})	
	
/*-----------------------------------------------------------------------------------SILI-----------------------------------------------------------------------------------*/
	var mygallery_sili=new simpleGallery({
		wrapperid: "collection_2",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/plastic-sili-silibk.jpg", "collection.php?id=2", "", "Sili"],
			["watches/collection/plastic-sili-siliwe.jpg", "collection.php?id=2", "", "Sili"],
			["watches/collection/plastic-sili-silibe.jpg", "collection.php?id=2", "", "Sili"],
			["watches/collection/plastic-sili-silign.jpg", "collection.php?id=2", "", "Sili"],
			["watches/collection/plastic-sili-siliyw.jpg", "collection.php?id=2", "", "Sili"],
			["watches/collection/plastic-sili-silioe.jpg", "collection.php?id=2", "", "Sili"],
			["watches/collection/plastic-sili-silird.jpg", "collection.php?id=2", "", "Sili"],
			["watches/collection/plastic-sili-silipk.jpg", "collection.php?id=2", "", "Sili"],
			["watches/collection/plastic-sili-silipe.jpg", "collection.php?id=2", "", "Sili"],
			["watches/collection/plastic-sili-silisr.jpg", "collection.php?id=2", "", "Sili"]
		],
		autoplay: [true, 1900, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	
/*-----------------------------------------------------------------------------------SILI WINTER-----------------------------------------------------------------------------------*/
	var mygallery_siliwinter=new simpleGallery({
		wrapperid: "collection_12",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/plastic-sili-silibn.jpg", "collection.php?id=12", "", "Sili Winter"],
			["watches/collection/plastic-sili-silicb.jpg", "collection.php?id=12", "", "Sili Winter"],
			["watches/collection/plastic-sili-silidb.jpg", "collection.php?id=12", "", "Sili Winter"],
			["watches/collection/plastic-sili-silidg.jpg", "collection.php?id=12", "", "Sili Winter"],
			["watches/collection/plastic-sili-siliir.jpg", "collection.php?id=12", "", "Sili Winter"],
			["watches/collection/plastic-sili-silika.jpg", "collection.php?id=12", "", "Sili Winter"],
			["watches/collection/plastic-sili-sililp.jpg", "collection.php?id=12", "", "Sili Winter"],
			["watches/collection/plastic-sili-siliwr.jpg", "collection.php?id=12", "", "Sili Winter"]
		],
		autoplay: [true, 1750, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	
/*--------------------------------------------------------------------------------SILI SUMMER------------------------------------------------------------------------------*/
		var mygallery_silisummer=new simpleGallery({
		wrapperid: "collection_16",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/SILI-SUMMER-2010-amparoblue.jpg", "collection.php?id=16", "", "Sili Summer Amparo Blue"],
			["watches/collection/SILI-SUMMER-2010-aberblue.jpg", "collection.php?id=16", "", "Sili Summer Aber Blue"],
			["watches/collection/SILI-SUMMER-2010-turquoise.jpg", "collection.php?id=16", "", "Sili Summer Turquoise"],
			["watches/collection/SILI-SUMMER-2010-eucalyptus.jpg", "collection.php?id=16", "", "Sili Summer Eucalyptus"],
			["watches/collection/SILI-SUMMER-2010-aurora.jpg", "collection.php?id=16", "", "Sili Summer Aurora"],
			["watches/collection/SILI-SUMMER-2010-fusioncoral.jpg", "collection.php?id=16", "", "Sili Summer Fusion Coral"],
			["watches/collection/SILI-SUMMER-2010-tomato.jpg", "collection.php?id=16", "", "Sili Summer Tomato"],
			["watches/collection/SILI-SUMMER-2010-fluopink.jpg", "collection.php?id=16", "", "Sili Summer Fluo Pink"],
			["watches/collection/SILI-SUMMER-2010-violet.jpg", "collection.php?id=16", "", "Sili Summer Violet"],
			["watches/collection/SILI-SUMMER-2010-tuscany.jpg", "collection.php?id=16", "", "Sili Summer Tuscany"]
		],
		autoplay: [true, 1825, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	

	})

/*--------------------------------------------------------------------------------Ice-Love------------------------------------------------------------------------------*/
	var mygallery_icelove=new simpleGallery({
		wrapperid: "collection_14",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/ice-love-black.jpg", "collection.php?id=14", "", "Ice-Love"],
			["watches/collection/ice-love-white.jpg", "collection.php?id=14", "", "Ice-Love"],
			["watches/collection/ice-love-pink.jpg", "collection.php?id=14", "", "Ice-Love"],
			["watches/collection/ice-love-red.jpg", "collection.php?id=14", "", "Ice-Love"]
		],
		autoplay: [true, 1725, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	
/*-----------------------------------------------------------------------------------CHRONO-----------------------------------------------------------------------------------*/
	var mygallery_chrono=new simpleGallery({
		wrapperid: "collection_4",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/ch_we_b_p.jpg", "collection.php?id=4", "", "Chrono"],
			["watches/collection/ch_bk_b_s.jpg", "collection.php?id=4", "", "Chrono"],
			["watches/collection/ch_rg_b_s.jpg", "collection.php?id=4", "", "Chrono"],
			["watches/collection/ch_bk_b_p.jpg", "collection.php?id=4", "", "Chrono"]
		],
		autoplay: [true, 1950, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})

/*--------------------------------------------------------------------------------Stone------------------------------------------------------------------------------*/
	var mygallery_stone=new simpleGallery({
		wrapperid: "collection_9",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/plastic-stone-stonebk-pu.jpg", "collection.php?id=9", "", "Stone"],
			["watches/collection/plastic-stone-stonewe-pu.jpg", "collection.php?id=9", "", "Stone"]
		],
		autoplay: [true, 1775, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	
/*--------------------------------------------------------------------------------Stone SILI------------------------------------------------------------------------------*/
	var mygallery_stonesili=new simpleGallery({
		wrapperid: "collection_13",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/plastic-stone-stonebk-su.jpg", "collection.php?id=13", "", "Stone Sili"],
			["watches/collection/plastic-stone-stonewe-su.jpg", "collection.php?id=13", "", "Stone Sili"],
			["watches/collection/plastic-stonesili-stonesili-bk.jpg", "collection.php?id=13", "", "Stone Sili"],
			["watches/collection/plastic-stonesili-stonesili-we.jpg", "collection.php?id=13", "", "Stone Sili"],
			["watches/collection/STONE-SILI-brown-silver.jpg", "collection.php?id=13", "", "Stone Sili"],
			["watches/collection/STONE-SILI-purple-silver.jpg", "collection.php?id=13", "", "Stone Sili"],
			["watches/collection/STONE-SILI-pink-silver.jpg", "collection.php?id=13", "", "Stone Sili"],
			["watches/collection/STONE-SILI-red-silver.jpg", "collection.php?id=13", "", "Stone Sili"]
		],
		autoplay: [true, 1825, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	
	
/*--------------------------------------------------------------------------------XXL------------------------------------------------------------------------------*/
	var mygallery_xxl=new simpleGallery({
		wrapperid: "collection_10",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/plastic-xxl-xxloe.jpg", "collection.php?id=10", "", "XXL"],
			["watches/collection/plastic-xxl-xxlsr.jpg", "collection.php?id=10", "", "XXL"],
			["watches/collection/plastic-xxl-xxlwe.jpg", "collection.php?id=10", "", "XXL"],
			["watches/collection/plastic-xxl-xxlbk.jpg", "collection.php?id=10", "", "XXL"]
		],
		autoplay: [true, 1925, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	
/*--------------------------------------------------------------------------------1844------------------------------------------------------------------------------*/
	var mygallery_1844=new simpleGallery({
		wrapperid: "collection_7",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/plastic-1844-1844bk.jpg", "collection.php?id=7", "", "1844"],
			["watches/collection/plastic-1844-1844we.jpg", "collection.php?id=7", "", "1844"],
			["watches/collection/plastic-1844-1844pe.jpg", "collection.php?id=7", "", "1844"],
			["watches/collection/plastic-1844-1844bn.jpg", "collection.php?id=7", "", "1844"]
		],
		autoplay: [true, 1700, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	
/*--------------------------------------------------------------------------------Ocean------------------------------------------------------------------------------*/
	var mygallery_ocean=new simpleGallery({
		wrapperid: "collection_8",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/plastic-ocean-oceanbk.jpg", "collection.php?id=8", "", "Ocean"],
			["watches/collection/plastic-ocean-oceanwe.jpg", "collection.php?id=8", "", "Ocean"],
			["watches/collection/plastic-ocean-oceanpe.jpg", "collection.php?id=8", "", "Ocean"],
			["watches/collection/plastic-ocean-oceanoe.jpg", "collection.php?id=8", "", "Ocean"]
		],
		autoplay: [true, 1875, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})

/*-----------------------------------------------------------------------------------FLOWER-----------------------------------------------------------------------------------*/
	var mygallery_flower=new simpleGallery({
		wrapperid: "collection_3",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/plastic-flower-flowerbk.jpg", "collection.php?id=3", "", "Flower"],
			["watches/collection/plastic-flower-flowerwe.jpg", "collection.php?id=3", "", "Flower"],
			["watches/collection/plastic-flower-flowerbe.jpg", "collection.php?id=3", "", "Flower"],
			["watches/collection/plastic-flower-flowergn.jpg", "collection.php?id=3", "", "Flower"],
			["watches/collection/plastic-flower-flowerbn.jpg", "collection.php?id=3", "", "Flower"],
			["watches/collection/plastic-flower-floweroe.jpg", "collection.php?id=3", "", "Flower"],
			["watches/collection/plastic-flower-flowerrd.jpg", "collection.php?id=3", "", "Flower"],
			["watches/collection/plastic-flower-flowerpk.jpg", "collection.php?id=3", "", "Flower"]
		],
		autoplay: [true, 1800, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	
		/*--------------------------------------------------------------------------------GOLD & SILVER------------------------------------------------------------------------------*/
	var mygallery_goldsilver=new simpleGallery({
		wrapperid: "collection_5",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/gs_sr_u.jpg", "collection.php?id=5", "", "Gold & Silver"],
			["watches/collection/gs_os_u.jpg", "collection.php?id=5", "", "Gold & Silver"],
			["watches/collection/gs_gd_u.jpg", "collection.php?id=5", "", "Gold & Silver"],
			["watches/collection/gs_rg_u.jpg", "collection.php?id=5", "", "Gold & Silver"]
		],
		autoplay: [true, 1850, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	
			/*--------------------------------------------------------------------------------GOLDROSE------------------------------------------------------------------------------*/
	var mygallery_goldrose=new simpleGallery({
		wrapperid: "collection_6",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/plastic-goldrose-rgoldbkbig.jpg", "collection.php?id=6", "", "Gold Rose"],
			["watches/collection/plastic-goldrose-rgoldbkuni.jpg", "collection.php?id=6", "", "Gold Rose"],
			["watches/collection/plastic-goldrose-rgoldwebig.jpg", "collection.php?id=6", "", "Gold Rose"],
			["watches/collection/plastic-goldrose-rgoldweuni.jpg", "collection.php?id=6", "", "Gold Rose"]
		],
		autoplay: [true, 1750, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
	
	
	/*--------------------------------------------------------------------------------Ice-WOLRLD------------------------------------------------------------------------------*/
	var mygallery_iceworld=new simpleGallery({
		wrapperid: "collection_15",
		dimensions: [206,206],
		imagearray: [
			["watches/collection/ice-world-ZA.jpg", "collection.php?id=15", "", "Ice-World"],
			["watches/collection/ice-world-US.jpg", "collection.php?id=15", "", "Ice-World"],
			["watches/collection/ice-world-GB.jpg", "collection.php?id=15", "", "Ice-World"],
			["watches/collection/ice-world-BR.jpg", "collection.php?id=15", "", "Ice-World"],
			["watches/collection/ice-world-DE.jpg", "collection.php?id=15", "", "Ice-World"],
			["watches/collection/ice-world-FR.jpg", "collection.php?id=15", "", "Ice-World"],
			["watches/collection/ice-world-IT.jpg", "collection.php?id=15", "", "Ice-World"],
			["watches/collection/ice-world-AR.jpg", "collection.php?id=15", "", "Ice-World"],
			["watches/collection/ice-world-CI.jpg", "collection.php?id=15", "", "Ice-World"],
			["watches/collection/ice-world-SN.jpg", "collection.php?id=15", "", "Ice-World"]
		],
		autoplay: [true, 1750, 100],
		persist: false,
		fadeduration: 300,
		oninit:function(){

		},
		onslide:function(curslide, i){

		}
	})
