/* This function generates a random number to be used later to call random text/images when the page is reloaded. */
function getRandom(maxNum)
{
if (Math.random && Math.round)
	{
    var ranNum= Math.round(Math.random()*(maxNum-1));
    ranNum+=1;
    return ranNum;
	}
else
	{
	today=new Date();
	hours=today.getHours();
	mins=today.getMinutes();
  	secn=today.getSeconds();
	if (hours==19)
		{
		hours=18;
		}
	var ranNum= (((hours+1)*(mins+1)*secn)%maxNum)+1;
	return ranNum;
	}
}

/* This section writes text/images from an array when called from the body of the page. */
/* Adjust the maxContent value below to match the number of items in the array. */
var maxContent=6;
var whichContent=getRandom(maxContent);
whichContent--;

/* Define the array here. */
var Content=new Array(maxContent);
Content[0]="<div class='toptestimonial'>&ldquo;There&rsquo;s light at the end of your tunnel.&rdquo; For himself, he&rsquo;s still unsure if the light will be a career in radio, television or journalism. But there&rsquo;s one thing he is sure of, what&rsquo;s helping him reach it are friends and family worth more than any touchdown. <a href='testimonials'>Read more ></a><br /><div class='toptestimonialatt'>&ndash; Van Brooks</div></div>"

Content[1]="<div class='toptestimonial'>&ldquo;You don&rsquo;t ever want to look back and regret not doing something. We always keep pushing forward. We&rsquo;re doing everything we can to make sure her body is ready. We know we&rsquo;re giving Erin the best chance possible to walk someday.&rdquo; <a href='testimonials'>Read more ></a><br /><div class='toptestimonialatt'>&ndash; Melissa Buckles, Mother of Erin Buckles</div></div>"

Content[2]="<div class='toptestimonial'>&ldquo;I depend on the RT300 as a critical part of my routine.&rdquo;  <a href='testimonials'>Read more ></a><br /><div class='toptestimonialatt'>&ndash; Lonnie Christian</div></div>"

Content[3]="<div class='toptestimonial'>&ldquo;It got my arms stronger. It works me out like a regular person. It&rsquo;s so innovative the way it works you in different positions. It&rsquo;s great for keeping your body healthy all over, AND my legs aren&rsquo;t skinny! They&rsquo;re still very muscular. And there&rsquo;s no atrophy.&rdquo;  <a href='testimonials'>Read more ></a><br /><div class='toptestimonialatt'>&ndash; Cindy Donald</div></div>"

Content[4]="<div class='toptestimonial'>&ldquo;There are things that are actually improving. As a parent, you always wonder if there&rsquo;s something more you could be doing, something more out there to improve your child&rsquo;s life. And this cycle, this is it.&rdquo;  <a href='testimonials'>Read more ></a><br /><div class='toptestimonialatt'>&ndash; Becky Rinehart, mother of Noah Rinehart</div></div>"

Content[5]="<div class='toptestimonial'>&ldquo;I have hope back. The RT300 is helping! It&rsquo;s working for me. And even if it helps no more than it has so far, I&rsquo;ll take that because I feel better. I&rsquo;ve always been hopeful, but I&rsquo;d been crushed down for so long and I didn&rsquo;t even realize it. I didn&rsquo;t realize I&rsquo;d lost hope until I got it back.&rdquo;  <a href='testimonials'>Read more ></a><br /><div class='toptestimonialatt'>&ndash; Michelle Brovitz</div></div>"



/* Write the content to the document. */
document.write(Content[whichContent]);
