// Captions, credits and photos for America's Coolest Small Towns
// 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] = "ss_Cayucos.jpg";
SSPhotoCredit[z] = "Amanda Friedman";
SSPhotoCaption[z] = "Highway 1 near Cayucos, Calif.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_Jacksonville.jpg";
SSPhotoCredit[z] = "John Clark";
SSPhotoCaption[z] = "Jacksonville, Ore.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_BreauxBridge.jpg";
SSPhotoCredit[z] = "Chris Granger";
SSPhotoCaption[z] = "Maison Des Amis B&B in Breaux Bridge, La.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_Lexington.jpg";
SSPhotoCredit[z] = "Courtesy Nathan Beck";
SSPhotoCaption[z] = "Main Street in Lexington, Va., lined with 19th-century storefronts.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_Tubac.jpg";
SSPhotoCredit[z] = "Jeff Topping/The New York Times/Redux";
SSPhotoCaption[z] = "Tubac, Ariz., and the Santa Rita Mountains.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_Wallace.jpg";
SSPhotoCredit[z] = "Tegra Nuess";
SSPhotoCaption[z] = "Route of the Hiawatha, a trail outside Wallace, Idaho.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_Saugerties.jpg";
SSPhotoCredit[z] = "Brad DeCecco/braddececco.com";
SSPhotoCaption[z] = "Our Bookshop, one of Saugerties, N.Y.,\'s three bookstores.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_Rockland.jpg";
SSPhotoCredit[z] = "Courtesy <a href=http://mybt.budgettravel.com/_Breakwater-Lighthouse-Rockland-Maine/photo/2654421/21864.html target=_blank>rpjwalter/myBudgetTravel</a>";
SSPhotoCaption[z] = "Breakwater Lighthouse in Rockland, Maine.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_MountVernon.jpg";
SSPhotoCredit[z] = "Sandy Dyas";
SSPhotoCaption[z] = "Artist Mark Benesh\'s version of <em>American Gothic</em>, on a barn outside Mount Vernon, Iowa.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_Whitefish.jpg";
SSPhotoCredit[z] = "Janie Osborne";
SSPhotoCaption[z] = "Central Avenue in Whitefish, Mont.";
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>America\'s Coolest Small Towns<\/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/0910_CoolestSmallTowns/index.html&type=Newsletter&title=The_Coolest_Small_Towns_in_America&site=newsletter&sent=no');\">E-mail this to a friend<\/a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"javascript:parentCheck('/bt-dyn/content/article/2009/09/04/AR2009090402162.html');\">Read the article<\/a>";
	finalHTML += "<\/div><div class=contentBlock>";
	finalHTML += "<strong>Related links:<\/strong><ul>";
	finalHTML += "<li><a href=javascript:parentCheck('/bt-srv/coolestsmalltowns/nominate_2010.html')>Coolest Small Towns 2010: Nominate your town now!<\/a><\/li>";
	finalHTML += "<li><a href=javascript:parentCheck('/bt-dyn/content/article/2008/08/02/AR2008080201203.html')>Coolest Small Towns 2008<\/a><\/li>";
	finalHTML += "<li><a href=javascript:parentCheck('/bt-dyn/content/article/2007/08/06/AR2007080600775.html')>Coolest Small Towns 2007<\/a><\/li>";
	finalHTML += "<li><a href=javascript:parentCheck('/bt-dyn/content/article/2006/03/09/AR2006030901232.html')>Coolest Small Towns 2006<\/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/usandcanada/')><strong>U.S. & Canada</strong><\/a>.";
	finalHTML += "<\/div>";
