"; HTMLstr += "\"photo\""; HTMLstr += ""; HTMLstr += "
" + photoCredit + "
"; HTMLstr += "
" + photoCaption + "
"; return HTMLstr; } //end functions for Travel flash slideshows //begin functions for Global flash slideshows function writeEmbeddedFlashSlideShow(xmlFile){ var swfFile = "/slideshow/swf/slideshow.swf?XMLfile=/slideshow/xml/" + xmlFile; var HTMLstr = ""; HTMLstr += ""; HTMLstr += ""; HTMLstr += ""; HTMLstr += ""; HTMLstr += ""; HTMLstr += ""; return HTMLstr; } function showFirstEmbeddedSlide(imgName, photoCredit, photoCaption){ var HTMLstr = ""; HTMLstr += ""; HTMLstr += "\"photo\""; HTMLstr += ""; HTMLstr += "
" + photoCredit + "
"; HTMLstr += "
" + photoCaption + "
"; return HTMLstr; } //end functions for Global flash slideshows function preloadNavImages(imageNames, imagePath){ var loadedImages = new Array(); if (document.images) { for (var i=0; i < imageNames.length; i++){ loadedImages[i] = new Image(); loadedImages[i].src = imagePath + "nav_" + imageNames[i] + "_off.gif"; } } } function readCookie(value){ var allCookieVals = document.cookie.split(";"); for (var i=0; i < allCookieVals.length; i++){ //loop through all cookies if (allCookieVals[i].indexOf(value) != -1) { //find target cookie var cookieVal = allCookieVals[i].split("="); //split name/value pair return cookieVal[1]; //return target cookie value } } } //-->