//				imageSRC		linkURL			imageALT	target (1=yes,0=no)

var numPhotos = 10;
var photos = [	"photo_lg_1.jpg",	"",				"",	0,
"photo_lg_2.jpg",	"",				"",	0,
"photo_lg_3.jpg",	"",				"",	0,
"photo_lg_4.jpg",	"",				"",	0,
"photo_lg_5.jpg",	"",				"",	0,
"photo_lg_6.jpg",	"",				"",	0,
//"photo_lg_7.jpg",	"",				"",	0,
"photo_lg_8.jpg",	"",				"",	0,
"photo_lg_9.jpg",	"",				"",	0,
"photo_lg_10.jpg",	"",				"",	0,
"photo_lg_11.jpg",	"",				"",	0,]


var photoLength = photos.length
var photoSlot = new MakeArray(photoLength)
var counter = 0
for (i=0; i < photoLength; i++) {
	photoSlot[counter] = new buildButton1(photos[i++],photos[i++],photos[i++],photos[i])
	counter++
}

var numPhotos1 = 6;
var photos1 = [	"photo_med_1.jpg",	"",				"",	0,
"photo_med_2.jpg",	"",				"",	0,
"photo_med_3.jpg",	"",				"",	0,
"photo_med_4.jpg",	"",				"",	0,
"photo_med_5.jpg",	"",				"",	0,
"photo_med_6.jpg",	"",				"",	0,]


var photoLength1 = photos1.length
var photoSlot1 = new MakeArray(photoLength1)
var counter = 0
for (i=0; i < photoLength; i++) {
	photoSlot1[counter] = new buildButton1(photos1[i++],photos[i++],photos[i++],photos[i])
	counter++
}


function MakeArray(n){
	this.length = n
	return this
}

function buildButton1(a,b,c,d) {
	this.imageSRC = a
	this.linkURL = b
	this.imageALT = c
	this.linkTarget = d
}

function text() {
};

text = new text();
number = 0;

// textArray
text[number++] = "  <span id=\"first\">I</span> have a degree in Physical Therapy and was comforted knowing Judd knew what he was talking about"
text[number++] = "  <span id=\"first\">I</span> am stronger, leaner, and enjoy all the benefits of better health now that I train regularly with Judd"
text[number++] = "  <span id=\"first\">J</span>udd always knows what is the best workout for my needs and spontaneously combines his in-depth knowledge of anatomy, physiology, and running"
text[number++] = "  <span id=\"first\">R</span>ight from the beginning I trusted Judd. He was extremely knowledgeable in anatomy, physiology, and kinesiology"
text[number++] = "  <span id=\"first\">I</span> feel like I'm in better shape now than I have ever been. At 51 years old that's saying something. My clothes fit better, I have more energy and my sex life, well, I still have no sex life, but that's not Judd's fault"
text[number++] = "  <span id=\"first\">J</span>udd is able to teach as he trains, keep the sessions intense yet fun, and provide continual motivation and support"
// You can keep on adding messages here

increment = Math.floor(Math.random() * number);
