/* Project Name Global Javascript Functions

By  - ISITE Design


*/

//start the jQuery functions
$(document).ready(function() {


	/*clear search field on click - made into plugin so it can easily be used more than once.*/
	$.fn.inputClear = function() {
		return this.focus(function() {
			if( this.value == this.defaultValue ) {
				this.value = "";
			}
		}).blur(function() {
			if( !this.value.length ) {
				this.value = this.defaultValue;
			}
		});
	};


	/*apply to the header search input - add as needed*/
	$("#search, #ctl00_ucTerciary_SiteSearch1_txtSearchText").inputClear();


});// document ready / end jquery functions
