// Javascript
//change randomly start header pics

$(function() {	
	var n = 4;	
	if ($('#header.home').length > 0) {
		$('#logo img:first')[0].src = '/fileadmin/content/images/header/header_start_' + (Math.floor(n * Math.random()) + 1) + '.jpg';	
	}
});
		

//add carousel functionallity to sub nav
$(function() {	
	$('.carousel .viewport').carousel({		btnPrev: '.carousel .prev',		btnNext: '.carousel .next',		speed: 200	});
});
