$.fn.defaultText = function()
{
	var items = this;
	
	items
		.focus(function() {
			if ($(this).val() == $(this).attr('title')) {
				$(this)
					.removeClass('defaultTextActive')
					.val('');
			}
		})
		.blur(function() {
			if ($(this).val() == '') {           
				$(this)
					.addClass('defaultTextActive')
					.val($(this).attr('title'));

			}
		})
		.blur();
	
	this.parents('form').submit(function() {
		items.focus();
	});
};
