// Captions, credits and photos for Mexico, Old and New
// If there is no photo credit for a specific photo, you still need a credit defined, but make it blank like this: SSPhotoCredit[1] = "";
// Acceptable border values are 'yes' or 'no'

var SSPhoto = new Array();
var SSPhotoCredit = new Array();
var SSPhotoCaption = new Array();
var SSBorder = new Array();

var z = 0;

SSPhoto[z] = "0809_Mexico_Church.jpg";
SSPhotoCredit[z] = "Livia Corona";
SSPhotoCaption[z] = "The 16th-century Santo Domingo church, five blocks north of Oaxaca\'s zocalo (town square). From \"<a href=/bt-dyn/content/article/2006/04/05/AR2006040501488.html target=_blank>25 Reasons We Love Oaxaca</a>\"";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "0809_Mexico_Bookstore.jpg";
SSPhotoCredit[z] = "Livia Corona";
SSPhotoCaption[z] = "Swing by Amate Books for its extraordinary selection of English titles on Oaxacan history and Mexican street art, but also for the one-of-a-kind doorway lined with a foot-wide border of red, orange, yellow, and white marigolds. From \"<a href=/bt-dyn/content/article/2006/04/05/AR2006040501488.html target=_blank>25 Reasons We Love Oaxaca</a>\"";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "0809_Mexico_Ruins.jpg";
SSPhotoCredit[z] = "Livia Corona";
SSPhotoCaption[z] = "Monte Alb&aacute;n, a city built more than 1,000 years ago. From \"<a href=/bt-dyn/content/article/2006/04/05/AR2006040501488.html target=_blank>25 Reasons We Love Oaxaca</a>\"";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "0809_Mexico_BeachChairs.jpg";
SSPhotoCredit[z] = "Robert Wright";
SSPhotoCaption[z] = "There\'s no rush on chairs at the Gala Beach Resort. It\'s the southernmost resort in the lush gated community of Playacar. From \"<a href=/bt-dyn/content/article/2005/06/04/AR2005060400830.html target=_blank>The Easy, Breezy Riviera Maya</a>\"";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "0809_Mexico_Pool.jpg";
SSPhotoCredit[z] = "Robert Wright";
SSPhotoCaption[z] = "The popular Las Olas swim-up bar at Riu Playacar. From \"<a href=/bt-dyn/content/article/2005/06/04/AR2005060400830.html target=_blank>The Easy, Breezy Riviera Maya</a>\"";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "0809_Mexico_Dancing.jpg";
SSPhotoCredit[z] = "Robert Wright";
SSPhotoCaption[z] = "At Barcel&oacute; Maya, guests learn a mix of Latin and line-dance moves to show off at Captain Morgan's disco later. From \"<a href=/bt-dyn/content/article/2005/06/04/AR2005060400830.html target=_blank>The Easy, Breezy Riviera Maya</a>\"";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "0809_Mexico_Benches.jpg";
SSPhotoCredit[z] = "Maura McEvoy";
SSPhotoCaption[z] = "Tables at La Galeria in Yelapa overlook Yelapa Bay. From \"<a href=/bt-dyn/content/article/2007/05/02/AR2007050201534.html target=_blank>Got Stress? Get to Puerto Vallarta</a>\"";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "0809_Mexico_Boat.jpg";
SSPhotoCredit[z] = "Marc Lecureuil";
SSPhotoCaption[z] = "The beach, as seen from the path to La Punta. From \"<a href=/bt-dyn/content/article/2005/09/27/AR2005092700928.html target=_blank>Why Haven\'t You Heard of Yelapa, Mexico?</a>\"";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "0809_Mexico_Woman.jpg";
SSPhotoCredit[z] = "Livia Corona";
SSPhotoCaption[z] = "Petra Puente, owner of El Mes&oacute;n de la Abundancia, a hotel in the center of Real de Catorce. From \"<a href=/bt-dyn/content/article/2005/10/12/AR2005101201351.html target=_blank>Ghosts of the Sierra Madre</a>\"";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "0809_Mexico_Pictures.jpg";
SSPhotoCredit[z] = "Livia Corona";
SSPhotoCaption[z] = "Souvenirs near La Parroquia de la Concepci&oacute;n Pur&iacute;sima, Real de Catorce\'s main church. From \"<a href=/bt-dyn/content/article/2005/10/12/AR2005101201351.html target=_blank>Ghosts of the Sierra Madre</a>\"";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "0809_Mexico_RuinsClose.jpg";
SSPhotoCredit[z] = "Courtesy Dana Lucero";
SSPhotoCaption[z] = "The Mayan ruins at Tul&uacute;m. From \"<a href=/bt-dyn/content/article/2008/04/26/AR2008042601799.html target=_blank>I Married a Non-Traveler</a>\"";
SSBorder[z] = "yes";
z++;

var SSLength = SSPhoto.length;

// THis is the HTML for final page of slide show.

var finalHTML = "";
	finalHTML += "<div id=finalSlide>";
	finalHTML += "<div id=finalSlideHeader>";
	finalHTML += "<a href=index.html?jumpToPic=0><img src=final_image.jpg alt=\"Click here to watch the slide show again\" class=borderyes \/><\/a>";
	finalHTML += "<h2>Mexico, Old and New<\/h2>";
	finalHTML += "<a href=index.html?jumpToPic=0>Watch the slide show again<\/a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"javascript:parentCheck('/ac-bt/bt-dyn/admin/emaillink?link=http://www.budgettravel.com/bt-srv/gallery/0809_Mexico/index.html&type=Newsletter&title=Mexico,_Old_and_New&site=newsletter&sent=no');\">E-mail this to a friend<\/a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"javascript:parentCheck('/bt-dyn/content/article/2008/09/16/AR2008091601561.html');\">Read the article<\/a>";
	finalHTML += "<\/div><div class=contentBlock>";
	finalHTML += "<strong>Related links:<\/strong><ul>";
	finalHTML += "<li><a href=javascript:parentCheck('/bt-dyn/content/article/2007/05/02/AR2007050201534.html')>Got Stress? Get to Puerto Vallarta<\/a><\/li>";
	finalHTML += "<li><a href=javascript:parentCheck('/bt-dyn/content/article/2007/08/09/AR2007080901416.html')>Scouting Report 2007: Puerto Angel<\/a><\/li>";
	finalHTML += "<li><a href=javascript:parentCheck('/bt-dyn/content/article/2008/04/05/AR2008040501459.html')>What $100 Buys in Mexico City<\/a><\/li>";
	finalHTML += "<li><a href=javascript:parentCheck('/bt-dyn/content/article/2006/04/05/AR2006040501488.html')>25 Reasons We Love Oaxaca<\/a><\/li>";
	finalHTML += "<\/ul><\/div><div class=contentBlock style=text-align:center;>";
	finalHTML += "Browse more popular destinations in <a href=javascript:parentCheck('/bt-dyn/content/destinations/mexicoandcentralamerica/')><strong>Mexico &amp; Central America</strong><\/a>.";
	finalHTML += "<\/div>";
