function hideShow(){
	var theInput = document.getElementById('search');
	var value = theInput.getAttribute('value');
	
	theInput.onfocus = clear;
	theInput.onblur = add;
	
	function clear(){
		theInput.setAttribute('value', '');
	}
	function add(){
		var value2 = theInput.getAttribute('value');
		if(value2 == '')
		{
			theInput.setAttribute('value', value);
		}
	}
}

window.onload = hideShow;