
var current = 1; //start the counter at 1

var txt_00 = '<div class="content"><img src="images/testimonial_1.jpg" width="198" height="170" align="left" /><p><strong>"It\'s hard to imagine that we ever operated without it"</strong></p><p><em>Bobby Burge, PE<br />Burge/Martinez Consulting Engineers - Texas</em></p></div><div class="click"><img src="images/next.gif" alt="Next &gt;" width="77" height="32" /></div>';
var txt_01 = '<div class="content"><img src="images/testimonial_2.jpg" width="198" height="148" align="left" /><p><strong>"I\'ve worked with a variety of laboratory systems and found this system to be the only one in the market to improve the lab\'s accuracy and reduce the overall testing turnarround time"</strong></p><p><em>R. Klamm, P.G. - Texas<br />Burge/Martinez Consulting Engineers - Texas</em></p></div><div class="click"><img src="images/next.gif" alt="Next &gt;" width="77" height="32" /></div>';
var txt_02 = '<div class="content"><img src="images/testimonial_3.jpg" width="198" height="148" align="left" /><p><strong>"xGEL LabMate is a great employee to have in our lab."</strong></p><p><em>Tobby Martinez<br />Burge/Martinez Consulting Engineers - Texas</em></p></div><div class="click"><img src="images/next.gif" alt="Next &gt;" width="77" height="32" /></div>';
var txt_03 = '<div class="content"><img src="images/testimonial_4.jpg" width="198" height="180" align="left" /><p><strong>"When my geological consultants use xGEL LabMate&#8482;, I get my geo reports faster. Now, <em>THAT</em> is a real plus."</strong></p><p><em>John Speegle<br />Speegle &amp; Associates - Architecture</em><br />San Antonio, TX</p></div><div class="click"><img src="images/next.gif" alt="Next &gt;" width="77" height="32" /></div>';
var txt_04 = '<div class="content"><img src="images/testimonial_5.gif" width="198" height="148" align="left" /><p><strong>Overheard in the lab:</strong></p><p><strong>"If we use this for a week, we will save one day of lab tech time!"</strong></p></div><div class="click"><img src="images/next.gif" alt="Next &gt;" width="77" height="32" /></div>';

var items = new Array();
    items[0] = txt_00;
    items[1] = txt_01;
		items[2] = txt_02;
		items[3] = txt_03;
		items[4] = txt_04;

function testim() {
    document.getElementById("testimonialholder").innerHTML = items[current];
    current = (current==items.length-1) ? 0 : current + 1;
}

window.onload = testim();

