/*
	Common methods and variables
*/
var Engine = Browser.Engine;




/* 
	Implements section
*/
Element.implement({
	// method works with inputs default VALUE
	resetValue: function(){
		this.addEvents({
			'focus': function(){
				if( this.get('value') === this.retrieve('defaultValue'))
					this.set('value', '');
				return false;
			},
			'blur': function(){
				if( this.get('value') === '')
					this.set('value', this.retrieve('defaultValue'));
				return false;
			}
		});
		return this;
	}
});
