jQuery.fn.makeNiceInput = function(){
	
	this.each(function(){

		name = $(this).attr('name');
		value = $('label[for='+name+']').hide().text();

		$(this).val(value);
		$(this).focus(function(){
			
			if($(this).val() == $('label[for='+$(this).attr('name')+']').text()){
			
				$(this).val('');
				$(this).addClass('current');
				
			};
			
		});
		
		$(this).blur(function(){
			
			if($(this).val() == ''){
				
				$(this).val($('label[for='+$(this).attr('name')+']').text());
				$(this).removeClass('current');
				
			};
				
		});

  	});
	
};