function MBsearch(mb_search_form)
{
	var search_types= document.getElementsByName('search_type');
	var base_action= document.getElementById('searchBoxSelection').action;
	var val= '';
	if(search_types[0].type == 'radio')
	{
		for(var i=0; i<search_types.length; i++)
		{
			if(search_types[i].checked)
			{
				val= search_types[i].value;
			}
		}
		if(val == 'all')
		{
			mb_search_form.action=base_action;
		}
	}
	return true;
}
