// Captions, credits and photos for The World's Most Beautiful Castles
// 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_bamburgh.jpg";
SSPhotoCredit[z] = "Courtesy Nick McCann";
SSPhotoCaption[z] = "<strong>Bamburgh Castle</strong> stands on a rocky outcrop in Northumberland, England. The castle has served as a location for several movies, including Roman Polanski\'s 1971 version of <em>Macbeth</em>.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_bamburgh2.jpg";
SSPhotoCredit[z] = "Courtesy Nick McCann";
SSPhotoCaption[z] = "Held by King Henry II back in the 12th century, Bamburgh Castle is now owned by the descendants of a wealthy Victorian industrialist.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_leeds.jpg";
SSPhotoCredit[z] = "Courtesy Leeds Castle Foundation";
SSPhotoCaption[z] = "More than 900 years old, <strong>Leeds Castle</strong> regularly received Henry VIII as a guest. On the grounds are several mazes, a display on falconry, and a dog-collar museum.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_leeds2.jpg";
SSPhotoCredit[z] = "Adam Woolfitt/Robert Harding World Imagery/Corbis";
SSPhotoCaption[z] = "Leeds Castle was bought by the blueblooded Olive Wilson Filmer. She bought the castle for $873,000 in 1926, outbidding William Randolph Hearst in the process.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_eileandonan.jpg";
SSPhotoCredit[z] = "Gary Yeowell/Getty";
SSPhotoCaption[z] = "Dating back to 1220, Scotland\'s most famous castle, <strong>Eilean Donan</strong>, is in the middle of a loch, near the Isle of Skye.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_eileandonan2.jpg";
SSPhotoCredit[z] = "Matassa/Getty";
SSPhotoCaption[z] = "One of Eilean Donan's 20th-century restorers claimed that a dream helped him decide how the castle looked when it was first built. Plans that were later found at Edinburgh Castle proved that his hunch was correct.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_beaumaris.jpg";
SSPhotoCredit[z] = "Anders Blomqvist/Getty";
SSPhotoCaption[z] = "<strong>Beaumaris</strong> was built as part of the English king Edward I\'s attempt to conquer Wales. Work began in 1295, but the castle had still not been completed when the money ran out (as so often happened with castles), and it remains unfinished to this day. In the background are the foothills of the Snowdonia region.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_neuschwanstein.jpg";
SSPhotoCredit[z] = "&copy; <a href=http://www.schloesser.bayern.de/ target=_blank>Bayerische Schl&ouml;sserverwaltung</a>";
SSPhotoCaption[z] = "Ludwig II of Bavaria, also known as Mad King Ludwig, began planning his famous <strong>Neuschwanstein Castle</strong> in the 1860s. A century later it would inspire another visionary structure: Disneyland\'s Sleeping Beauty Castle is modeled extensively on it.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_neuschwanstein2.jpg";
SSPhotoCredit[z] = "DEA/M. Santini/Getty";
SSPhotoCaption[z] = "King Ludwig didn't get much chance to enjoy the over-the-top Neuschwanstein. In 1886, as the castle was nearing completion, he died under suspicious circumstances, with his body found floating in a lake.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_kronborg.jpg";
SSPhotoCredit[z] = "Marco Cristofori/Getty";
SSPhotoCaption[z] = "Dating back to the 1420s, the Danish <strong>Kronborg Castle</strong> in Helsing&oslash;r is one of the best-preserved castles from the Renaissance, although it has undergone many alterations since then.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_kronborg2.jpg";
SSPhotoCredit[z] = "Courtesy Kronborg Castle";
SSPhotoCaption[z] = "Kronborg Castle played an important role in Denmark\'s and Sweden\'s struggle for dominance over the sea, but it\'s even more famed as the setting for <em>Hamlet</em>.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_chateaudecastelnaud.jpg";
SSPhotoCredit[z] = "Simeone Huber/Getty";
SSPhotoCaption[z] = "The impressively fortified <strong>Ch&acirc;teau de Castelnaud</strong> is on limestone rocks above the Dordogne River in France. It overlooks a former enemy, the Ch&acirc;teau de Beynac. During the Hundred Years\' War, the English held Castelnaud and the French controlled Beynac.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_hautkoenigsbourg.jpg";
SSPhotoCredit[z] = "Jorisvo/iStockphoto.com";
SSPhotoCaption[z] = "France\'s <strong>Haut-Koenigsbourg Castle</strong> is positioned more than 2,000 feet above the Alsatian plain, a location that kept it safe for centuries. However, destruction did arrive after a siege, after which it was abandoned to become a romantic ruin. Now it\'s a popular tourist spot.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_bran.jpg";
SSPhotoCredit[z] = "Laski Diffusion/Wojtek Laski/Getty";
SSPhotoCaption[z] = "<strong>Bran Castle</strong> has only the most tenuous of connections with Vlad the Impaler, the real-life inspiration for Count Dracula, but there\'s no denying the spooky charm of its many turrets and towers.";
SSBorder[z] = "yes";
z++;

SSPhoto[z] = "ss_chateaudechillon.jpg";
SSPhotoCredit[z] = "Thomas J. Abercrombie/Getty";
SSPhotoCaption[z] = "It\'s hard to beat a location as idyllic as this. The <strong>Ch&acirc;teau de Chillon</strong> is on an island near the edge of Lake Geneva, Switzerland. It\'s also got a bit of celebrity cachet going for it: it got much more popular after Lord Byron published his long poem \"The Prisoner of Chillon\" after a visit; the work refers to the castle\'s \"dungeons deep and old.\"";
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>The World\'s Most Beautiful Castles<\/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/0901_BeautifulCastles/index.html&type=Newsletter&title=Beautiful_Castles_of_the_World_slide_show&site=newsletter&sent=no');\">E-mail this to a friend<\/a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"javascript:parentCheck('/bt-dyn/content/article/2008/12/31/AR2008123101788.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/2008/10/27/AR2008102702037.html')>Transylvania\'s Revamped Guesthouses<\/a><\/li>";
	finalHTML += "<li><a href=javascript:parentCheck('/bt-dyn/content/article/2006/08/08/AR2006080800542.html')>Germany\'s Castle Hotels: Fairy Tales Do Come True<\/a><\/li>";
	finalHTML += "<li><a href=javascript:parentCheck('/bt-dyn/content/article/2007/06/12/AR2007061201249.html')>The Wizarding World of Harry Potter<\/a><\/li>";
	finalHTML += "<li><a href=javascript:parentCheck('/bt-dyn/content/article/2007/05/29/AR2007052901264.html')>Secret Hotels of Sicily<\/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/europe/')><strong>Europe</strong><\/a>.";
	finalHTML += "<\/div>";