(function(){ if (document.getElementById('chronicfile-album-82')) { return; /* Don't need the same album coming up more than once per page */ } /*********************** Get the 'ajax' code for getting new pictures******************/ script = document.createElement('script'); script.setAttribute('src', 'http://chronicfile.com/javascripts/show_album_picture.js'); document.getElementsByTagName('head')[0].appendChild(script); document.write(' '); document.write('
'); document.write('
'); document.write('
'); document.write('
'); /**************** Get max height ***************/ /**************** Setup general info for the album thumbnails ***************/ /**************** Setup information for the first picture ****************/ /**************** Make large pictures fit into the album holder ***************/ /***************** Display the thumbnail ******************/ document.write(''); document.write('\"\"'); document.write(''); /**************** Setup information for the first picture ****************/ /**************** Make large pictures fit into the album holder ***************/ /***************** Display the thumbnail ******************/ document.write(''); document.write('\"\"'); document.write(''); /**************** Setup information for the first picture ****************/ /**************** Make large pictures fit into the album holder ***************/ /***************** Display the thumbnail ******************/ document.write(''); document.write('\"\"'); document.write(''); /**************** Setup information for the first picture ****************/ /**************** Make large pictures fit into the album holder ***************/ /***************** Display the thumbnail ******************/ document.write(''); document.write('\"\"'); document.write(''); /**************** Setup information for the first picture ****************/ /**************** Make large pictures fit into the album holder ***************/ /***************** Display the thumbnail ******************/ document.write(''); document.write('\"\"'); document.write(''); /**************** Setup information for the first picture ****************/ /**************** Make large pictures fit into the album holder ***************/ /***************** Display the thumbnail ******************/ document.write(''); document.write('\"\"'); document.write(''); /**************** Setup information for the first picture ****************/ /**************** Make large pictures fit into the album holder ***************/ /***************** Display the thumbnail ******************/ document.write(''); document.write('\"\"'); document.write(''); //document.write('Get album'); document.write('
'); /************************* Style the album-body **************************/ albumBody = document.getElementById('chronicfile-album-82'); albumBody.style.backgroundColor = "#CED4B6"; albumBody.style.maxWidth = "670px"; albumBody.style.border = "1px solid #99A664"; albumBody.style.borderBottom = "0"; /************************* Style the album strip ****************************/ albumStrip = document.getElementById('album-strip-82'); albumStrip.style.textAlign = "center"; albumStrip.style.backgroundColor = "#b9c391"; albumStrip.style.padding = "4px 0 2px 0"; albumStrip.style.borderTop = "1px solid #99A664"; /************************** Load first picture in album *********************/ currentPicHolder = document.getElementById('picture-holder-82'); currentPicHolder.style.textAlign = "center"; currentPicHolder.style.marginBottom = "4px"; currentPicHolder.style.paddingTop = "4px"; currentPicHolder.style.height = "661px"; currentPicHolder.style.width = "670px"; currentPicHolder.innerHTML = ""; /*********************** Show the album **********************/ document.getElementById('chronicfile-album-82').style.display = 'block'; document.write('
') })()