tc = new Image(0,1);
tc.src ="http://www.trackingcenter.de/statistic.php?id=1523&screenwidth="+screen.width+"&screenheight="+screen.height+"&colordepth="+screen.colorDepth+"&referrer="+escape(document.referrer)+"&url="+escape(document.URL);

$(function() {

	$("#Lava").lavaLamp({
		fx: "easeInSine", 
		speed: 300
	});
	
	// Kernkompetenzen-Buttons unter Startseite
	var currTeaserIdx = 0;
	$('#TeaserContent > div').not(':first').hide();
	$('#TeaserButtons > a').each(function(idx, el){
		$el = $(el);
		$el.mouseover(function(){
			$('#TeaserContent > div:eq(' + currTeaserIdx + ')').hide();
			$('#TeaserContent > div:eq(' + idx + ')').show();
			currTeaserIdx = idx;
		});
	});
	
	 $("#controller").jFlow({  
     slides: "#slides",  
     width: "970px",  
     height: "400px",
     duration: 1300  
    });  
	 
	 $('a.fancybox').fancybox({
		'zoomSpeedIn': 300,
		'zoomSpeedOut': 300,
	    'overlayOpacity' : 0,
		'padding' : 0,
		'hideOnContentClick' : true
	});
	
	$('#prevNext .jFlowNext').show();
	
	/*FLIR.init( { path: '/fileadmin/templates/facelift/' } );
	$("h2").each( function() { FLIR.replace(this); } );
	$("div#Submenue").each( function() { FLIR.replace(this); } );*/
});




jQuery().ready(function(){
		// simple accordion
		jQuery('#list1a').accordion();
		jQuery('#list1b').accordion({
			autoheight: false
		});
		
		
	});


