this.init = function() {

	$(document).ready(function(){
		$(document).pngFix( );
	});
	//setTimeout('move_up()', 1);
	var category = 2;
	/* +++++++++++++++++  */
	$("div#slider-ub-2-do").click(function () {
		if(category !=2) {
			$("#slider-ub-2").animate( { marginLeft: 0 }, 600, 'easeInOutCubic');
			$("#slider-ub-3").animate( { marginLeft: 40 }, 600, 'easeInOutCubic');
			$("#slider-ub-4").animate( { marginLeft: 80 }, 600, 'easeInOutCubic');
			$("#slider-ub-5").animate( { marginLeft: 120 }, 600, 'easeInOutCubic');
		}
		category = 2;
		$("#content-text2").fadeIn(2);
		$("#content-2").fadeOut(2);
		$("#content-text1").fadeOut(2);
		$("#content-text3").fadeOut(2);
		$("#content-text4").fadeOut(2);
		$("#content-text5").fadeOut(2);
		$("#content-text6").fadeOut(2);
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 450 }, 450, 'easeInOutCubic');
	});
	/* +++++++++++++++++  */
	$("div#slider-ub-3-do").click(function () {
		if(category !=3) {
			$("#slider-ub-2").animate( { marginLeft: -680 }, 600, 'easeInOutCubic');
			$("#slider-ub-3").animate( { marginLeft: 40 }, 600, 'easeInOutCubic');
			$("#slider-ub-4").animate( { marginLeft: 80 }, 600, 'easeInOutCubic');
			$("#slider-ub-5").animate( { marginLeft: 120 }, 600, 'easeInOutCubic');
		}
		category = 3;
		$("#content-text3").fadeIn(2);
		$("#content-2").fadeOut(2);
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text4").fadeOut(2);
		$("#content-text5").fadeOut(2);
		$("#content-text6").fadeOut(2);
		
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 380 }, 450, 'easeInOutCubic');
	});
	/* Textlink */
	$("a#kw-3").click(function () {
		if(category !=3) {
			$("#slider-ub-2").animate( { marginLeft: -680 }, 600, 'easeInOutCubic');
			$("#slider-ub-3").animate( { marginLeft: 40 }, 600, 'easeInOutCubic');
			$("#slider-ub-4").animate( { marginLeft: 80 }, 600, 'easeInOutCubic');
			$("#slider-ub-5").animate( { marginLeft: 120 }, 600, 'easeInOutCubic');
		}
		category = 3;
		$("#content-text3").fadeIn(2);
		$("#content-2").fadeOut(2);
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text4").fadeOut(2);
		$("#content-text5").fadeOut(2);
		$("#content-text6").fadeOut(2);
		
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 380 }, 450, 'easeInOutCubic');
	});
	/* +++++++++++++++++  */
	/* +++++++++++++++++  */
	$("div#slider-ub-4-do").click(function () {
		if(category !=4) {
			$("#slider-ub-2").animate( { marginLeft: -680 }, 450, 'easeInOutCubic');
			$("#slider-ub-3").animate( { marginLeft: -640 }, 600, 'easeInOutCubic');
			$("#slider-ub-4").animate( { marginLeft: 80 }, 600, 'easeInOutCubic');
			$("#slider-ub-5").animate( { marginLeft: 120 }, 600, 'easeInOutCubic');
		}
		category = 4;
		$("#content-text4").fadeIn(2);
		$("#content-2").fadeIn("slow");
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text3").fadeOut(2);
		$("#content-text5").fadeOut(2);
		$("#content-text6").fadeOut(2);
		
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 380 }, 450, 'easeInOutCubic');
	});
	/* +++++++++++++++++  */
	/* gleiche Funktion - Textlink */
	$("a#kw-4").click(function () {
		if(category !=4) {
			$("#slider-ub-2").animate( { marginLeft: -680 }, 450, 'easeInOutCubic');
			$("#slider-ub-3").animate( { marginLeft: -640 }, 450, 'easeInOutCubic');
			$("#slider-ub-4").animate( { marginLeft: 80 }, 600, 'easeInOutCubic');
			$("#slider-ub-5").animate( { marginLeft: 120 }, 600, 'easeInOutCubic');
		}
		category = 4;
		$("#content-text4").fadeIn(2);
		$("#content-2").fadeIn("slow");
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text3").fadeOut(2);
		$("#content-text5").fadeOut(2);
		$("#content-text6").fadeOut(2);
		
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 380 }, 450, 'easeInOutCubic');
	});
	/* +++++++++++++++++  */
	
	$("div#slider-ub-5-do").click(function () {
		if(category !=5) {
			$("#slider-ub-2").animate( { marginLeft: -680 }, 450, 'easeInOutCubic');
			$("#slider-ub-3").animate( { marginLeft: -640 }, 450, 'easeInOutCubic');
			$("#slider-ub-4").animate( { marginLeft: -600 }, 600, 'easeInOutCubic')
			$("#slider-ub-5").animate( { marginLeft: 120 }, 600, 'easeInOutCubic');
		}
		category = 5;
		$("#content-text5").fadeIn(2);
		$("#content-2").fadeOut(2);
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text3").fadeOut(2);
		$("#content-text4").fadeOut(2);
		$("#content-text6").fadeOut(2);
		
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 380 }, 450, 'easeInOutCubic');
	});
	
	/* Textlink  */
	$("a#kw-5").click(function () {
		if(category !=5) {
			$("#slider-ub-2").animate( { marginLeft: -680 }, 450, 'easeInOutCubic');
			$("#slider-ub-3").animate( { marginLeft: -640 }, 450, 'easeInOutCubic');
			$("#slider-ub-4").animate( { marginLeft: -600 }, 600, 'easeInOutCubic')
			$("#slider-ub-5").animate( { marginLeft: 120 }, 600, 'easeInOutCubic');
		}
		category = 5;
		$("#content-text5").fadeIn(2);
		$("#content-2").fadeOut(2);
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text3").fadeOut(2);
		$("#content-text4").fadeOut(2);
		$("#content-text6").fadeOut(2);
		
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 380 }, 450, 'easeInOutCubic');
	});
	/* +++++++++++++++++  */
	$("div#slider-ub-6-do").click(function () {
		if(category !=6) {
			$("#slider-ub-2").animate( { marginLeft: -680 }, 450, 'easeInOutCubic');
			$("#slider-ub-3").animate( { marginLeft: -640 }, 450, 'easeInOutCubic');
			$("#slider-ub-4").animate( { marginLeft: -600 }, 450, 'easeInOutCubic');
			$("#slider-ub-5").animate( { marginLeft: -560 }, 600, 'easeInOutCubic');
		}
		category = 6;
		$("#content-text6").fadeIn(2);
		$("#content-2").fadeOut(2);
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text3").fadeOut(2);
		$("#content-text4").fadeOut(2);
		$("#content-text5").fadeOut(2);
		
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 380 }, 450, 'easeInOutCubic');
	});
	/* Textlink  */
	$("a#kw-6").click(function () {
		if(category !=6) {
			$("#slider-ub-2").animate( { marginLeft: -680 }, 450, 'easeInOutCubic');
			$("#slider-ub-3").animate( { marginLeft: -640 }, 450, 'easeInOutCubic');
			$("#slider-ub-4").animate( { marginLeft: -600 }, 450, 'easeInOutCubic');
			$("#slider-ub-5").animate( { marginLeft: -560 }, 600, 'easeInOutCubic');
		}
		category = 6;
		$("#content-text6").fadeIn(2);
		$("#content-2").fadeOut(2);
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text3").fadeOut(2);
		$("#content-text4").fadeOut(2);
		$("#content-text5").fadeOut(2);
		
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 380 }, 450, 'easeInOutCubic');
	});


/* weiter-buttons */
	
	$("div#slider-ub-2-next").click(function () { 
		category = 3;
		$("#slider-ub-2").animate( { marginLeft: -680 }, 600, 'easeInOutCubic');
		$("#content-2").fadeOut(2);
		$("#content-text3").fadeIn(2);
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text4").fadeOut(2);
		$("#content-text5").fadeOut(2);
		$("#content-text6").fadeOut(2);
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 380 }, 450, 'easeInOutCubic');
	});
	$("div#slider-ub-3-next").click(function () { 
		category = 4;
		$("#slider-ub-3").animate( { marginLeft: -640 }, 600, 'easeInOutCubic');
		$("#content-2").fadeIn("fast");
		$("#content-text4").fadeIn(2);
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text3").fadeOut(2);
		$("#content-text5").fadeOut(2);
		$("#content-text6").fadeOut(2);
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 380 }, 450, 'easeInOutCubic');
	});
	$("div#slider-ub-4-next").click(function () { 
		category = 5;
		$("#slider-ub-4").animate( { marginLeft: -600 }, 600, 'easeInOutCubic');
		$("#content-2").fadeOut(2);
		$("#content-text5").fadeIn(2);
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text3").fadeOut(2);
		$("#content-text4").fadeOut(2);
		$("#content-text6").fadeOut(2);
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 430 }, 450, 'easeInOutCubic');
	});
	$("div#slider-ub-5-next").click(function () { 
		category = 6;
		$("#slider-ub-5").animate( { marginLeft: -560 }, 600, 'easeInOutCubic');
		$("#content-2").fadeOut(2);
		$("#content-text6").fadeIn(2);
		$("#content-text1").fadeOut(2);
		$("#content-text2").fadeOut(2);
		$("#content-text3").fadeOut(2);
		$("#content-text4").fadeOut(2);
		$("#content-text5").fadeOut(2);
		$("#content-text1").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text2").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text3").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text4").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text5").animate( { marginLeft: 450 }, 1, 'easeInOutCubic');
		$("#content-text6").animate( { marginLeft: 0 }, 450, 'easeInOutCubic');
		$("#content-box-4").animate( { height: 430 }, 450, 'easeInOutCubic');
	});

};


$(document).ready(function(){	
	init();
});





