
i=1;

slideShowAction='stop';
picTextX1="Here is a great shot of the entrance to the fair, just before the evening rush. There were over 1 million visitors to the fair during this 18-day event.";
picHdrX1="Opening Day at The Fair";
picTextX2="Our pedicabs are in top condition mechanically - and they need to be; our guys do some hard riding on them for about 12 hours a day!";
picHdrX2="Patiently Waiting";
picTextX3="Here's 4 of the top pedicab operators we have. Although we staff only the best riders for special events, there's always a friendly competition among the crew.";
picHdrX3="Meet The Team";
picTextX4="Another great rider, Braggi was a favorite among the crowd and his fellow riders for his wit, charm and comical nature. He kept the guys entertained while out in the field.";
picHdrX4="Pleased to Meet You!";
picTextX5="Here's Ron, one of the new guys that just joined the team. He's finding out that a little personality can go a long way in the customer service industry!";
picHdrX5="Making That Money!";
picTextX6="Sammy and Ron, our Florida locals, came out with 2 other guys and represented Orlando. The've ridden for Ballpark Pedicabs a few times, and have fun everytime!";
picHdrX6="Orlando In The House!";
picTextX7="Here's Macchiu again, providing a great time for this family after their visit to the fair. There were face painting booths, rides, carnival games and food inside the fair.";
picHdrX7="A Great Family Night Out";
picTextX8="The friendship shared among the team is a bond that can't be broken - after being battle tested in the trenches for 18 days, the riders build long lasting ties that transcend borders.";
picHdrX8="Band of Brothers";
picTextX9="Charles, another top rider, shows off his impression of Gene Simmons from KISS. Having fun in the field is part of making the day go by faster!";
picHdrX9="Oh Yeah, Baby!";
picTextX10="This was a great event for Moe - he got to visit Florida and also learned how to play poker with some of the guys. The team made several trips to the local casinos.";
picHdrX10="Let It Ride!";
picTextX11="Danny is one of 3 brothers from Brazil that ride for Ballpark Pedicabs. They come out every year to ride our events, both for the money and for the fun of a road trip.";
picHdrX11="Only in America!";
picTextX12="Alex is another great pedicab rider, both for his endurance and personality. We have built a team of operators that know how to work well with the public.";
picHdrX12="Stopped For a Photo Op";
picTextX13="Here's Aytac, a student here for the summer. He has come back for several years to work this event while he's on school break, and enjoys every minute of it.";
picHdrX13="Ahh - It's the Paparazzi!";
picTextX14="Here's another rider, stopping to pose for a quick pic. This guy was one of the first one's out and the last one in every night. He really liked the people of Miami!";
picHdrX14="Taking a Time Out";
picTextX15="Another local Floridian, Taran came out with the Orlando crew to work the fair. These guys often challenged eachother and made a fun time of working out in the lot.";
picHdrX15="That's How Orlando Does It";
picTextX16="Anybody who has been in Miami knows that it's not only hot, but the humidity keeps you sweating. There were times that the temperature reached 99&deg!";
picHdrX16="Heat? What Heat!?!";
picTextX17="Meaning 'My Brother' in Russian, 'Moy Bratz' was one of the terms we all learned during this event. These guys even became best of friends!";
picHdrX17="Moy Bratz For Life!";
picTextX18="We have two couples that ride for us - here's Macchiu and Anna posing for a quick shot. They are both students in Poland and come out each summer.";
picHdrX18="Ahh, Young Love!";
picTextX19="Here's the other couple, Joe and Valentina. They were taking a break and we caught them enjoying a quick moment together. Weren't they just made for eachother!?";
picHdrX19="Caught On Camera!";
picTextX20="Making sure they get there safely is important, but so is having fun. Here's David showing this family a good time and making the kids smile in their personal chariot!";
picHdrX20="Riding in Style";
picTextX21="Charles, another student from Brazil, takes this mother and her daughters to the fair. When it gets too hot, he turns on the air conditioner for them!";
picHdrX21="Mommy and the Kids";
picTextX22="Here's Valentina again, making sure this family gets to the front in style and comfort. Although the seatbelt was ackward, she always offered it for extra safety.";
picHdrX22="Are We Buckled In?";
picTextX23="Here's Serafin, a Miami native who has ridden with us for 3 years now. Being local to the area paid off - he was really able to connect with the crowd!";
picHdrX23="Let's Go For a Ride!";
picTextX24="Ed Whiteside, an incredibly strong rider, is well known for getting everyone to the entrance, no matter the load. There is nothing that stops this guy.";
picHdrX24="Only The Strong Survive";
picTextX25="At several times during the fair, the parking made it out to the soccer field, about 1/2 mile away. Luckily our guys were there to provide top notch transport.";
picHdrX25="Everyone Say 'Cheese'!";
picTextX26="Here we have Serafin again, the Miami native. He was one of our stronger riders, and was with the guys first thing in the morning, all the way until the fair closed at night.";
picHdrX26="One Last Picture!";
picTextX27="Posing with sexy ladies is something that doesn't happen often at a youth fair, so when the opportunity happens, you've got to take it!";
picHdrX27="I Love This Job!";
picTextX28="Chris Dickson, a manager with Ballpark Pedicabs, takes a moment to hang out with Marcello and Vinny, a couple twins from Brazil that work with our company.";
picHdrX28="A Job Well Done";

function picchange(x) {
i=x;
x2='md'+x;
document.getElementById('picText').innerHTML=eval("picTextX"+x);
document.getElementById('picHdr').innerHTML="Photo #"+x+" - "+eval("picHdrX"+x);
document.getElementById('pic').src='img/dade/'+x2+'.gif';

}

function playShow() {
x2='md'+i;
 if (slideShowAction=='play') {
 document.getElementById('picText').innerHTML=eval("picTextX"+i);
 document.getElementById('picHdr').innerHTML="Photo #"+i+" - "+eval("picHdrX"+i);
 document.getElementById('pic').src='img/dade/'+x2+'.gif';
 slideShow('play');
 }
 else {
 document.getElementById('playBtn').disabled=false;
 document.getElementById('playBtn').title='Start slideshow';
 }
}

function setDescription() {
document.getElementById('stopBtn').disabled=true;
document.getElementById('stopBtn').title='Press start';
document.getElementById('picHdr').innerHTML="Photo #"+i+" - "+picHdrX1;
document.getElementById('picText').innerHTML=picTextX1;
}

function setShow(x) {slideShowAction=x;}

function playNow() {
document.getElementById('playBtn').disabled=true;
document.getElementById('playBtn').title='Slideshow is running';
document.getElementById('prevBtn').disabled=true;
document.getElementById('prevBtn').title='Button disabled';
document.getElementById('nextBtn').disabled=true;
document.getElementById('nextBtn').title='Button disabled';
document.getElementById('stopBtn').disabled=false;
document.getElementById('stopBtn').title='Stop slideshow';
setTimeout("playShow()",8000);
}

function showAction(x) {
 if (x=='stop') {
 document.getElementById('stopBtn').src='img/stopOn.bmp';
 i--;
 slideShowAction='stop';
 document.getElementById('playBtn').src='img/play.bmp';
 document.getElementById('playBtn').title='Slideshow is shutting down';
 document.getElementById('stopBtn').disabled=true;
 document.getElementById('stopBtn').title='Press start';
 document.getElementById('prevBtn').disabled=false;
 document.getElementById('prevBtn').title='See previous photo';
 document.getElementById('nextBtn').disabled=false;
 document.getElementById('nextBtn').title='See next photo';
 document.getElementById('stopBtn').src='img/stop.bmp';
 }
 if (x=='prev') {
 document.getElementById('prevBtn').src='img/prevOn.bmp';
 i--;
  if (i<1) {i=28;}
 document.getElementById('picText').innerHTML=eval("picTextX"+i);
 document.getElementById('picHdr').innerHTML="Photo #"+i+" - "+eval("picHdrX"+i);
 document.getElementById('pic').src='img/dade/md'+i+'.gif';
 document.getElementById('prevBtn').src='img/prev2.bmp';
 }
 if (x=='next') {
 document.getElementById('nextBtn').src='img/nextOn.bmp';
 i++;
  if (i>28) {i=1;}
 document.getElementById('picText').innerHTML=eval("picTextX"+i);
 document.getElementById('picHdr').innerHTML="Photo #"+i+" - "+eval("picHdrX"+i);
 document.getElementById('pic').src='img/dade/md'+i+'.gif';
 document.getElementById('nextBtn').src='img/next2.bmp';
 }
}

function slideShow(x) {
document.getElementById('playBtn').src='img/playOn.bmp';
 if (x=='play') {
 i++;
  if (i>28) {i=1;}
 playNow();
 }
}
