var clm = {
	init : function(){
		new smartInput({id:'query',val:'search'});
	}
}

Event.observe(window,'load',clm.init);