1function toggleNavSearchFocus() 2{ 3 theElement = document.getElementById('navSearch'); 4 if (theElement.value == 'search') 5 { 6 theElement.value = ""; 7 theElement.style.color = "#000000"; 8 } 9} 10 11function toggleNavSearchBlur() 12{ 13 theElement = document.getElementById('navSearch'); 14 15 if (theElement.value == '') 16 { 17 theElement.style.color = "#808080" 18 theElement.value = "search"; 19 } 20}