some jquery codes causing my site to freeze
<p>My code is suppose to make 3 different divs fade in and out one at a time but for some reason it keeps freezing my site, im not sure what the problem is or where to begin to fix it.</p>

<pre><code>    function randomString(length) {
      var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'.split('');
      var str = '';
      for (var i = 0; i &lt; length; i++) {
        str += chars[Math.floor(Math.random() * chars.length)];
      }
      return str;
    }
    var rnd = randomString(8);

    jQuery(function($) {
      $(".rnd").replaceWith(rnd);


      $(".example").hide().each(function(i,e){
        $(e).before($('&lt;a class="show-code" href="#"&gt;Show code &amp;raquo;&lt;/a&gt;').
                      click(function(ev) {
                        $(e).slideToggle();
                        $(this).hide();
                        ev.preventDefault();
                      }));
      });
    });
      jQuery(function(jQuery){
      jQuery("#userandquery").tweet({
        count: 1,
        query: "from:groovetheglobe http",
        loading_text: "searching twitter..."
      });
      jQuery("#userandquery2").tweet({
        count: 2,
        query: "from:groovetheglobe http",
        loading_text: "searching twitter..."
      });
      jQuery("#userandquery3").tweet({
        count: 3,
        query: "from:groovetheglobe http",
        loading_text: "searching twitter..."
      });
    });

function pulse_hide1(){
    jQuery("#userandquery").fadeOut(300);
    jQuery("#userandquery-bottom").fadeOut(300);
}

function pulse_hide2(){
    jQuery("#userandquery2").fadeOut(300);
    jQuery("#userandquery2-bottom").fadeOut(300);
}

function pulse_hide3(){
    jQuery("#userandquery3").fadeOut(300);
    jQuery("#userandquery3-bottom").fadeOut(300);
}

function pulse_show1(){
    jQuery("#userandquery").fadeIn(300);
    jQuery("#userandquery-bottom").fadeIn(300);
}

function pulse_show2(){
    jQuery("#userandquery2").fadeIn(300);
    jQuery("#userandquery2-bottom").fadeIn(300);
}

function pulse_show3(){
    jQuery("#userandquery3").fadeIn(300);
    jQuery("#userandquery3-bottom").fadeIn(300);
}

function call_pulse_hide(){
    setTimeout("pulse_hide1()",1000);
    setTimeout("pulse_hide2()",3000);
    setTimeout("pulse_hide3()",3000);
}

function call_pulse_show(){
    pulse_show1();
    setTimeout("pulse_show2()",3000);
    setTimeout("pulse_show3()",3000);
}

function pulse_function(){
    while(true){
        call_pulse_hide();
        call_pulse_show();
    }
}

jQuery(document).ready(function(){
/*jQuery('#fadeout').fadeOut(300);
jQuery('#fadein').delay(400).fadeIn(300);*/
pulse_function();
//alert("document done");
});
</code></pre>
