var currentOne = 0;
var lastOne = 4;
function show(){
    var thisOne = currentOne + 1;
	if(thisOne > lastOne){
		thisOne = 1;
	}

	var tDiv = $('quote' + currentOne);
	var vDiv = $('quote' + thisOne);

	if($chk(tDiv)){$(tDiv).tween('opacity', 0);}
	if($chk(vDiv)){$(vDiv).tween('opacity', 1);}

	currentOne = thisOne;
}


var timeDelay = 8000;
var qTimer = 0;
window.onload=function() {
	var tDiv;
	for (var i=1; i <= lastOne; i++) {
		$('quote' + i).set('tween',{
			duration: 800
		});
//		$('quote' + i).tween('opacity', 0);
	}
	show();
	qTimer = setInterval("show();", timeDelay);
}