function xml_slideshow(xml_file) {
	
	xml = load_xml(xml_file);
	testimonials = xml.getElementsByTagName('testimonial');

	length_ = testimonials.length;
	i=Math.floor(Math.random()*length_);
	
	function show_text(i,length_) {
		//body = testimonials[i].getElementsByTagName('body')[0].childNodes[0].nodeValue;
		snippet = testimonials[i].getElementsByTagName('snippet')[0].childNodes[0].nodeValue;
		name = testimonials[i].getElementsByTagName('name')[0].childNodes[0].nodeValue;
		//title = testimonials[i].getElementsByTagName('title')[0].childNodes[0].nodeValue;
		//locale = testimonials[i].getElementsByTagName('locale')[0].childNodes[0].nodeValue;
		
		if(snippet!='-') {
			text = '<span style="font-size:1.2em;">&#8220;</span> '+snippet+'<span style="font-size:1.2em;">&#8221;</span><br>- <b>'+name+'</b>';
			$('testimonial_text').innerHTML = text;
			callback = function() {
				callback = function() {
					callback = function() {
						i++;
						if(i>=testimonials.length) {i=0;}
						show_text(i,length_);
					}
					fadeOutElement($('testimonial_text'),1,0,.05,0,true,callback);
				}
				setTimeout(callback,10000);
			}
			fadeInElement($('testimonial_text'),0,1,.01,0,'block',callback);
		}
		else {
			i++;
			if(i>=testimonials.length) {i=0;}
			show_text(i,length_);
		}
	}	
	show_text(i,length_);
}
