(function($){
	$.fn.placeholder = function(params){
		
		return this.each(function(){
			var placeholder = $(this).val();
			$(this).focus(function () {
				if ($(this).val() == placeholder) $(this).val('');
			}).blur(function () {
				if ($(this).val() == '') $(this).val(placeholder);
			});
		});
	};
})(jQuery)