var outnabout_default_formvals = new Class({

	//options
	options: {
		//collection: $$('input[type=text]')
	    //form: $(form)
	},
	
	//initialization
	initialize: function(options) {
		//set options
		this.setOptions(options);
		this.defaults();
	},

	//a method that does whatever you want
	defaults: function() {
		
		this.options.collection.each(function(el,index) {
			if(el.getValue() == '') el.value = el.getProperty('rel');
			el.addEvent('focus', function() { if(el.getValue() == el.getProperty('rel')) { el.value = ''; } });
			el.addEvent('blur', function() { if(el.getValue() == '') { el.value = el.getProperty('rel'); } });
		},this);
		
		this.options.form.addEvent('submit', (function() { 
			this.options.form.getElements('input[type=text]').each(function(el) {
    			if(el.getValue() == el.getProperty('rel')) el.value = '';
    		});
		}).bindWithEvent(this));
	}
	
});
outnabout_default_formvals.implement(new Options);