function setupBstirValues() {bstirFadeTitles[0] = "I am not a treat mooch"; bstirFadeLinks[0] = "http://journeysofcactusjack.blogspot.com/2009/11/i-am-not-treat-mooch.html"; bstirFadeSnippets[0] = "Thu, 19 No <br> The DOR has informed me that I have become a slightly bad-tempered treat mooch. Whatever! She has no idea what she is..."; bstirFadeTitles[1] = "Freedom speaks Saturday"; bstirFadeLinks[1] = "http://journeysofcactusjack.blogspot.com/2009/10/freedom-speaks-saturday_17.html"; bstirFadeSnippets[1] = "Sat, 17 Oc <br> Mushboy is adding meds as directed by the DOR to my mush to help with my cold. I am getting extra vitamin C and E alo..."; bstirFadeTitles[2] = "the dor can still bounce!"; bstirFadeLinks[2] = "http://journeysofcactusjack.blogspot.com/2008/11/dor-can-still-bounce.html"; bstirFadeSnippets[2] = "Mon, 24 No <br> the dor had me wear some antlers for the ground portion of game day. you can see from my face how thrilled i am with ..."; bstirFadeTitles[3] = "bareback troubles"; bstirFadeLinks[3] = "http://journeysofcactusjack.blogspot.com/2009/07/bareback-troubles.html"; bstirFadeSnippets[3] = "Mon, 27 Ju <br> the dor tried to get on me and i thought she wanted me to walk forward when her right leg squeezed me while she was t..."; bstirFadeTitles[4] = "how to help your dor tone up their &quot;batwings&quot;"; bstirFadeLinks[4] = "http://journeysofcactusjack.blogspot.com/2008/06/how-to-help-your-dor-tone-up-their.html"; bstirFadeSnippets[4] = "Sat, 28 Ju <br> 1) while walking your dor in the pasture make sure they hold one arm out to the side touching you neck while walking...."; }

        var bstir_FadeOut = 255;
        var bstir_FadeIn=0;
        var bstir_Fade = 0;
        var bstir_FadeStep = 3;
        var bstir_FadeWait = 10000;
        var bstir_bFadeOut = true;
        var bstir_iFadeInterval;

        var bstirFadeLinks;
        var bstirFadeTitles;
        var bstirFadeSnippets;
        var bstirFadeCursor = 0;
        var bstirFadeMax;
        var bstirTitleElement;
        var bstirSnippetElement;

        function startBstir() {
          bstirTitleElement = document.getElementById("bstir_title");
          bstirSnippetElement = document.getElementById("bstir_snippet");
          bstir_iFadeInterval = setInterval(showBstirItem, 10);
          bstirFadeLinks = new Array();
          bstirFadeTitles = new Array();
          bstirFadeSnippets = new Array();
          setupBstirValues();
          bstirFadeMax = bstirFadeLinks.length-1;
          setBstirItem();
        }

        function setBstirItem() {
          bstirTitleElement.innerHTML = bstirFadeTitles[bstirFadeCursor];
          bstirTitleElement.href = bstirFadeLinks[bstirFadeCursor];
          bstirSnippetElement.innerHTML = bstirFadeSnippets[bstirFadeCursor];
        }

        function showBstirItem() {
          if (bstir_bFadeOut) {
            bstir_Fade+=bstir_FadeStep;
            if (bstir_Fade>bstir_FadeOut) {
                  bstirNext();
            }
          } else {
            bstir_Fade-=bstir_FadeStep;
            if (bstir_Fade<bstir_FadeIn) {
              clearInterval(bstir_iFadeInterval);
              setTimeout(bstirResume, bstir_FadeWait);
              bstir_bFadeOut=true;
            }
          }
          if ((bstir_Fade<bstir_FadeOut)&&(bstir_Fade>bstir_FadeIn)){
            bstirTitleElement.style.color = "#" + bstirToHex(bstir_Fade);
            bstirSnippetElement.style.color = "#" + bstirToHex(bstir_Fade);
          }
        }

        function bstirResume() {
          bstir_iFadeInterval = setInterval(showBstirItem, 10);
        }

        function bstirNext() {
                bstirFadeCursor++;
            if (bstirFadeCursor>bstirFadeMax)
              bstirFadeCursor=0;
            setBstirItem();
                bstir_bFadeOut = false;
        }

        function bstirToHex(strValue) {
          try {
            var result= (parseInt(strValue).toString(16));

            while (result.length !=2)
                    result= ("0" +result);
            result = result + result + result;
            return result.toUpperCase();
          }
          catch(e){}
        }

        startBstir();

        