currentShownDiv = '';
function show(id)
   {
      currentShownObj = document.getElementById(currentShownDiv);
      if (currentShownObj != null)
      currentShownObj.style.display = 'none';
      if (id == currentShownDiv)
         {
            currentShownDiv = '';
            return;
         }
      currentShownDiv = id;
      objToShow = document.getElementById(id);
      if (objToShow.style.display == 'none')
         {
            objToShow.style.display = 'block';
         }
      else
         {
            objToShow.style.display = 'none';
         }
   }
function klapp(x)
   {
      if(document.getElementById(x).style['display'] == 'block')
         document.getElementById(x).style['display'] = 'none';
      else
         document.getElementById(x).style['display'] = 'block';
   }
function show_layer(x)
   {
         document.getElementById(x).style['display'] = 'block';
   }
function hide_layer(x)
   {
         document.getElementById(x).style['display'] = 'none';
   }

