function changeSearchCategory(category)
{	
		if(category == 'site'){
		document.Search.Filter1Value.value = "";
		document.getElementById("site").className = "white";
		document.getElementById("recipes").className = "blue";
		document.getElementById("yahoo").className = "blue";
	}else if(category == 'recipes'){
		document.Search.Filter1Value.value = "RECIPES";
		document.getElementById("site").className = "blue";
		document.getElementById("recipes").className = "white";
		document.getElementById("yahoo").className = "blue";
	}else if(category == 'yahoo'){
		document.Search.Filter1Value.value = "yahoo";
		document.getElementById("site").className = "blue";
		document.getElementById("yahoo").className = "white";
		document.getElementById("site").className = "blue";
	}
		return category;
}
function formSubmit(category)
{
	if(category == "yahoo"){
		document.Search.action="http://en.chatelaine.com/find/yahoosearch.jsp";
	}
	else if(category == "recipes"){					/*	This must remain absolute:	*/
		document.Search.action="http://food.chatelaine.com/Recipes/Search";
	}
	else if(category == "site"){
		document.Search.action="http://en.chatelaine.com/ChatelaineSearch.do";
	}
	else{
		document.Search.action="http://en.chatelaine.com/english/index.jsp";
	}
	document.Search.method="GET";
	document.Search.submit();
}



