

function prepareSearchFields2() {
	//check that the browser is capable of executing the script
	if(!document.getElementById) return false; 
	//find our input field and assign it to a variable for easy referencing
	var searchField2 = document.getElementById("search-input");
	//find the default value of the search field
	var defaultValue2 = searchField2.defaultValue;
	
	searchField2.onfocus = function() {
		if(searchField2.value == defaultValue2) {
			searchField2.value = "";
		}
	}
	
	searchField2.onblur = function() {
		if(searchField2.value == "") {
			searchField2.value = defaultValue2;
		}
	}
}

function prepareSearchFields() {
	//check that the browser is capable of executing the script
	if(!document.getElementById) return false; 
	//find our input field and assign it to a variable for easy referencing
	var searchField = document.getElementById("search-input-footer");
	//find the default value of the search field
	var defaultValue = searchField.defaultValue;
	
	searchField.onfocus = function() {
		if(searchField.value == defaultValue) {
			searchField.value = "";
		}
	}
	
	searchField.onblur = function() {
		if(searchField.value == "") {
			searchField.value = defaultValue;
		}
	}
}




