function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");


rightClickWarning = "All images are ©copyright Nate Zeman. You may NOT use, replicate, manipulate, or modify this image without my permission. All Rights Reserved.";


function ModifyText ()
{
  if (YD.hasClass(document.body, "gallery_7211295")) 
  {
    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 delHover() {
	imgTags = document.getElementsByTagName("img");
	for (i=0; i<imgTags.length; i++) {
		imgTags[i].title = "";
		imgTags[i].alt = "";
	}
}









