/*
 * expand and collapse combined box score details
 */


			function showHide(elem,im) {
				if (document.getElementById(elem).style.display == 'none') {
					document.getElementById(elem).style.display = 'block';
					document.getElementById(im).src = 'http://i.usatoday.net/_common/_images/_sports/sportsdata/box-down-arrow.png';
				} else {
					document.getElementById(elem).style.display = 'none';
					document.getElementById(im).src = 'http://i.usatoday.net/_common/_images/_sports/sportsdata/box-up-arrow.png';
				}
			}
			function expandall(mlgames,algames,nlgames) {
				for(i=1;i<=mlgames;i++) {
					document.getElementById('elemc.ml'+i).style.display = 'block';
					document.getElementById('imgc.ml'+i).src = 'http://i.usatoday.net/_common/_images/_sports/sportsdata/box-down-arrow.png';
				}
				for(i=1;i<=algames;i++) {
					document.getElementById('elemc.al'+i).style.display = 'block';
					document.getElementById('imgc.al'+i).src = 'http://i.usatoday.net/_common/_images/_sports/sportsdata/box-down-arrow.png';
				}
				for(i=1;i<=nlgames;i++) {
					document.getElementById('elemc.nl'+i).style.display = 'block';
					document.getElementById('imgc.nl'+i).src = 'http://i.usatoday.net/_common/_images/_sports/sportsdata/box-down-arrow.png';
				}
			}
			function collapseall(mlgames,algames,nlgames) {
				for(i=1;i<=mlgames;i++) {
					document.getElementById('elemc.ml'+i).style.display = 'none';
					document.getElementById('imgc.ml'+i).src = 'http://i.usatoday.net/_common/_images/_sports/sportsdata/box-up-arrow.png';
				}
				for(i=1;i<=algames;i++) {
					document.getElementById('elemc.al'+i).style.display = 'none';
					document.getElementById('imgc.al'+i).src = 'http://i.usatoday.net/_common/_images/_sports/sportsdata/box-up-arrow.png';
				}
				for(i=1;i<=nlgames;i++) {
					document.getElementById('elemc.nl'+i).style.display = 'none';
					document.getElementById('imgc.nl'+i).src = 'http://i.usatoday.net/_common/_images/_sports/sportsdata/box-up-arrow.png';
				}
			}