
if (document.images) {






}
	function chgImg(imgField,newImg) {
	if (document.images) {
	document[imgField].src= eval(newImg + ".src")
	}
}




window.onload = prepareSearchFields;

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("searchCriteria");
	//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;
		}
	}
}

