(function($) {
    $.fn.jform = function(options1) {

		var defaults1 = {
			text: 'Введите значение'
		};

		var opts = jQuery.extend(defaults1, options1);

		$(this).attr('title', opts['text']);
		$(this).attr('value', opts['text']);
		
		$(this).focus(function() {
			if($(this).val() == opts['text']) {
				$(this).css('color', '#000000').attr('value', '');
			}
		});
		
		$(this).blur(function() {
			if($(this).val() == '') {
				$(this).css('color', '#777777').attr('value', opts['text']);
			}
		});
		

	};	
})(jQuery); 

