jQuery.fn.valueFx = function() {
	return this.each(function(){
		// Vars
		var $field = jQuery(this);
		var $value = jQuery(this).val();
		var $newVal;
		
		$field.addClass('placeholder');

		// Event handlers
		$field.focus(function(){
			if (($value == '') || ($value == $value)) {
				$field.removeClass('placeholder');
				$field.val('');
				$newVal = jQuery(this).val();
			}
		});
		$field.blur(function(){
			$newVal = jQuery(this).val();
			if ($newVal == '') {
				$field.val($value);
				$field.addClass('placeholder');
			}
		});
	});
};