// JavaScript Document
//Written By: Edgar Soto

function removeSearchText() {
	//grab element we want to assign event handlers to
	theField = document.getElementById('search-field');
	//set handlers to hide the default text
	theField.onfocus = function(){
		if(this.value == 'UTPA Search'){
			this.value = '';
		}
	}
	//set handler to show the default text
	theField.onblur = function(){
		if(this.value == 'UTPA Search' || this.value == ''){
			this.value = 'UTPA Search';
		}
	}
}
window.onload = function(){
	setTimeout(removeSearchText,100);
}