window.addEvent('domready',function(){var sampleObjectItems =[
{id:0, title:'EFH JEKER-BLOM, BRISLACH (MINERGIE)', descr:'f&uuml;r weitere Informationen hier klicken...', link:'?sID=16'},
{id:1, title:'EFH JEKER/ MEIER, BREITENBACH (MINERGIE)', descr:'f&uuml;r weitere Informationen hier klicken...', link:'?sID=125'},
{id:2, title:'WERKHOFNEUBAU, K. KOTTMANN (MINERGIE)', descr:'f&uuml;r weitere Informationen hier klicken...', link:'?sID=207'},
{id:3, title:'Gewerbeliegenschaft, Durolaminat', descr:'f&uuml;r weitere Informationen hier klicken...', link:'?sID=208'},
{id:4, title:'UMBAU SCHILD', descr:'f&uuml;r weitere Informationen hier klicken...', link:'?sID=218'},
{id:5, title:'Erweiterung Techn. Anlagen KS Laufen', descr:'f&uuml;r weitere Informationen hier klicken...', link:'?sID=219'}];
					var infoslideshowArchitektur = $('boxslideshowArchitektur').getNext().set('opacity',0.7);
	
					var startItem = 1-1; //or   0   or any
					var thumbs_maskslideshowArchitektur = $('thumbs_maskslideshowArchitektur').setStyle('left',(startItem*(83+6)-Math.round(1.537037037037*568))+'px').set('opacity',0.8);
					var fxOptionsslideshowArchitektur = {property:'left',duration:1000, transition:Fx.Transitions.Back.easeOut, wait:false}
					var thumbsFx = new Fx.Tween(thumbs_maskslideshowArchitektur,fxOptionsslideshowArchitektur);
					var nSslideshowArchitektur = new noobSlide({
						box: $('boxslideshowArchitektur'),
						size: 550,
						autoPlay: true,
						items: sampleObjectItems,
						handles: $$('#thumbs_handlesslideshowArchitektur span'),
						fxOptions: fxOptionsslideshowArchitektur,
						onWalk: function(currentItem){
							thumbsFx.start(currentItem.id*(83+Math.round(6*1.537037037037))-Math.round(568*1.537037037037));
							
							infoslideshowArchitektur.empty();
							new Element('div').set('html','<a href="'+currentItem.link+'"><div class="h8">'+currentItem.title+'</div><div class="link">'+currentItem.descr+'</div></a>').inject(infoslideshowArchitektur);
	
							this.handles.set('opacity',0.3);
							currentHandle.set('opacity',1);
							
							
						},
						startItem: startItem
					});
					//walk to first with fx
					nSslideshowArchitektur.walk(0);
			
				});
