var ContentReplacer_contentsArr3 = new Array();
var ContentReplacer_counter3 = 0;
var ContentReplacer_contentCount3 = 0;


function replaceContents3(contentIDs_arr,time_delay){
	
	if(parseInt(time_delay)<3) time_delay = 3;

	
	var i = 0;
	
	
	for(an_id in contentIDs_arr){
		
		ContentReplacer_contentsArr3[i] = document.getElementById(contentIDs_arr[an_id]);
		
		if(i==0){
			$(ContentReplacer_contentsArr3[i]).fadeIn('slow',function(){i++;});
			//ContentReplacer_contentsArr3[i].style.display = 'block';
		}
		else{
			$(ContentReplacer_contentsArr3[i]).fadeOut('slow',function(){i++;});
			//ContentReplacer_contentsArr3[i].style.display = 'none';
		}
		//i++;
	}
	
	
	ContentReplacer_contentCount3 = contentIDs_arr.length;
	
	
	window.setInterval(ContentReplacer_replace3,time_delay*1000);
	
}//end function replaceContents3()


var ContentReplacer_replace3 = function(){
	$(ContentReplacer_contentsArr3[ContentReplacer_counter3]).fadeOut('slow', function(){
		ContentReplacer_counter3++;
		if(ContentReplacer_counter3==ContentReplacer_contentCount3) ContentReplacer_counter3 = 0;
		$(ContentReplacer_contentsArr3[ContentReplacer_counter3]).fadeIn('slow');
		
		});
	
}//

