rightClickWarning = "Copyright for this photo belongs solely to Travis Novitsky. All rights reserved. Unauthorized use is prohibited."; 

function ModifyText ()
{
  if (YD.hasClass(document.body, "gallery_2739011")) 
  {
    var objElement = YD.get("comment")
    if (objElement != null) 
    {
      var str = new String(objElement.innerHTML);
      str = str.replace(/\gallery/gi, 'Guestbook');
      objElement.innerHTML = str;
    }
  }
}

YE.onAvailable("comment", ModifyText);

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

function insertSlideshowNoClick(width, height, parms, transparency)
{
    var isClickURL = false;
    var gifHeight = height;
    var gifWidth = width;
    
    // it appears that the default for showThumbs is true
    if ((!parms.showThumbs) || ((parms.showThumbs == "true") && (height > 100)))
    {
        gifHeight -= 87;
    }
    // can't support the startButton because it will never get clicked
    if (parms.showStartButton)
    {
        delete parms.showStartButton;
    }
    // can't support the buttons because they will never get clicked
    if (parms.showButtons)
    {
        parms.showButtons = "false";        
    }
    document.write('<div id="slideshowContainerWrapper" style="position:relative;">\n');
    if (parms.clickUrl && (parms.clickUrl != "blank") && (parms.clickUrl != "false"))
    {
        isClickURL = true;
        var newWindowText = "";
        if (parms.newWindow && (parms.newWindow == "true"))
        {
            newWindowText = ' target="_blank" ';
        }
        document.write('<a href="' + parms.clickUrl + '"' + newWindowText + '>');
    }
    document.write('<img src="/img/spacer.gif" border="0" style="position:absolute;" height="' + gifHeight + '" width="' + gifWidth + '" oncontextmenu="return false;">\n');
    if (isClickURL)
    {
        document.write('</a>');
    }
    SM.flash.insertSlideshow(width, height, parms, transparency);
    document.write("</div>");
}