var STR_MAP_INFO_CLASS="mapInfo";

var N_MAPINFO_NUM_TESTS=3;
var N_MAPINFO_NUM_INFO=2;

var N_MAPINFO_ARR_TEST_NAME=0;
var N_MAPINFO_ARR_HTML=1;

var arrMapInfo = new Array(N_MAPINFO_NUM_TESTS);

arrMapInfo[0] = new Array(N_MAPINFO_NUM_INFO);
var N_MAPINFO_ARR_M204BT=0;
arrMapInfo[0][N_MAPINFO_ARR_TEST_NAME] = "sb204";
arrMapInfo[0][N_MAPINFO_ARR_HTML] = "30% of the stream segments, those with less "+
					"than 1 CFS median flow as indicated<BR>" +
					"in red in the map above, would be removed " +
					"from the Kansas Surface Water<BR>" +
					"Register and no longer be subject to water " +
					"quality regulation unless other<BR>" +
					"criteria existed for them to be retained.";

arrMapInfo[1] = new Array(N_MAPINFO_NUM_INFO);
var N_MAPINFO_ARR_FDUR=1;
arrMapInfo[1][N_MAPINFO_ARR_TEST_NAME]	= "flowdur";
arrMapInfo[1][N_MAPINFO_ARR_HTML]	= "";

arrMapInfo[2] = new Array(N_MAPINFO_NUM_INFO);
var N_MAPINFO_ARR_FFREQ=2;
arrMapInfo[2][N_MAPINFO_ARR_TEST_NAME]	= "ffreq";
arrMapInfo[2][N_MAPINFO_ARR_HTML]	= "";



/*********************************************************************
 * @Function	getMapInfo
 * @Script	mapinfo.js
 * @author 	Kris Kline
 *
 * This method puts the map information for the specified test onto
 * the page
 * 
 * @param nTest		Which test to use from the mapinfo array
 ********************************************************************/
function getMapInfo(nTest)
{
	document.writeln("<FONT CLASS=" + STR_MAP_INFO_CLASS + ">");
	
	document.writeln("<P>");
	
	document.writeln(arrMapInfo[nTest][N_MAPINFO_ARR_HTML]);

	document.writeln("<P>");
	
	document.writeln("</FONT>");
	
} // getMapInfo


/*********************************************************************
 * @Function	putMapInfo
 * @Script	mapinfo.js
 * @author 	Kris Kline
 *
 * This method puts the map information onto the page
 *
 * @param strTest	The current test being done
 ********************************************************************/
function putMapInfo(strTest)
{
	var nTestNum=0;
	
	switch(strTest)
	{
		case arrMapInfo[N_MAPINFO_ARR_M204BT][N_MAPINFO_ARR_TEST_NAME]:
			nTestNum=N_MAPINFO_ARR_M204BT;
			break;

		case arrMapInfo[N_MAPINFO_ARR_FDUR][N_MAPINFO_ARR_TEST_NAME]:
			nTestNum=N_MAPINFO_ARR_FDUR;
			break;

		case arrMapInfo[N_MAPINFO_ARR_FFREQ][N_MAPINFO_ARR_TEST_NAME]:
			nTestNum=N_MAPINFO_ARR_FFREQ;
			break;

	} // switch(strTest)
	
	getMapInfo(nTestNum);

} // putMapInfo