	$(document).ready(

		function() {
			textfaders = jQuery('.textfader'); 
			if (textfaders.length > 1) {

				top.currentTextFader = textfaders[0].id;
				nextTextFade();

				$(document).everyTime(
					8000, 
					function() {
						nextTextFade();
					}, 
					10
				);
			};

		}
	);	

	function nextTextFade() {
		textfaders = jQuery('.textfader'); 
		for (t=0; t<textfaders.length; t++) {
			if (textfaders[t].id == top.currentTextFader) {
				nextId = textfaders[(t + 1) % textfaders.length].id;
				if (jQuery('#' + textfaders[t].id).css('display') == 'block') {
					jQuery('#' + textfaders[t].id).fadeOut(1000, function() {
						jQuery('#' + nextId).fadeIn(1000);
					});
				} else {
						jQuery('#' + nextId).fadeIn(1000);
				}
			}
		}
		top.currentTextFader = nextId;
	}



