Module.Search = Class.create (
{
	initialize : function ()
	{
	},
	parse : function ()
	{
		if (this.container = $('elementQuery'))
		{
			this.container.observe ('focus', this.onFocus.bind (this));
			this.container.observe ('blur', this.onBlur.bind (this));
		}
	},
	onFocus : function (event)
	{
		$('itemQuery').select ('.verbose span').shift ().setStyle ({ color : '#ffffff' });
	},
	onBlur : function (event)
	{
		$('itemQuery').select ('.verbose span').shift ().setStyle ({ color : '#a3a3a3' });
	}
});

var searchModule = new Module.Search ();
document.observe ('dom:loaded', function (event) { searchModule.parse (); });
