function norobotmail(aUser, aDomain) { document.location = "mailto:" + aUser + "@" + aDomain; }

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");

rightClickWarning = "All photos are property of Sam Linville Photography. All rights reserved. Unauthorized use is prohibited. If you have any questions about obtaining or using this photo, please contact me"; 