jQuery(document).ready(function() {
  /* When end user puts their cursor in to the search field the default 
   * suggested value disappers. However, if the value had previously
   * been modified (i.e., end user started to type something in to the 
   * field) then it is left unchanged. */
  jQuery("#search-field").focus(function() {
		var currentValue=jQuery(this).attr("value");
		if (currentValue=="Enter item or service"){
		  jQuery(this).attr("value","");
		}else{
		  jQuery(this).attr("value",currentValue);
		}
	});// end search-field focus test
	/* If the end user 'clicks out' of the search field and hasn't typed
	 * any new content then the orginal default suggested value is added
	 * back in, otherwise the new value is left alone. */
	jQuery("#search-field").blur(function() {
	  var currentValue=jQuery(this).attr("value");
		if(currentValue=="") {
			jQuery(this).val("Enter item or service");
		}
	});// end search-field blur test
    /* remove underline from images within anchors or within spans within anchors */
	if( (jQuery("a > img")) ){
		jQuery(this).addClass("noborder");
	    jQuery(this).parent().addClass("noborder");
	};
	if( (jQuery("a > span > img")) ){
		jQuery(this).addClass("noborder");
	    jQuery(this).parent().addClass("noborder");
	    jQuery(this).parent().parent().addClass("noborder");
	};
	/* /remove underline */
});// end document ready function