var value_divs_to_fade = new Array('v1', 'v2');
var xv = 0;
var wait = 2000;
var sv = setInterval('swapFadeValues()',wait);

// the function that performs the fade
function swapFadeValues() {
	Effect.Fade(value_divs_to_fade[xv], { duration:1, from:1.0, to:0.0 });
	xv++;
	if (xv >= value_divs_to_fade.length) xv = 0;
	Effect.Appear(value_divs_to_fade[xv], { duration:1, from:0.0, to:1.0 });
}

