// Cufon replace
	Cufon.replace('#navigation-additional a', {
		hover: true
	});
	Cufon.replace('#content-column1-navigation a', {
		hover: true
	});
	Cufon.replace('#footer-navigation li a', {
		hover: true
	});
	Cufon.replace('#content-column2 h3');
	Cufon.replace('#content-column2 h4');
	Cufon.replace('#content-column3 p.highlight');
	
	// Slideshow
	function slideSwitch() {
    var jQueryactive = jQuery('#slideshow img.active');

    if ( jQueryactive.length == 0 ) jQueryactive = jQuery('#slideshow img:last');

    var jQuerynext =  jQueryactive.next().length ? jQueryactive.next()
        : jQuery('#slideshow img:first');

    jQueryactive.addClass('last-active');

    jQuerynext.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            jQueryactive.removeClass('active last-active');
        });
	}
	
	jQuery(function() {
		setInterval( "slideSwitch()", 4000 );
	});
	
	// Navigation
	navHover = function() {
	var lis = document.getElementById("navigation-additional").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
		}
	}
	if (window.attachEvent) window.attachEvent("onload", navHover);
	
	//$(document).ready(function() { 
	//	$(".teaser").fadeTransition({pauseTime: 2000, transitionTime: 2000});
	//});