//toggle the Search button on/off when the keyword textfield is focused and blurred
function toggleSearch(button_id, state){
	var obj_style = document.getElementById(button_id).style;

	//make blue
	if (state=='on') {
		obj_style.backgroundColor = '#328cb6';
		obj_style.color = '#ffffff';

		obj_style.borderLeft = '1px solid #bce0f1';
		obj_style.borderTop = '1px solid #bce0f1';
		obj_style.borderRight = '1px solid #287295';
		obj_style.borderBottom = '1px solid #287295';
	}
	//make gray
	else {
		obj_style.backgroundColor = '#dddddd';
		obj_style.color = '#aaaaaa';

		obj_style.borderLeft = '1px solid #f7f7f7';
		obj_style.borderTop = '1px solid #f7f7f7';
		obj_style.borderRight = '1px solid #c7c7c7';
		obj_style.borderBottom = '1px solid #c7c7c7';
	}
}


