$.fn.notranslate = function (str) {     
	var regex = new RegExp(str, "gi");      
	return this.each(function () {
		this.innerHTML = this.innerHTML.replace(regex, function(matched) {
			return "<span class=\"notranslate\">" + matched + "</span>";
		});     
	}); 
}; 

$(document).ready(function(){
				
	$("ul.navigation-primary li:last").css({background: 'none'});
				
	$('#q').focus(function(){
	  if($(this).val() == 'Search our Site') {
		  $(this).attr('value','');
	  }
	});
	$('#q').blur(function(){
	  if($(this).val() == '') {
		  $(this).val('Search our Site');
	  }
	});
	
	$(".feature-active").hover(
	  function () {
		$(this).addClass("feature-on");
	  },
	  function () {
		$(this).removeClass("feature-on");
	  }
	);
	
	//$("body").notranslate("NFE");
	//$("body").notranslate("NFP");
	//$("body").notranslate("NFM");
	
});
