var delay=4000;
var nextFact=0;
var t=6;
var t1="1 out of every 66 deaths in the WORLD is an American abortion"
var t2="1 out of every 4 deaths in America is an American Abortion"
var t3="Half of the deaths in the world are from abortions"
var t4="Abortion is the leading cause of death in the world.  It kills as many people as ALL of the other causes of death combined."
var t5="We have lost more Americans through abortions (64 times more) than we did in all of our wars (12 wars) combined";
var t6="The world kills more people through abortion than all of the deaths in the America combined (22 times as many)"

var text=new Array(t1,t2,t3,t4,t5,t6);
text.sort( randOrd );
function randOrd(){
	return (Math.round(Math.random())-0.5); 
}
function fadeIn(){		
	var fadeInEffect=new Spry.Effect.Fade('didYouKnow', {setup:function(){//alert("next");
			container.innerHTML=text[nextFact];
			nextFact=(nextFact+1)%t;
		}, finish:function(){
			setTimeout("switchFact()",delay);
		}, duration: 1000, from: 0, to: 100, toggle:false});
	fadeInEffect.start();
}

function switchFact(){
	var fadeOutEffect=new Spry.Effect.Fade('didYouKnow', {finish:fadeIn, duration: 1000, from: 100, to: 0, toggle:false});
	fadeOutEffect.start();
}
