function setupBstirValues() {bstirFadeTitles[0] = "BLOX FOREVER UNA NOVEDOSA FORMA DE JUGAR BLOQUES"; bstirFadeLinks[0] = "http://campodejuego.blogspot.com/2008/04/blox-forever-una-novedosa-forma-de.html"; bstirFadeSnippets[0] = "Thu, 24 Ap <br> Juega esta nueva versión de bloques, donde alineando dos figuras o más haces desaparecer los bloques, recuerda que ..."; bstirFadeTitles[1] = "ZONA DE JUEGOS: CAZADOR DE DRAGONES"; bstirFadeLinks[1] = "http://campodejuego.blogspot.com/2007/09/cazador-de-dragones.html"; bstirFadeSnippets[1] = "Mon, 03 Se <br> CAZADOR DE DRAGONES. Juega en esta aventura gráfica del cazador de dragones, vive la emoción medieval, afina tu pun..."; bstirFadeTitles[2] = "ZONA DE JUEGOS: SCARY MAZE ¿ALGUIEN PODRA SALIR DEL LABERINTO?"; bstirFadeLinks[2] = "http://campodejuego.blogspot.com/2007/09/scary-maze-alguien-podra-salir-del.html"; bstirFadeSnippets[2] = "Sun, 23 Se <br> Para jugar solamente tienes que seguir el camino del laberinto sin salirte a la parte oscura, si lo haces se volverá..."; }

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

        