$(document).ready(function() {
  
  // checks to see if the input has text or not
  function currentInputState() {
    return ($('#email2').val() != '');
  }
  
  // if on load, it does have text, hide the label
  if (currentInputState()) { $('#email2Label').hide(); }
  
  // on click of the label or input force IE6 to focus on the input
  $('#email2, #email2Label').click(function() {
    $('#email2').focus();
  });
  
  // on focus, if there is no text in the input, fade out
  $('#email2').focus(function() {
    $('#email2Label').fadeOut('fast');
  });
  
  // when leaving the input, fade in if theres no text
  $('#email2').blur(function() {
    currentInputState() ? '' : $('#email2Label').fadeIn('fast');
  });
  
});