$(function(){
	var _clearOnFocus = function(opts){
		var obj = this;
		var defaults = {};
		defaults.triggerSelector = '.clearOnFocus';
		
		// merge options with defaults
		obj.opts = $.extend({}, defaults, opts);	
		
		$(obj.opts.triggerSelector).each(function(){
			$(this).focus(function(){ $(this).attr("value", ""); });
		});
	};
	
	$.extend({
		clearOnFocus: function(opts){
			var clearOnFocus = new _clearOnFocus(opts);
		}
	});

});
