// JavaScript Static Text Slideshow

var slideArray = new Array()

slideArray[0]= '<h3>Great service..</h3><p>"I found RENTMoncton to be kind, helpful and provide great service. The apartment I have is spacious, and I have a nice landlord."</p><p class="testimonyName"><em>~ Minh Huynh</em></p>';

slideArray[1]= '<h3>Go the extra mile..</h3><p>"Fox Ridge apartments are a great place to live. The buildings are very quiet, clean, and the staff is very professional and always go the extra mile for their tenants."</p><p class="testimonyName"><em>~ Jennifer Marcoux</em></p>';

slideArray[2]= '<h3>Wonderful landlords..</h3><p>"Wonderful landlords!  As a &quot;long-term&quot; tenant, any time I contact them they are always there to help with any issues... I don&rsquo;t hesitate to recommend them as landlords."</p><p class="testimonyName"><em>~ Isabelle L.<br />(Tenant for 5 years)</em></p>';

// slideArray[3]= '<h3>Testimonial 4 title..</h3><p>"Area for testimonial 4 quotation."</p><p class="testimonyName"><em>~ John Doe 4</em></p>';


function textSlideShow()

{

var total_slides;

total_slides=Math.floor(Math.random()*slideArray.length)

document.getElementById('div_display').innerHTML=slideArray[total_slides];

setTimeout("textSlideShow()",14000); //ie. 10000 is 10 seconds

}


/*
And then call this javascript function inside the HTML div element in which you want to display text slideshow like below.

<div id="div_display"><script type="text/javascript" language="javascript"> textSlideShow();</script></div>
*/
