rightClickWarning = "All photos are © Eric M. Todd. All rights reserved. Unauthorized use is prohibited.";

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

      <!-- Hide Categories -->
function delCategory() {
  re = /\/(Personal|Other)$/;

  var oList = YD.getElementsByClassName('miniBox', 'div', this);

  for (i = 0; i < oList.length; i++) {
    if (re.test(oList[i].getElementsByTagName('a')[0].href))
      oList[i].parentNode.removeChild(oList[i]);
  }
}
YE.onContentReady('categoriesBox', delCategory);
     <!-- End Hide Categories -->