					var curTstml = 0;
					var tstImgs = new Array();
					var tstLinks = new Array(
							new Array('./images/tstml6.jpg', 'Testimonials', 'testimonial.htm', '_self'),
							new Array('./images/tstml2.jpg', 'Testimonials', 'testimonial.htm', '_self'),
							new Array('./images/tstml1.jpg', 'Testimonials', 'testimonial.htm', '_self'),
							new Array('./images/tstml5.jpg', 'Testimonials', 'testimonial.htm', '_self'),
							new Array('./images/tstml3.jpg', 'Testimonials', 'testimonial.htm', '_self'),
							new Array('./images/tstml4.jpg', 'Testimonials', 'testimonial.htm', '_self')
							);

					function DeployTestimonial()
					{
						for (var i=0; i<tstLinks.length; i++) { tstImgs[i] = new Image(); tstImgs[i].src = tstLinks[i][0]; }
				    	var obj = document.getElementById("testimonial"); if(!obj) return;
				    	if(isHome) { if(obj.childNodes.length>1) obj = obj.childNodes[1]; if(!obj) return; }
				    	obj.innerHTML = '<a title="' + tstLinks[curTstml][1] + '" href="' + tstLinks[curTstml][2] + '" target="' + tstLinks[curTstml][3] + '"><img border="0" src="' + tstLinks[curTstml][0] + '" /></a>';
					}
					
					function TransformTestimonial()
					{
				    	curTstml++;
				    	if(curTstml >= tstLinks.length) curTstml = 0;
						var filterFunction = "progid:DXImageTransform.Microsoft.GradientWipe(duration=3)";
						var filterFunction = "revealTrans(TRANSITION=12, DURATION=1)";
						
				    	var flg = false;
				    	var obj = document.getElementById("testimonial"); if(!obj) return;
				    	if(isHome) { if(obj.childNodes.length>1) obj = obj.childNodes[1]; if(!obj) return; }
				    	obj = obj.childNodes[0].childNodes[0]; if(!obj) return;
				    	
				    	if(window.attachEvent)
				    	{
					    	if(obj.style && obj.filters) flg = true;
	
							try
							{
						    	if(tstImgs[curTstml].complete)
						    	{
						      		if(flg)
						      		{
						        		obj.style.filter = filterFunction;
			
										if(obj.filters && obj.filters[0])
						        		{
						          			obj.filters[0].Apply();
						          			obj.filters[0].Play();
						        		}
						        		
							      		obj.src = tstLinks[curTstml][0];
							      		obj.parentNode.setAttribute('href', tstLinks[curTstml][2]);
							      		obj.parentNode.setAttribute('title', tstLinks[curTstml][1]);
							      		obj.parentNode.setAttribute('target', tstLinks[curTstml][3]); 
							      	}
						    	}
					    	}
					    	catch(e) { }	
					    }
					    else
					    {
				      		obj.src = tstLinks[curTstml][0];
				      		obj.parentNode.setAttribute('href', tstLinks[curTstml][2]);
				      		obj.parentNode.setAttribute('title', tstLinks[curTstml][1]);
				      		obj.parentNode.setAttribute('target', tstLinks[curTstml][3]); 
					    }
					}	

					if(window.attachEvent) window.attachEvent('onload', DeployTestimonial);
					else window.addEventListener('load', DeployTestimonial, false);
					
					window.setInterval(TransformTestimonial, 8000);
