title: How to toggle element visibility without jQuery?
body: <p>I'm writing an auction template for eBay, hoping that eBay would allow it. Apparently they don't because jquery has things like string.replace() etc.</p>
  
  <p>The code is very basic.</p>
  
  <pre><code>$(document).ready(function(){
  
      function changeImage(){
          if($("#coin1").css("display") == "none"){  
              $("#coin1").fadeIn("slow");
          }else{  
              $("#coin1").fadeOut("slow");
          }
      };
  
      setInterval ( changeImage, 5000 );
  });
  </code></pre>
  
  <p>I basically need to rewrite it in plain Javascript...</p>