﻿// JavaScript Document

 

// Set up the text files to be used.

var theText = new Array() // do not change this

 

 

theText[0] = '<blockquote><p>We used Swift Design Solutions to build our website, This site has proved very successful for us in bringing new clients to our company, and a place to show and display all the products we do. I would highly recommend Swift Design Solutions to anyone looking to build a website.</p></blockquote><a href="http://www.ciw.co.nz">Bob Hadley - CIW Ltd</a>';

theText[1] = '<blockquote><p>Are you an existing client of Swift Design Solutions? We would love to share a short testimonial of your success with our products or service. If you are interested please email us in about 30 words your success or experience with Swift Design Solutions.</p></blockquote><a href="http://www.swiftdesignsolutions.co.nz">And to thank you for your custom a link to your website will go here.</a>';

theText[2] = '<blockquote><p>We found Swift Design Solutions very helpful in setting up and designing our website. We suggested some ideas and they did the research and put together the layout for us. We are pleased with the visits already to our site.</p></blockquote><a href="http://www.gospellight.co.nz">N Keys - Gospel Light Baptist Church</a>';
 

// do not edit anything below this line

 

var j = 0

var p = theText.length;

var preBuffer = new Array()

for (i = 0; i < p; i++){

   preBuffer[i] = new Array()

   preBuffer[i].src = theText[i]

}

var whichText = Math.round(Math.random()*(p-1));

function showText(){

//This a wrapper for the text array it can be changed if need

document.write('<p class="thetext">'+theText[whichText]+'</p>');

}
