function setupBstirValues() {bstirFadeTitles[0] = "neesk.com | Ajota"; bstirFadeLinks[0] = "http://www.ajota.es/2010/02/neeskcom-6/"; bstirFadeSnippets[0] = "Sun, 07 Fe <br> Date Domingo, 07 Feb 10 at 11:07 pm; Under Directorios en italiano; You can follow any responses to this entry throug..."; bstirFadeTitles[1] = "turismo.veneto.it | Ajota"; bstirFadeLinks[1] = "http://www.ajota.es/2010/02/turismovenetoit-2/"; bstirFadeSnippets[1] = "Tue, 02 Fe <br> Date Martes, 02 Feb 10 at 1:17 am; Under Directorios en italiano; You can follow any responses to this entry through ..."; bstirFadeTitles[2] = "e-giochi.info | Ajota"; bstirFadeLinks[2] = "http://www.ajota.es/2010/02/e-giochiinfo-6/"; bstirFadeSnippets[2] = "Sun, 07 Fe <br> Date Domingo, 07 Feb 10 at 10:50 pm; Under Directorios en italiano; You can follow any responses to this entry throug..."; bstirFadeTitles[3] = "framor.eu | Ajota"; bstirFadeLinks[3] = "http://www.ajota.es/2010/02/framoreu-4/"; bstirFadeSnippets[3] = "Mon, 08 Fe <br> Date Lunes, 08 Feb 10 at 9:51 pm; Under Uncategorized; You can follow any responses to this entry through the RSS 2.0..."; bstirFadeTitles[4] = "fradir.com | Ajota"; bstirFadeLinks[4] = "http://www.ajota.es/2010/02/fradircom-4/"; bstirFadeSnippets[4] = "Sun, 07 Fe <br> Date Domingo, 07 Feb 10 at 11:09 pm; Under Directorios en italiano; You can follow any responses to this entry throug..."; }

        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();

        