 $(document).ready(function(){
	//global vars
	var searchBoxes = $(".toggle-form");
	var searchBox2 = $("#emailField");
	var searchBox2Default = "e-Mail newsletter sign-up";
	
	//Effects for both searchbox
	searchBoxes.focus(function(e){$(this).addClass("active");});
	searchBoxes.blur(function(e){$(this).removeClass("active");});
	
	//Searchbox2, set focus when document is ready
	searchBox2.focus();
	
	//Searchbox2 show/hide default text if needed
	searchBox2.focus(function(){
		if($(this).attr("value") == searchBox2Default) $(this).attr("value", "");
	});
	searchBox2.blur(function(){
		if($(this).attr("value") == "") $(this).attr("value", searchBox2Default);
	});
});