$(document).ready(function() {
// initialization code goes here
	$('.default-value').each(function() {
		var default_value = this.value;
		$(this).css('color', '#666'); // this could be in the style sheet instead
		$(this).css('font-style', 'italic');
		$(this).focus(function() {
			if(this.value == default_value) {
				this.value = '';
				$(this).css('color', 'black');
				$(this).css('font-style', 'normal');
			}
		});
		$(this).blur(function() {
			if(this.value == '') {
				$(this).css('color', '#666');
				$(this).css('font-style', 'italic');
				this.value = default_value;
			}
		});
	});
});