

function updateStationMeteo(station)
{
  //alert(station);
	
  // pointe maxi vent
  if (station == "hardelot")
  {
    document.getElementById('cont_header_max_speed').style.visibility = "visible";
  }
  else
  {
	document.getElementById('cont_header_max_speed').style.visibility = "hidden";
  }
	  
  
  // on remet les images par defaut de tous les spots
  MM_swapImage('spot_hardelot','','/templates/fr/default/img/spots/bt_hardelot.gif',1);
  MM_swapImage('spot_wissant','','/templates/fr/default/img/spots/bt_wissant.gif',1);
  MM_swapImage('spot_manche','','/templates/fr/default/img/spots/bt_manche.gif',1);

  // on selectionne le spot choisi
  MM_swapImage('spot_' + station,'','/templates/fr/default/img/spots/bt_' + station + '_r.gif',1);
  
  // maj temperature ext
  document.getElementById('spot_temp_ext').innerHTML = document.getElementById('spot_' + station + '_temp_ext').innerHTML;
  document.getElementById('spot_temp_exti').innerHTML = document.getElementById('spot_' + station + '_temp_exti').innerHTML;
  
  // maj wind speed
  document.getElementById('spot_windspeed').innerHTML = document.getElementById('spot_' + station + '_windspeed').innerHTML;
  document.getElementById('spot_windspeedi').innerHTML = document.getElementById('spot_' + station + '_windspeedi').innerHTML;
  
  // maj wind dir
  document.getElementById('spot_winddir').innerHTML = document.getElementById('spot_' + station + '_winddir').innerHTML;
  document.getElementById('spot_winddiri').innerHTML = document.getElementById('spot_' + station + '_winddiri').innerHTML;

 
  
  
}