function setupBstirValues() {bstirFadeTitles[0] = "Winter leaf impression"; bstirFadeLinks[0] = "http://louisemaine.blogspot.com/2009/01/winter-leaf-impression.html"; bstirFadeSnippets[0] = "Tue, 06 Jan 2009 <br> SSPX0008.jpg, originally uploaded by  hurricanemaine. Hats off to my son, Ryan who saw this great shot on a walk with..."; bstirFadeTitles[1] = "Blast of winter - Day 8 photo"; bstirFadeLinks[1] = "http://louisemaine.blogspot.com/2009/01/blast-of-winter-day-8-photo.html"; bstirFadeSnippets[1] = "Thu, 08 Jan 2009 <br> Blast of winter, originally uploaded by  hurricanemaine. After Christmas with no snow, finally some white on the land..."; bstirFadeTitles[2] = "As fresh as it gets! Day 7 photo"; bstirFadeLinks[2] = "http://louisemaine.blogspot.com/2009/01/as-fresh-as-it-gets-day-7-photo.html"; bstirFadeSnippets[2] = "Thu, 08 Jan 2009 <br> As fresh as it gets!, originally uploaded by  hurricanemaine. These are eggs from chickens on our small farm. Unless ..."; bstirFadeTitles[3] = "Taking the Rock band guitar up a notch"; bstirFadeLinks[3] = "http://louisemaine.blogspot.com/2008/07/taking-rock-band-guitar-up-notch.html"; bstirFadeSnippets[3] = "Fri, 25 Jul 2008 <br> As a Pazzles design team member, I get to play with interesting materials as well as designing new cutting files. Our..."; bstirFadeTitles[4] = "First attempt at a header"; bstirFadeLinks[4] = "http://louisemaine.blogspot.com/2008/01/first-attempt-at-header.html"; bstirFadeSnippets[4] = "Tue, 01 Jan 2008 <br> So, I should have done this last night after Jen showed me how to make a custom header. But, it is okay as a first at..."; }

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

	