/*
When the page loads, change the value of the search text input to "Search".
When the user clicks the input, clear the text and change the class.
When the user clicks elsewhere, revert.
*/

function initSearchBox() {
	if (document.getElementById) {
		document.getElementById('search-input').value = "Search";
	}
}

function clearSearchText(theBox,theText) {
	theBox.value = "";
	theBox.className = "";
}

function restoreSearchText(theBox,theText) {
	theBox.value = "Search";
	theBox.className = "default";
}