Cufon.replace('#nav li a, #subnav li a, .dinBold', { fontFamily: 'DIN Bold', hover: true });
Cufon.replace('h2, h3, h4, .din', { fontFamily: 'DIN Regular', hover: true });
	
	
$(document).ready(function(){
	
	$('#nav li a, #subnav li a, h2, h3, h4, .din, .dinBold').css("opacity","1");
	
	var FullscreenrOptions = {  width: 1680, height: 1200, bgID: '#bg img' };
	jQuery.fn.fullscreenr(FullscreenrOptions);
	
	$('#bg img').imgpreload(function(){ $(this).fadeIn(600); });
	
	
	
	
	if(!$.browser.msie){ $(".balloon").css('display','block').css('opacity','0'); }
	
	$('#follow a').mouseenter(function(){
		if($.browser.msie){ $(this).parent().find('.balloon').show(); }
		else{ $(this).parent().find('.balloon').stop().animate({ 'opacity':'1', 'top':'-35px' },250); }
	});
	
	$('#follow a').mouseleave(function(){
		if($.browser.msie){ $(this).parent().find('.balloon').hide(); }
		else{ $(this).parent().find('.balloon').stop().animate({ 'opacity':'0', 'top':'-30px' },250); }
	});
	
	
});


function fancyboxCufon(){ Cufon.replace('.fancybox-title-over .desc', { fontFamily: 'DIN Regular', hover: true }); }
