// mardi le 18 mai 2004
		function montrer_Data( station, win )
		{
			var k = 0;
			for ( var i = 0 ; i < Stations.length ; i++ )
			{
				if ( station == Stations[i].nomStn )
				{
					win.document.getElementById( "nomstation" ).innerHTML = station;
					win.document.getElementById( "descL1" ).innerHTML = Stations[i].descL1;
					win.document.getElementById( "descL2" ).innerHTML = Stations[i].descL2;
					k = Stations[i].ixMeteo;
					var coli = Stations[i].valColi;
					var cat = Stations[i].ixQual;
					win.document.getElementById( "temperature" ).innerHTML = Stations[i].valTheta;
					win.document.getElementById( "moyennecoliformes" ).innerHTML = coli;
					win.document.getElementById( "dateprelevement" ).innerHTML = Stations[i].datePrel;
					if (k != -99)
					{
						win.document.getElementById( "imgmeteo" ).src = Meteo[k].img.src;
						win.document.getElementById( "meteo").style.visibility = "visible";
					}
					win.document.getElementById( "boitecliquer"   ).style.visibility = "visible";
					break;
				}
			}
		}

		function cacher_Data( win )
		{
			win.document.getElementById( "nomstation"        ).innerHTML = "STATION";
			win.document.getElementById( "descL1"            ).innerHTML = "";
			win.document.getElementById( "descL2"            ).innerHTML = "";
			win.document.getElementById( "temperature"       ).innerHTML = "";
			win.document.getElementById( "moyennecoliformes" ).innerHTML = "";
			win.document.getElementById( "dateprelevement"   ).innerHTML = "";
			win.document.getElementById( "meteo"             ).style.visibility = "hidden";
			win.document.getElementById( "boitecliquer"      ).style.visibility = "hidden";
		}

		function filtrer_Qualite( programme, indice, win )
		{
			var k = 0;
			for ( var i = 0 ; i < Stations.length ; i++ )
			{
				if ( Stations[i].pgmType == programme )
				{
					if ( Stations[i].ixQual == indice )
					{
						win.document.getElementById( Stations[i].nomStn ).style.visibility = "visible";
						k++;
					}
					else
					{
						win.document.getElementById( Stations[i].nomStn ).style.visibility = "hidden";
					}
				}
			}
			if (!k)
				win.alert( "Il n'y a aucune station à afficher." );
			else if (k == 1)
				win.alert( "Il y a 1 station affichée." );
			else
				win.alert( "Il y a " + k + " stations affichées" );
		}

		function retirer_FiltreQualite( programme, win )
		{
			var k = 0;
			for ( var i = 0 ; i < Stations.length ; i++ )
			{
				if ( Stations[i].pgmType == programme )
				{
					win.document.getElementById( Stations[i].nomStn ).style.visibility = "visible";
					k++;
				}
			}
			if (!k)
				win.alert( "Il n'y a aucune station à afficher." );
			else if (k == 1)
				win.alert( "Il y a 1 station affichée." );
			else
				win.alert( "Il y a " + k + " stations affichées" );
		}

		function zoom_In( station, win )
		{
			var sURL = "tableau.asp";
			var sName = "DETAILS";
			var sFeatures = "directories=no, left=10, top=10, width=554, height=368, location=no, menubar=no, scrollbars=no, status=no, titlebar=no, toolbar=no";
			win.open( sURL, sName, sFeatures ).focus();
		}

		function gen_Dessin( lePgm, win )
		{
			var stDiv, ix1, ix2, lenom; 
			stDiv = "";
			for (ix1 = 0; ix1 < StnNb; ix1++)
			{
				if (Stations[ix1].pgmType != lePgm) continue;
				ix2 = Stations[ix1].ixQual;
				leNom = Stations[ix1].nomStn;
				stDiv += "<div class=\"pion" + Qualite[ix2].cat + "\" " 
					   + "id=\"" + leNom + "\" " 
					   + "style=\"position: absolute;  left: " 
					   + Stations[ix1].leftPx + "px; top: " 
					   + Stations[ix1].topPx + "px;\">" + "\n"
					   + "<IMG SRC=\"" + Qualite[ix2].img.src + "\" border=0"
				       + " alt=\"" + Stations[ix1].descL1 + "\"";
				stDiv += " usemap=\"#" + leNom + "\">" + "\n";
				stDiv += "</div>"+ "\n";
				stDiv += "<map name=\"" + leNom + "\">"+ "\n";
				stDiv += "<area shape=\"circle\" coords=\"" + Qualite[ix2].coords + "\" " 
					   + "onClick=\"zoomIn('" + leNom + "')\" " 
					   + "onMouseover=\"montrerData('" + leNom + "')\" " 
					   + "onMouseout=\"cacherData()\">";
				stDiv += "</map>"+ "\n";
			}
			win.document.getElementById("Dessin").innerHTML = stDiv;
		}

