I have a short code of Javascript which toggles four different links. When clicking one of the links a new box with text appears or disappears. Everything worked fine for the past weeks until 15 minutes ago (I apparently did something wrong). 

When the page opens, all the new boxes are shown, when clicking one of the links all the boxes are closed.

I want that all the links (with new boxes) are closed when someone opens the page for the first time. 

Does anyone have an idea how to fix this?

Many thanks in advance!

```
  <script type="text/javascript">
  function showonlyone(thechosenone) {
  $('.newboxes').each(function(index) {
       if ($(this).attr("id") == thechosenone) {
            $(this).toggle(200);
       }
       else {
            $(this).hide(600);
       }
  });
  }

```