/* replace macina-searchbox with tx_indexed_search */

function patch_searchbox(){
	form = document.getElementById('searchform');
	form.name = 'tx_indexedsearch';
	form.onsubmit = function(){return 1};
	field = document.getElementById('searchinput');
	field.name = 'tx_indexedsearch[sword]';
}

Event.observe(window, 'load', function()
{
	patch_searchbox();
}, false);


