$(document).ready(function(){ 
    /* Alle internen Links weich scrollen */
    $('a[@href^="#"]').click(function() {
        var parts        = this.href.split('#');
        var scrolltarget = '#' + parts[1];
        $(scrolltarget).ScrollTo(800);
        return false;
    });
	/* Externe Links & PDFs in neuem Fenster */
	$('#inhalt a[@href$=.pdf]').click(function() { 
		window.open(this.href); return false; 
	});
	/* sIFR - Headlines */
	if(typeof sIFR == "function"){
		sIFR.replaceElement(named({sSelector:"body h2", sFlashSrc:"sifr/QuayItcT_bold_italic.swf", sColor:"#00744C", sWmode:"transparent", sFlashVars:"offsetTop=-3"}));
		sIFR.replaceElement(named({sSelector:"body h3.strecke", sFlashSrc:"sifr/QuayItcT_bold_italic.swf", sColor:"#004d91", sWmode:"transparent", sFlashVars:"offsetTop=0"}));
	};	
});