
		
		function promoRotateTestimonials(n){
			var obj_parent = document.getElementById("promo_testimonials");
			var obj_first = null;
			var obj_cur = null;
			var obj_next = null;
			var obj_last = null;
			if (obj_parent){
				var arr_quotes = []
				for (var i=0; i<obj_parent.childNodes.length; i++){
					if (obj_parent.childNodes[i].className == "quote"){
						if (!obj_first){ obj_first = obj_parent.childNodes[i]; }
						if (obj_cur && !obj_next){ obj_next = obj_parent.childNodes[i]; }
						if (obj_parent.childNodes[i].id == "cur"){ obj_cur = obj_parent.childNodes[i]; }
						obj_last = obj_parent.childNodes[i];
					}
				}
				if (obj_first != obj_last){
					if (!obj_next){ obj_next = obj_first; }
					obj_cur.id = null;
					promoTransitTestimonials(obj_next,1);
					if (n<60){
						setTimeout ( "promoRotateTestimonials("+(n+1)+")", 10000 );
					}
				}
			}
		}
		
		function promoTransitTestimonials(obj,value){
			obj.style.opacity = value/10;
			obj.style.filter = 'alpha(opacity=' + value*10 + ')';
			obj.id = "cur";
			if (value<= 10){
				setTimeout(function(){promoTransitTestimonials(obj,value+2)},50);
			}
		}
		
		function promoMain(){
			var obj = document.getElementById("promo_main");
			var n = 0;
			if (obj){
				for (var i=0; i<obj.childNodes.length; i++){
					if (obj.childNodes[i].nodeName == "P"){
						setTimeout("promoTransitionMain("+i+",1)",n*2000);
						n++;
					}
				}
			}
		}
		
		function promoTransitionMain(n,i){
			var obj = document.getElementById("promo_main"); 
			obj.childNodes[n].className = "s"+i;
			if (i<4){
				i++;
				setTimeout("promoTransitionMain("+n+","+i+")",50);
			}
		
		}
		
		
		
		window.onload = function(){
			setTimeout ( "promoRotateTestimonials(0)", 10000 );
			promoMain();
		}