function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");

if (hasPath("clips"))
YD.addClass(document.body, "clips");

if (hasPath("about"))
YD.addClass(document.body, "about");

if (hasPath("contact"))
YD.addClass(document.body, "contact");

function SendMail()
{
document.location="mailto:bg@breannagaddie.com";
}