var searchPlay = {
	s : Object,
	init : function() {
	    for (var i = 0; i < arguments.length; i++) {
	        this.s[this.s.length]=$(arguments[i]);
		    addEvent(this.s[this.s.length],'focus',this.focus,false);
		    addEvent(this.s[this.s.length],'blur',this.blur,false);
		}
	},
	focus : function() {
		if ( this.value == this.defaultValue ) {
		    this.value = '';
		}
	},
	blur : function() {
		if ( this.value == '' ) {
			this.value = this.defaultValue;
		}
	}
};

/*addEvent(window,'load',function() { 
	searchPlay.init('term'); 
	if($('username')) {
		searchPlay.init('username','password'); 
	}
});*/
