rightClickWarning = "All Images Copyright UC Stock Photo or original owner, 2009.  Unauthorized use prohibited.  For more information, please contact us at: legals@ucstockphoto.com"; rightClickWarning = "All photos are property of UC Stock Photo. All rights reserved. Unauthorized use is prohibited. For more information, contact us at feedback@ucstockphoto.com"; 

function AddReferralCode() {
var links = this.getElementsByTagName("A");
if (links && (links.length != 0)) {
var smugLink = links.item(0);
smugLink.href = "http://www.smugmug.com/?referrer=e9yknTreW5exk";
}
}
YE.onAvailable('footer', AddReferralCode);


function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
} 

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");


function doOnLoad() {
  if (window.AlbumID && (window.AlbumID == "6480499" || "6480491" || "6546876" || "6546951" || "6546980" || "6547021")) //
  removeLinkFromImg();
}

function removeLinkFromImg()

{

    var links = document.getElementsByTagName("A");

    for (var i = 0; i < links.length; i++)

    {

        var link = links[i];

        var divElm = link.parentNode;

        if (!divElm)

            continue;

        divElm = divElm.parentNode;

        if (!divElm)

            continue;

        if (divElm.className.indexOf("photo")<0)

            continue;

        link.href = "javascript:void(0);";

    }

}





