/**
 * Update the search input text box
 * @param focus
 */
function setSearchText(focus)
{
	var txtSearch = document.getElementById('txtSearch');
	var defaultValue = 'Search';
	if (focus) {
		if (txtSearch.value == defaultValue) {
			txtSearch.value = '';
		}
	} else {
		if (txtSearch.value == '') {
			txtSearch.value = defaultValue;
		}
	}
}