/*
 * Script compatibility
 */
var $j = jQuery.noConflict();

/*
 * This function adds "Search..." shadowtext to the search fields.
 */
$j('document').ready(function() {
	var elems = $j('input[name="s"]');
	if (elems) {
		elems.each(function() {
			if ($j(this).val() == '') {
				$j(this).val('Search...');
			}
			$j(this).focus(function() {
				if ($j(this).val() == 'Search...') {
					$j(this).val('');
				}
			});
			$j(this).blur(function() {
				if ($j(this).val() == '') {
					$j(this).val('Search...');
				}
			});
		});
	}
});
