/*==========================================
	Saint Joseph Health System - Sonoma County
	------------------------------------------
	Copyright © 2009 McMurry
	Design by Angie Thompson
	XHTML/CSS/JS by Brandon Kidd
==========================================*/

$(function() {
	// jQuery Functions
	$.fn.tagName=function(){return this.get(0).tagName;}
	
	$('#header .search input').val('Enter your search term here...');
	$('#header .search input').focus(function() {
		$(this).filter(function() {
			return $(this).val() == '' || $(this).val() == 'Enter your search term here...';
		}).val('').addClass('focus');
	}).blur(function() {
		$(this).filter(function() {
			return $(this).val() == '';
		}).val('Enter your search term here...').removeClass('focus');
	});
});

