timer = null;

function fadeIn(id){
if(timer) clearTimeout(timer);
$(id).fadeIn('fast');
}

function fadeOut(id){
timer = setTimeout("doFade('"+id+"')",100);
}

function doFade(id){
$(id).fadeOut('fast');
}

function clearText(thefield){
if (thefield.defaultValue==thefield.value){
	thefield.value = "";
	}
}