Cufon.replace('.hdp h1,#ns b,.nvh h4 strong,#f1 h3, .o1 #ss a');

$(document).ready(function () {
  $('html').addClass('j');
  
  $('a[rel]').click(function () {
    var linkTarget = $(this).attr('rel');
    
    if (linkTarget == 'external') {
      linkTarget = '_blank'
    };
    
    $(this).attr({
      'target': linkTarget
    });
  });
  
  $('.img.m3 p').animate({
    opacity: 0.4, height: 'hide'
  }, 0);
  
  $(".img.m3 li").hover(function () {
    $(this).children("p").slideDown('fast').fadeTo('fast', 1.0);
  },
  
  function () {
    $(this).children("p").animate({
      opacity: 0.4
    }).slideUp('slow');
  });
});


(function () {
  var ga = document.createElement('script');
  ga.type = 'text/javascript'; ga.async = true;
  ga.src = ('https:' == document.location.protocol? 'https://ssl': 'http://www') + '.google-analytics.com/ga.js';
  (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
})();

