function toggleHidePlaces(boxIndex,listIndex) {
	var allCSSRules = new Array();

	if ( document.styleSheets[0].cssRules ) {
		allCSSRules = document.styleSheets[0].cssRules;
	} else if (document.styleSheets[0].rules ) {
		allCSSRules = document.styleSheets[0].rules;
	}

	var buttonObj = document.getElementsByClassName("location")[boxIndex];

	if ( allCSSRules[boxIndex].style.display != 'none' ) {
		allCSSRules[boxIndex].style.display = 'none';
		allCSSRules[listIndex].style.display = 'none';
		buttonObj.style.color = '#7F7F7F';
	} else {
		allCSSRules[boxIndex].style.display = '';
		allCSSRules[listIndex].style.display = '';
		buttonObj.style.color = '#CFCFFF';
	}
}
