// This script toggles the visibility of the testimonials

ns4 = document.layers ? true:false;
ie4 = document.all ? true:false;
ng5 = document.getElementById ? true:false;
		
function hideTestimonial(){
	if(ng5){
		document.getElementById('testimonial1').style.visibility = "hidden";
	}else{
		if(ns4){
			document.testimonial1.visibility = "hide";
		}else{
			if(ie4){
				testimonial1.style.visibility ="hidden";
			}
		}
	}
				
	if(ng5){
		document.getElementById('testimonial2').style.visibility = "hidden";
	}else{
		if(ns4){
			document.testimonial2.visibility = "hide";
		}else{
			if(ie4){
				testimonial2.style.visibility ="hidden";
			}
		}
	}
				
	if(ng5){
		document.getElementById('testimonial3').style.visibility = "hidden";
	}else{
		if(ns4){
			document.testimonial2.visibility = "hide";
		}else{
			if(ie4){
				testimonial2.style.visibility ="hidden";
			}
		}
	}
				
	if(ng5){
		document.getElementById('testimonial4').style.visibility = "hidden";
	}else{
		if(ns4){
			document.testimonial2.visibility = "hide";
		}else{
			if(ie4){
				testimonial2.style.visibility ="hidden";
			}
		}
	}
				
	if(ng5){
		document.getElementById('testimonial5').style.visibility = "hidden";
	}else{
		if(ns4){
			document.testimonial2.visibility = "hide";
		}else{
			if(ie4){
				testimonial2.style.visibility ="hidden";
			}
		}
	}
				
	if(ng5){
		document.getElementById('testimonial6').style.visibility = "hidden";
	}else{
		if(ns4){
			document.testimonial2.visibility = "hide";
		}else{
			if(ie4){
				testimonial2.style.visibility ="hidden";
			}
		}
	}
}
			
function showTestimonial(n){
	hideTestimonial();
	if(ng5){
		document.getElementById('testimonial' + n).style.visibility = "visible";
	}else{
		if(ns4){
			document.layers["testimonial" + n].visibility = "show";
		}else{
			if(ie4){
				document.all["testimonial" + n].style.visibility = "visible";
			}
		}
	}
}
