$(document).ready(function() {
	
	$.listen("mouseover","a.shadowbox",function() {
		var current = $(this).attr("id");
		$("a.shadowbox").stop();
		$("a.shadowbox").each(function() {
			if(current!= $(this).attr("id")) {
				$(this).fadeTo("slow",0.3);
			} else {
				$(this).stop().fadeTo("slow",1);
			}
		});
	});
	
	$.listen("mouseout","a.shadowbox",function() {
		$("a.shadowbox").stop().fadeTo("slow",1);
	});

});

sIFR.replace(anke, {
	selector: '.ardoise h1',
	css: [
		'.sIFR-root { font-size: 20px; color: #aec900; text-align: center; }',
		'strong { font-style: bold; }',
		'em { font-style: italic; }'
		],
	wmode: 'transparent'
});

sIFR.replace(kabel, {
	selector: '.ardoise h2',
	css: [
		'.sIFR-root { font-size: 14px; color: #ff9300; text-align: center; }',
		'strong { font-style: bold; }',
		'em { font-style: italic; }'
		],
	wmode: 'transparent'
});

sIFR.replace(anke, {
	selector: '.ardoise h3',
	css: [
		'.sIFR-root { font-size: 16px; color: #ffffff; text-align: center; }',
		'strong { font-style: bold; }',
		'em { font-style: italic; }'
		],
	wmode: 'transparent'
});