$.fn.textaslabel = function() {
	return this.each(function() {
		var $this = $(this);
		if(($this.attr("type") == "text") || $this.attr("type") == "textarea")
		{
			$this.attr('label', $this.val());
			$this.focus(function()
			{
				if($(this).val() == $(this).attr('label'))
				{
					$(this).val("");
				}
			});	
			$this.blur(function()
			{
				if($(this).val() == "")
				{
					$(this).val($(this).attr('label'));
				}		
			});
		};
	});
}