/* some useful scripts used sitewide */
		/* run functions on page load */
		$(function(){

/* clear content of input fields on focus */
			$('#keySearch').focus(function() {
				if( this.value == this.defaultValue ) {
					this.value = "";
				}
			}).blur(function() {
				if( !this.value.length ) {
					this.value = this.defaultValue;
				}
			});
		
/* rounded corners for buttons */
					$('.buttons').wrap("<span class='button1'>" + 
					"</span>");
					$('.table-buttons')
					.wrap("<span class='button2'>" + 
					"</span>");
					$('.buttons-alt')
					.wrap("<span class='button2'>" + 
					"</span>");

/* End function */

/* wrapper for hidden input elements to prevent corners being added */
				$(function(){
					$("span.js-hide").hide();
				});
		});