	window.addEvents({
		'domready': function(){
			/* thumbnails example , div containers */
			
			var BodyID = $$("body").getProperty('id');
			var StartIndex = 0; 
			
			
			if(BodyID == "energie")	StartIndex = 5;
			else if (BodyID == "ingenieur") StartIndex = 1;
			else if (BodyID == "automobil") StartIndex = 3;
			else if (BodyID == "tecTV") StartIndex = 4;
			else if (BodyID == "luftraumfahrt") StartIndex = 2;
			else if (BodyID == "bahn") StartIndex = 6;
		
			
			new SlideItMoo({
						overallContainer: 'SlideItMoo_outer',
						elementScrolled: 'SlideItMoo_inner',
						thumbsContainer: 'SlideItMoo_items',		
						itemsVisible:1,
						elemsSlide:1,
						duration:300,
						itemsSelector: '.SlideItMoo_element',
						itemWidth: 175,
						showControls:1,
						startIndex:StartIndex
			});			
		}		
	});
/*
	function openPreviousLink(thisObj) {
		var test1 = "";
		var test = "";
		test1 = thisObj.getPrevious().getProperty('href');
		test = thisObj.getPrevious().getProperty('rel');

		thisObj.setProperty('rel', test);
		thisObj.setProperty('href', test1);

		//alert(test);
		//document.getElementById("proxyAnchor").click();

		
	};
*/
