// JavaScript Document
window.onload = initAll;

var currImg = 0;
var captionText = new Array(
	"On Tuesday morning we flew back to San Pedro Sula.  The flight is a story in itself. But, we finally got there and met our guide, Ali Gonzalez.  We got on a bus with six other people, and headed out for Copan, about 2 hours drive west. We stopped along the road for some pineapple.  (1 of 59)",
	"These people pick ripe pineapples from their farm, and sell them along the road. Ali and his friends were made welcome, and we were in for a treat!  (2 of 59)",
	"I've never had pineapple as sweet as this!  I guess letting it ripen before it is picked makes a difference.  Did you know it grows on a short plant near the ground? I thought it came in a can!  (3 of 59)",
	"Yep, a real treat!  (4 of 59)",
	"Because of all our airplane problems, we arrived in the Copan ruins about 4:30. Ali suggested we visit a small village away from the main ruins.  He said it was where the worker class lived, and was being restored, but much less visited than the main ruins.  We went for it. The steel structure is for protection. Some of this area was being restored or reproduced to show how it was many years ago  (5 of 59)",
	"The stones which made up this complex were all tooled square, with drawings in them.  They were carved by hand with very primitive tools.  No steel, hadn't been discovered yet.  Must have taken years to do.  (6 of 59)",
	"They tell me this is a bed.  There may have been a cover overhead to keep off some of the rain and sun, but it still looks uncomfortable to me. You could see bedrooms, and others which may have been kitchens and meeting rooms.  Interesting, but I am glad I live today.  (7 of 59)",
	"Iforgot what this is.  John should be writing these captions.  He was in his glory, made his masters degree in archeology worthwile.  He also kept and eye on Ali, and said that he really knew his history. John and Ali talked the whole two days.  (8 of 59)",
	"Notice the corners, and the hallways.  I guess this is how people figure out what it all means.  Ali did say that much of what we know is only deduction.  Not much real proof. He gave us the reasoning behind many of the deductions.  Quite interesting.  (9 of 59)",
	"These things were all over! Must have been hundreds of people living and working here. Did they plan? Was there a foreman? Did they have a union?  (10 of 59)",
	"There are still many mounds which have not been looked at. It will take years for them all to be unearthed.  (11 of 59)",
	"Bedrooms, kitchens, didn't see any bathrooms or media centers.  (12 of 59)",
	"All this bogles my mind. I have so many questions...  (13 of 59)",
	"Ali said this area was being reproduced.  Many areas are, others are just unearthed.  With the reproductions, you could see the wear of time on the rock.  Rain, Acid rain, sun, wind - at least it takes longer to destroy than it did to build.  (14 of 59)",
	"Two bedrooms, kitchen. No bath or garage... MAKE AN OFFER!  (15 of 59)",
	"Evening is falling.  Time to go back to our hotel and rest up for tomorrow.  The Main Ruins.  (16 of 59)",
	"We stayed at the Hotel Marina Copan. It was right in the middle of town, and again, was a first class hotel. The Square was across the street, and the church a block away. We ate with our group at a small restaurant down the street. We ate upstairs, and it was open to the outside. We had a great meal.  (17 of 59)",
	"The hotel rooms were nice.  Had 10 foot ceilings.  There were courtyards and terraces everywhere.  (18 of 59)",
	"This sitting room was next to the girls bedroom.  Had a computer in the desk in the corner.  Students were using it that evening.  (19 of 59)",
	"The court yard.  Found a turtle here in the morning.  (20 of 59)",
	"From the hallway looking toward the hot tub and pool.  Didn't get to use either!  (21 of 59)",
	"This town was very clean and neat.  We felt safe always here.  The square had the usual fountain and church. It also had the little three-wheeled cabs running all over. Funny little things.  (22 of 59)",
	"The visitors center had this miniature of the ruins.  It is a huge site. I didn't know what to expect, but I don't think this was it!.  At the bottom of this page is a link to an interactive page on the Copan Mayan ruins.  It is an excellent page, and interesting, too.  (23 of 59)",
	"This is a Capok tree.  Had lots of little barbs on it.  (24 of 59)",
	"This little area was off the beaten path.  Ali told us it was pieces which have been dug up or found but can't be identified with any area.  People are working to figure all this out.  Some were very well preserved and beautiful.  (25 of 59)",
	"The MaCaw is the National Bird of Honduras.  At Copan, there were several.  They flew around the area, and made alot of noise.  Everything stopped when a group of them flew through.  We also saw a flock of Parakeets flying in the ruins.  Must have been a hundred of em.  26 of 59",
	"This one spoke perfect Mayan.  (27 of 59)",
	"Here is what a ruin looks like before it is excavated.  I think there is one in my back yard!  (28 of 59)",
	"We entered the ruin into the Ceremonial Court.  There is a mound to the right, and many carvings around the area.  Ali said most were monuments to the ruling king at the time.  The most popular was one he called Eighteen Rabbit, said to be the 13th ruler.  He ruled for some 40 years.  It is said it took about 5 years to carve one of these monuments.  (29 of 59)",
	"We climbed to the top.  The view from up there was great.  (30 of 59)",
	"There was something else up there, too. Ali fished around in a hole and brought out a huge tarantula!  (31 of 59)",
	"This is one of the stone monuments.  We learned how to read some of it, and how to find the carvings of Eighteen Rabbit.  (32 of 59)",
	"These are more with Eighteen Rabbit on them. The carvings were all over, and all meant something. The covers are for protection from the elements. How someone figured all this out is beyond me.  (33 of 59)",
	"Most everyone went down to look at the carvings, but I stayed up top.  Kept an eye on the tarantula!  (34 of 59)",
	"Looks like the biggest hobby horse I ever saw.  I don't remember what it was.  Should have taken notes.  Ali did give us tests all the time.  Asked us to find something in the stones.  Was fun, but I never won.  (35 of 59)",
	"Finally got to the Ball Court. I helped Sara make a model of this when she was in the 2nd grade.  Never thought I would see a real one. This area is called the Great Plaza. The game was explained. The games were not for fun, seemed much more serious. Trying to appease the Gods or something.  (36 of 59)",
	"Patty and John listen to Ali.  He was full of good information.  Patty and I were the only two fools there in shorts.  BUGS everywhere!  My legs still itch.  (37 of 59)",
	"This is called The Plaza of Hieroglyphic Staircase, and here are 63 steps and 2000 glyphs.  This tells the story of this community.  Only no one can read it all.  People were studying it while we were there.  They have some of it figured out, and think it is the largest and most complete history of the Mayan culture.  Now, if we could only figure it out!  (38 of 59)",
	"Ali leads the group thru a lush forest area around one of the mounds to the next area, The West Court.  On the way, he showed us a tree with termites all over it.  Ali and Patty ate an termite!  Said it tasted like cedar.  I'll take their word for it.  (39 of 59)",
	"Ma and Pa Kettle visit the ruins...  (40 of 59)",
	"Looks like a happy archeologist to me...  (41 of 59)",
	"Looking back on the Great Plaza as we move on. Had a little rain, but it didn't slow us down.  (42 of 59)",
	"This area is called the West Court.  There was seating for spectators here, so some kind of games or ceremonies were held here.  These areas were huge! I am told the ground was most likely clay.  The grass is a modern addition for all us tourists.  (43 of 59)",
	"Think someone was buried here.  In fact, several someones were buried here.  Seems that when they tunneled into some of these areas they found other structures inside which had been built over by the next ruler. Several tunnels have been dug in the complex, we didn't visit any of them, though.  (44 of 59)",
	"This was called the Cemetery Group.  At first it was thought to be a burial ground for the residents.  Later it was thought it may have been the lower class living area.  (45 of 59)",
	"More of the same.  You can get a perspective of size from the man down there.  I just looked from up top, the kids all went down.  Where do they get their energy?  (46 of 59)",
	"Here we enter the East Court. The Jaguar Stairway was here.  Can't remember the story though. There were a couple of tunnels off this courtyard. Some interesting monuments too.  (47 of 59)",
	"Look around.  You got John in the foreground, a couple down below, and check out the center.  See those two folks there? HUGE!  (48 of 59)",
	"There were carvings everywhere. All had a meaning.  What was it?  (49 of 59)",
	"Sara sez - Welcome to my world!. Both Sara and Kristel felt an attachment to Honduras and to Copan.  They have some Mayan blood, and so this trip was very special to both of them. You could see it in their faces from time to time. Neither girl will soon forget this place. (50 of 59)",
	"Beautiful!  What more can you say?  (51 of 59)",
	"Check out the detail. Care to read it to me?  (52 of 59)",
	"Who's your daddy?  Any doubt where this little girl came from? CHECK OUT THOSE NOSES!(53 of 59)",
	"Or this one?  Sara got bit on the face, my legs look like that.  OUCH!  (54 of 59)",
	"There I am, either learning something or failing another of Ali's tests.  Walking and climbing, would keep one in shape if one lived here.  Glad I don't.  Not a single Coke machine.  (55 of 59)",
	"Ali was telling us something... What a great guide, and what a wonderful time.  (56 of 59)",
	"Two new smiles and one 1500 year old happy face. We Love Honduras, and Copan.  (57 of 59)",
	"Back in town, the museum was beautiful. This was a reproduction of the top of the Ball Court. There were many originals and several reproductions of what we saw in the ruins.  We didn't have as much time as we would have liked here, but life goes on...  (58 of 59)",
	"Everyone got hugs.  Ali stayed in Copan with another group, and we returned to San Pedro Sula to fly back to Roatan. Our vacation continues...  (59 of 59 LAST PHOTO, CLICK ON HOME BELOW)"
)

function initAll() {
	document.getElementById("imgText").innerHTML = captionText[0];
	document.getElementById("prevLink").onclick = processPrevious;
	document.getElementById("nextLink").onclick = processNext;
}

function processPrevious() {
	newSlide(-1);
}

function processNext() {
	newSlide(1);
}

function newSlide(direction) {
	var imgCt = captionText.length;

	currImg = currImg + direction;
	if (currImg < 0) {
		currImg = imgCt-1;
	}
	if (currImg == imgCt) {
		currImg = 0;
	}
	document.getElementById("slideshow").src = "images/copan" + currImg + ".jpg"
	document.getElementById("imgText").innerHTML = captionText[currImg]
}
