window.addEvent('domready', function() {
	$$('input.defs').each(function(input) {
        input.addEvent('click', function() {
                        this.setAttribute('rel',this.value);
                        this.value = '';
        })
		input.addEvent('blur', function() {
			if(this.value=='') {
				this.value = this.getAttribute('rel');	
			}	
		})
	});	
});
