

/* Testimonials + Random Image Rotation */



var testnumber = 1 ; 

var randomnumber2 = Math.random() ; 

var rand2 = Math.round( (testnumber-1) * randomnumber2) + 1 ; 

testimonial = new Array 

testimonial[1] = "'In order to explain the rise of fraternal insurance, we must ask ourselves what advantage these organizations may have had over commercial competitors. The answer to this question is likely to lie in the peculiar economic problems of insurance organizations.'<br /> Humane Studies Review by Leslie Siddeley " 







// imageNumber - integer variable stating how many images in the rotation

var imageNumber = 3;

var rand3 = Math.round( (imageNumber-1) * randomnumber2) + 1 ;



// create image array with filenames - change imageNumber if adding or decreasing

randomImage = new Array

randomImage[1] = "random-man-and-woman.jpg"

randomImage[2] = "random-man-and-woman-bike.jpg"

randomImage[3] = "random-man-granddaughter.jpg"

// store to variables for printing

var mytest = testimonial[rand2];

var img = "<img src=\"/assets/images/";

var randImage = randomImage[rand3];


