function hideShow(){
	var theInput = document.getElementById('search-input');
	var value = theInput.getAttribute('value');
	
	theInput.onfocus = clear;
	theInput.onblur = add;

	
	function clear(){
		theInput.setAttribute('value', '');
		theInput.className = '';
	}
	function add(){
		var live_value = theInput.value;
		if(live_value == '') {
			theInput.value = value;
			theInput.className = 'prompt';
		} else {
			
		}
	}
}

window.onload = hideShow;
