$(document).ready(function() {

	$('input:text').each(function() {
		var $this = $(this), thisValue = $this.val();
		$this.focus(function() {
			if ($this.val() == thisValue) {
				$this.val('');
			}
			}).blur(function() {
				if ($this.val() == '') {
					$this.val(thisValue);
				}
			});
	});

});