    var current = 'text1'

    function show(id) {

      document.getElementById(current).style.visibility = 'hidden';

      document.getElementById(id).style.visibility = 'visible';

      current = id;

    }

