showHide, показать и скрыть элемент с текстом

by आर्थर

HTML

<div><a href="javascript:;" onclick="hideshow()"><span style="font-size: 75%; font-weight: 100;">Copyright 2015</span> </a>
<div id="how_to_use" class="hide">
 Arthur Nechipuruk
</div></div>	

<script><!--showHide, показать и скрыть элемент с текстом  -->
function hideshow() {

  if (document.getElementById('how_to_use').className=='hide')
      document.getElementById('how_to_use').className='show'
  else
        document.getElementById('how_to_use').className='hide';
}

    function init() {
        document.getElementById('how_to_use').className='hide';
}
</script><!--showHide -->

CSS

.hide{display:none}.show{display:block}