title: Trouble with Timeout function and jquery
body: <p>Hello I get the following Javascript error when calling goon() within a jquery function. I thought it is defined...but obviously not...?! Why not?: </p>
  
  <blockquote>
    <p><strong>goon is not defined var timeout= setTimeout('goon()', 3000)</strong>;</p>
  </blockquote>
  
  <pre><code>    $('.rs-slideshow').stop().fadeOut('fast',function(){
          $('html,body').stop().animate({
              scrollLeft:$offset
          }, 1000, function(){
                  function goon(){
                      $('.rs-slideshow').fadeIn('fast');
                      $('#slideshow').clearQueue().rsfSlideshow('startShow');
                  }
                  var timeout= setTimeout('goon()', 3000);
  
          });
      }); 
  </code></pre>