Cufon.set('fontFamily', 'Futura');

Cufon.replace('#header ul li a', { fontStretch: '90%' });
//Cufon.replace('.portfolio h3');
Cufon.replace('.barra p', {	fontStretch: '90%',hover: { color: '#000'} });


  $(document).ready(function() {
							 
	Cufon.now();
							 
	$( "#outdoor div" ).draggable();
	$('#recruta').draggable();
	
	$(".grande").hover(
	  function () {
		$(this).animate({top: '-=200'}, 'fast');
	  },
	  function () {
		$(this).animate({top: '+=200'});
	});
	
	$(".pequena").hover(
	  function () {
		$(this).animate({top: '-=110'}, 'fast');
	  },
	  function () {
		$(this).animate({top: '+=110'});
	});
	
	/*$('a[href="contato"]').toggle(function() {		
		var position = $(this).offset();			
		var x = position.left;
		var w = $('html').width();
		
		if( x > (w/2) ) alinhamento = 'right';
		else alinhamento = 'left';
		
		$(this).css('position', 'relative').append('<div id="contato_popup"><h4>Contato</h4><p>contato@arteemoderna.com.br</p><p>+ 55 31 3653-6318</p><p>R. S&atilde;o Paulo, 2397 - Sl 203 | Lourdes - Belo Horizonte/MG</p></div>');
		$(this).find('div').css(alinhamento, '40px').fadeIn('slow');
		return false;
	}, function() {
		$(this).find('div').fadeOut('slow');
		return false;
	}); */
	
	$(".portfolio").hover(
	  function () {		
		$(this).animate({backgroundPosition: '-80px'}, 'fast');
		$(this).find('div').fadeIn('fast');
	  },
	  function () {
		$(this).find('div').fadeOut('fast');
		$(this).animate({backgroundPosition: '-0px'}, 'fast');
	});
	
	$('#monstrinho').hover(function() {
		$('#howl').fadeIn('fast');
	}, function() {
		$('#howl').fadeOut('fast');
	});
								
	
  });
