$('document').ready(function() {
    $("INPUT[type=text]")
    	.focus(function(){
			if ( $(this).attr('value') == $(this).attr('title') ) {
				$(this).attr('value', '');
			}
		})
		.blur(function(){
			if (!$(this).attr('value') || $(this).attr('value') == $(this).attr('title')) {
				$(this).attr('value', $(this).attr('title'));
			}
		})
		.blur();
});
