var popularDivs = new Array(2);
popularDivs[0] = "favoriteArticles";
popularDivs[1] = "favoriteSearches";

function activatePopular(divId) {
	for (i=0; i < popularDivs.length; i++) {
		if (popularDivs[i] == divId) {
			document.getElementById(popularDivs[i]).style.display='block';
		} else {
			document.getElementById(popularDivs[i]).style.display='none';
		}
	}
}
