smugLoads[smugLoads.length] = "showFileName();"
function showFileName() {
    bodyClass = document.getElementsByTagName("body")[0].className;
    if (bodyClass.indexOf("galleryPage") != -1 && mainPhotoFileName != '' && (galleryStyle == 'smugmug' || galleryStyle == 'smugmug_small')) {    
        document.getElementById('caption_top').innerHTML = '<span class="title">filename:</span> '+mainPhotoFileName;
        document.getElementById('caption_top').style.display = "block";
    }
}