$(document).ready(function(){	

	Cufon.replace('.topmenu > li > a, h2', { hover: true });
	Cufon.replace('.modul-top, .modul-top2', { hover: true, textShadow: '#1c4974 1px 1px 1px' });
	Cufon.replace('.liste3 > li > a', { hover: true, textShadow: '#fff 1px 1px 1px' });
	// Cufon.replace('.boxitem span, .bigboxitem span, .bigboxitemnews span', { fontFamily: 'fontnormal', hover: true, textShadow: '#fff 1px 1px 1px' });
	// Cufon.replace('h1', { fontFamily: 'fontnormal' });
	// Cufon.replace('.minibox span, .minibox2 span, .topmenu .sub ul li h2 a, .pdfbox span a', { fontFamily: 'fontbold' });
	
	$('.modul:last').css("margin-right","0px");
	
	$('.modul2:first > .modul-top2').css({'background-color':'#fff', 'border-right':'none', 'width':'240px'});
	
	$(".swfpopup").fancybox({
		'padding'			: 0,
		'autoScale'			: false,
		'transitionIn'		: 'none',
		'transitionOut'		: 'none'
	});
	
	$('.fb').hover(function () {
		$('.fbtop', this).animate({ top: "3px" }, 100);
		$('.fbbottom', this).animate({ bottom: "3px" }, 100);
	},
	function () {
		$('.fbtop', this).animate({ top: "5px" }, 100);
		$('.fbbottom', this).animate({ bottom: "5px" }, 100);
	});
	$('.tw').hover(function () {
		$('.twtop', this).animate({ top: "3px" }, 100);
		$('.twbottom', this).animate({ bottom: "3px" }, 100);
	},
	function () {
		$('.twtop', this).animate({ top: "5px" }, 100);
		$('.twbottom', this).animate({ bottom: "5px" }, 100);
	}); 
	
	$('.beycon-container').hover(function () {
		$('.beyconbg').animate({ top: "-454px" }, 12000);
	},
	function () {
		$(".beyconbg").stop();
		$('.beyconbg').css("top","8px");
	}); 
	
});
