$( function()
{
	$( 'input.titled' ).each( function() {
			if ( $( this ).val() === '' )
			{
				$( this ).val( $( this ).attr( 'title' ) );
			}
			$( this ).bind( 'focusin', function() {
				if ( $( this ).val() === $( this ).attr( 'title' ) )
				{
					$( this ).val( '' );
				}
			} );
			$( this ).bind( 'focusout', function() {
				if ( $( this ).val() === '' )
				{
					$( this ).val( $( this ).attr( 'title' ) );
				}
			} );
	} );
} );
