// JavaScript Document

$(function() {
	$('input[type=text]').each(function() {
		var default_value = this.value;
		$(this).css('color', '#888'); // this could be in the style sheet instead
		$(this).focus(function() {
			if(this.value == default_value) {
				this.value = '';
				$(this).css('color', '#000');
			}
		});
		$(this).blur(function() {
			if(this.value == '') {
				$(this).css('color', '#888');
				this.value = default_value;
			}
		});
	});
});
