function setupBstirValues() {bstirFadeTitles[0] = "i was tagged..and will be tagging 6 others.."; bstirFadeLinks[0] = "http://vicaprincess.blogspot.com/2009/01/i-was-taggedand-will-be-tagging-6.html"; bstirFadeSnippets[0] = "Thu, 29 Jan 2009 <br> i just like collecting comics and books! i have dozens of the archies comics and books by various authors. stephen ki..."; bstirFadeTitles[1] = "Kane and Abel..A Secret Alchemy.. ~"; bstirFadeLinks[1] = "http://vicaprincess.blogspot.com/2009/12/kane-and-abela-secret-alchemy.html"; bstirFadeSnippets[1] = "Tue, 08 Dec 2009 <br> I must be in a really good mood that I purchased 2 more books that day. And Times was having a 20% off books until ea..."; bstirFadeTitles[2] = "instant book printing"; bstirFadeLinks[2] = "http://vicaprincess.blogspot.com/2009/07/instant-book-printing.html"; bstirFadeSnippets[2] = "Thu, 16 Jul 2009 <br> a blackwell spokesman said: &quot;at the press of a button, people can now access paperback copies of their favourite clas..."; bstirFadeTitles[3] = "my favourite christmas song..part 2"; bstirFadeLinks[3] = "http://vicaprincess.blogspot.com/2008/12/my-favourite-christmas-songpart-2.html"; bstirFadeSnippets[3] = "Sat, 27 Dec 2008 <br> the &quot;five golden rings&quot; represents the first five books of the bible, also called the jewish torah: genesis, exodus, ..."; bstirFadeTitles[4] = "tag..:)"; bstirFadeLinks[4] = "http://vicaprincess.blogspot.com/2009/03/tag.html"; bstirFadeSnippets[4] = "Fri, 06 Mar 2009 <br> *and...she has a camera i don't mind trading my books with (hey, i love my books, okay..:p) ... 16. lapan perkara yan..."; }

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

	