Cufon.replace('#header li, .home .column a, .home .column h3, #content h1, .module h3, .desc h3', {
  fontFamily: 'Futura Bold',
  hover: true,
  hoverables: { a: true }
});

Cufon.replace('.column h2, #featured_work h1, .module h2, #owners h2, .desc h2', {
  fontFamily: 'Futura Book'
});

$(document).ready(function() {
  $('#carousel').jcarousel();
  $('.w_carousel').jcarousel({scroll:1});
  
  $('#header li a').hover(function () {
    dots($(this));
  }, function () {
    $('img.dots').fadeOut("slow");
  });
  
  $('li a.active')
  function dots(klass) {
    var margin_left = (klass.width()/2)-12;
    $("<img />").attr("src", "./images/tmp/dots.gif").attr('class', 'dots').attr('style', "margin-left: "+margin_left+"px").prependTo(klass.parent());
  }
});
