$(document).ready(function(){

		//Search Box: Clears Value and adds class to change text color
		$('#search-box')

		.focus(function () {
				// When the search field has focus clear the value
				if($(this).val() == "Search UM-Flint") {
					$(this).val("");
					$(this).addClass("selected");
				}
			})
			.blur(function(){
				// If the valus is empty on blur populate it with "Type Keywords"
				if($(this).val() == "") {
					$(this).val("Search UM-Flint");
					// Remove the active class
					$(this).removeClass("selected");
				}
			})

	        .keyup(function() {
				// If search has been keyed up hold the keyed value
	            $('#search-box').val($(this).val());
	        });
	        
	        
	        
		//Search Box: Clears Value and adds class to change text color
		$('#news-search-box')

		.focus(function () {
				// When the search field has focus clear the value
				if($(this).val() == "Search News") {
					$(this).val("");
					$(this).addClass("selected");
				}
			})
			.blur(function(){
				// If the valus is empty on blur populate it with "Type Keywords"
				if($(this).val() == "") {
					$(this).val("Search News");
					// Remove the active class
					$(this).removeClass("selected");
				}
			})

	        .keyup(function() {
				// If search has been keyed up hold the keyed value
	            $('#news-search-box').val($(this).val());
	        });
});


