
$(document).ready(function() {

 $('form.placeholder input[type=text]').focus(function(){ 
    if($(this).val() == $(this).attr('defaultValue'))
    {
      $(this).val('');
    }
  });
  
  $('form.placeholder input[type=text]').blur(function(){
    if($(this).val() == '')
    {
      $(this).val($(this).attr('defaultValue'));
    } 
  });
	
	$('form.placeholder').submit(function() {

		$(this).children().each(function(i) {
				if ($(this).val() == $(this).attr('defaultValue'))
				{
					$(this).val('');
				}
		});

	});	
	
	$('#notes').focus(function(){
		if ($('#notes').val() == $(this).attr('defaultValue'))
		
		{
			$('#notes').val('');
		}
	
	});
	
	$('#notes').blur(function(){
    if($(this).val() == '')
    {
      $(this).val($(this).attr('defaultValue'));
    } 
  });
	

});
