/* Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
*/

var gastro_gallery=new fadeSlideShow({
	wrapperid: "gastro_fadeshow", //ID of blank DIV on page to house Slideshow
	dimensions: [260, 619], //width/height of gallery in pixels (height-1 for mobile safari bugfix!). Should reflect dimensions of largest image.
	//["path_to_image", "optional_url", "optional_linktarget", "optional_description"]
	imagearray: [
		["images/gastro_slide1.jpg","http://www.gastrosystems.at/","_top","Gastrosystems"],
		["images/gastro_slide2.jpg","http://www.gastrosystems.at/","_top","Gastrosystems"],
		["images/gastro_slide3.jpg","http://www.gastrosystems.at/","_top","Gastrosystems"] //<--no trailing comma after very last image element!
	],
	displaymode: {type:'auto', pause:4000, cycles:0, wraparound:true},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 0, //transition duration (milliseconds)
	descreveal: "none", //[ondemand,always,peekaboo,none]
	togglerid: "",
	oninit:function(curimage, index){
		//event is fired once, when slideshow instance has finished loading on the page
		//var setting=this.setting
		this.setting.fadeduration=1000;//für alle weiteren Slides einstellen
	},
	onslide:function(curimage, index){
		//fires each time the slideshow changes and displays an image
		//var imagearray=this.setting.imagearray
	}
})

var elektro_gallery=new fadeSlideShow({
	wrapperid: "elektro_fadeshow", //ID of blank DIV on page to house Slideshow
	dimensions: [260, 619], //width/height of gallery in pixels (height-1 for mobile safari bugfix!). Should reflect dimensions of largest image.
	//["path_to_image", "optional_url", "optional_linktarget", "optional_description"]
	imagearray: [
		["images/elektro_slide1.jpg","http://www.silexa.com/tender-one/index.php?id=147","_top","Elektrosystems"],
		["images/elektro_slide2.jpg","http://www.silexa.com/tender-one/index.php?id=147","_top","Elektrosystems"],
		["images/elektro_slide3.jpg","http://www.silexa.com/tender-one/index.php?id=147","_top","Elektrosystems"] //<--no trailing comma after very last image element!
	],
	displaymode: {type:'auto', pause:4000, cycles:0, wraparound:true},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 0, //transition duration (milliseconds)
	descreveal: "none", //[ondemand,always,peekaboo,none]
	togglerid: "",
	oninit:function(curimage, index){
		//event is fired once, when slideshow instance has finished loading on the page
		//var setting=this.setting
		this.setting.fadeduration=1000;//für alle weiteren Slides einstellen
	},
	onslide:function(curimage, index){
		//fires each time the slideshow changes and displays an image
		//var imagearray=this.setting.imagearray
	}
})
