Voila ma version, la fonction vide tous les champs qui ont la class autoempty :
/* Autovide les champs */
$('.autoEmpty').each(function(){
var defaultValue = $(this).val();
$(this).focus(function(){
if($(this).val()==defaultValue){
$(this).val('');
}
});
$(this).blur(function(){
if($(this).val()==''){
$(this).val(defaultValue);
}
});
});