// JavaScript Document
function DisplayLocation(loc)
{
  HideAllLocations();
  document.getElementById(loc).style.display = 'block';
  setTimeout("HideLocation('"+loc+"')", 10000);        
}

function HideLocation(loc)
{ 
  document.getElementById(loc).style.display = 'none';
}

function HideAllLocations()
{
  locations = new Array('Usti','Slany','Praha','Prelouc','Pardubice','Zlin','Budejovice');
  for(i = 0; i < locations.length; i++) HideLocation(locations[i]);
}
