
$(document).ready(function() {
  // for the input fields
  
  
  $("#comments dd input").val("");
  $("#comments dd textarea").val("");
  $("#comments dt").show();

  $("#comments input").bind('focus', function(){
    field_status = $(this).val();
    $(this).parent("dd").prev('dt').fadeOut("medium");
  })

  $("#comments input").blur(function() {
    if($(this).val() === '') {
      $(this).parent("dd").prev('dt').fadeIn("medium");
    }
  });

  // textarea
  $("#comments textarea").bind('focus', function(){
    field_status = $(this).val();
    $(this).parent("dd").prev('dt').fadeOut("medium");
  })

  $("#comments textarea").blur(function() {
    if($(this).val() === '') {
      $(this).parent("dd").prev('dt').fadeIn("medium");
    }
  });		

});


$().ready(function() {
  // validate the comment form when it is submitted

  $("#commentform").validate();
});

Cufon.replace('h1')('h2', {
  lineHeight: '1px',
  textShadow: '#fff 1px 1px ',
  color: '-linear-gradient(#991740, #6e1334'
})('h3', {
  textShadow: '#fff 1px 1px ', 
})

('h4')('h5')('h6')
('.meta', {textShadow: '#fff 1px 1px ', color: '-linear-gradient(#991740, #6e1334'})
('.pagination li a.page ', {
  textShadow: '#fff 0.8px 0.8px ',

  hover: {
    textShadow: '#000 0.8px 0.8px',
    color: '#fff'
  }
})
('.pagination li .current ', {
  textShadow: '#555 0.8px 0.8px ',
})

('.cufon', {
  textShadow: '#000 1px 1px ',
   color: '-linear-gradient(#fff, #ffe3ee'
});

