/**
 * @author patrick
 */
jQuery.fn.bogusValue = function(options) {

	var config = {
			'default_value': 'vul een waarde in'
		,	'request_value': null
	};
	
	if (options) 
		$.extend(config, options);
	
	return this.each(function(){
		$(this)
			.val(config.request_value.length == 0? 
						config.default_value: 
						config.request_value)
			.click(function(){ 
				$(this)
					.val('')
					.focus(); 
			})
			.blur(function(){ 
				if($(this).val() == '')
				{			
					$(this).val(config.default_value);
				}
			});			
	});
};
