var STR_MAP_COMMENTS_CLASS="mapComments";

var N_MAPCOMMENTS_NUM_TESTS=3;
var N_MAPCOMMENTS_NUM_INFO=3;
var N_MAPCOMMENTS_ARR_TEST_NAME=0;
var N_MAPCOMMENTS_ARR_HTML=1;
var N_MAPCOMMENTS_ARR_HTML_STATE=2;

var arrMapComments = new Array(N_MAPCOMMENTS_NUM_TESTS);

arrMapComments[0] = new Array(N_MAPCOMMENTS_NUM_INFO);
var N_MAPCOMMENTS_ARR_M204BT=0;
arrMapComments[0][N_MAPCOMMENTS_ARR_TEST_NAME]	= "sb204";
arrMapComments[0][N_MAPCOMMENTS_ARR_HTML] = "Move your cursor over the appropriate stream to access stream statistics. <BR> Click to open data in printable window.";
arrMapComments[0][N_MAPCOMMENTS_ARR_HTML_STATE]	= "Move your cursor over the map and click on the<BR> appropiate county to access county level stream statistics.";

arrMapComments[1] = new Array(N_MAPCOMMENTS_NUM_INFO);
var N_MAPCOMMENTS_ARR_FDUR=1;
arrMapComments[1][N_MAPCOMMENTS_ARR_TEST_NAME] = "flowdur";
arrMapComments[1][N_MAPCOMMENTS_ARR_HTML] = "Move your cursor over the appropriate stream to access stream statistics. <BR> Click to open data in printable window.";
arrMapComments[1][N_MAPCOMMENTS_ARR_HTML_STATE]	= "Move your cursor over the map and click on the<BR>appropiate county to access county level stream statistics.";

arrMapComments[2] = new Array(N_MAPCOMMENTS_NUM_INFO);
var N_MAPCOMMENTS_ARR_FFREQ=2;
arrMapComments[2][N_MAPCOMMENTS_ARR_TEST_NAME]	= "ffreq";
arrMapComments[2][N_MAPCOMMENTS_ARR_HTML] = "Move your cursor over the appropriate stream to access stream statistics. <BR> Click to open data in printable window.";
arrMapComments[2][N_MAPCOMMENTS_ARR_HTML_STATE]	= "Move your cursor over the map and click on the<BR>appropiate county to access county level stream statistics.";

function putMapCommentState(nTest)
{
	document.writeln(arrMapComments[nTest][N_MAPCOMMENTS_ARR_HTML_STATE]);
	
} // putMapCommentState

function putMapComment(nTest)
{
	document.writeln(arrMapComments[nTest][N_MAPCOMMENTS_ARR_HTML]);

} // putMapComment

function putMapComments(bState,strTest)
{
	var nTestNum=0;
	
	switch(strTest)
	{
		case arrMapInfo[N_MAPCOMMENTS_ARR_M204BT][N_MAPCOMMENTS_ARR_TEST_NAME]:
			nTestNum=N_MAPCOMMENTS_ARR_M204BT;
			break;
		case arrMapInfo[N_MAPCOMMENTS_ARR_FDUR][N_MAPCOMMENTS_ARR_TEST_NAME]:
			nTestNum=N_MAPCOMMENTS_ARR_FDUR;
			break;
		case arrMapInfo[N_MAPCOMMENTS_ARR_FFREQ][N_MAPCOMMENTS_ARR_TEST_NAME]:
			nTestNum=N_MAPCOMMENTS_ARR_FFREQ;
			break;
	} // switch(strTest)
	document.writeln("<FONT CLASS=" + STR_MAP_COMMENTS_CLASS + ">");

	if(bState)
	{
		putMapCommentState(nTestNum);
	}
	else
	{
		putMapComment(nTestNum);
	}

	document.writeln("</FONT>");

	document.writeln("<BR>");
	
} // putMapComments

