function blocks(div)
  {var durchblick = "none";
  var raus = 0;
  with(document.getElementById(div).style)
    {if(left=='-300px')
      {left='0px';
    }
    else
      {left='-300px';
    }
  }
  if (document.getElementById('potd').style.left == '0px' || document.getElementById('rs').style.left == '0px')
    {durchblick = 'inline';
  }
  with(document.getElementById('opacity').style)
    {display = durchblick;
  }
}

function closeblocks()
  {var potd = document.getElementById('rs');
  potd.style.left = '-300px';
  var potd = document.getElementById('potd');
  potd.style.left = '-300px';
  var potd = document.getElementById('opacity');
  potd.style.display = 'none';
  
}

