// JavaScript Document

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2288187-15']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

$(function(){

	// Accordion
	$(".news-small").accordion({ header: ".news-title", collapsible: true, active: "none", autoHeight: false });
	$('#header .menu li a')
	  .hover(function(e) {
		$(this).animate({ color: "#ffffff", top: 3 }, 200);
	  }, function(e) {
		$(this).animate({ color: "#ac9a7b", top: 0 }, 300);
	  });
	$('ul#header-slideshow').innerfade({
		speed: 1000,
		timeout: 5000,
		type: 'sequence',
		containerheight: '496px'
	});

});
