function AddReferralCode()  {
   var footerDiv = YD.get("footer");
   if (footerDiv)  {
     var links = footerDiv.getElementsByTagName("A");
     if (links && (links.length != 0)) {
       var smugLink = links.item(0);
       smugLink.href = "http://www.smugmug.com/?referrer=6uP41uzArSoVc";
     }
  }
}
YE.onAvailable('footer', AddReferralCode);

rightClickWarning = "All photographs on this Web site are the sole property of Christopher J. Yetter and www.cjyphoto.com. Any duplication or reproduction of any of these images by any method whatsoever including being copied, saved, printed, or used either for personal or commercial use, without the express written consent from Christopher J. Yetter and www.cjyphoto.com is prohibited by federal copyright laws. That being said. If asked I'm mostly generous to a fault about giving small size files to those who ask.:)"



photoBarDelay = 1;


// Facebook button
  var pos = window.document.URL.indexOf("gallery");
     if (pos > 0 && SM) {
        var thisURL = webServer + "/gallery/" + AlbumID + "_" + AlbumKey + "/1/" + ImageID + "_" + ImageKey ;
   
	SM.buttons.FacebookButton = new YAHOO.widget.Button({
		id: 'Share on Facebook',
		label: 'Share on Facebook',
		container: 'altViews',
		type: 'link',
		href: 'http://www.facebook.com/share.php?u='+thisURL+'&t=SmugMug+Image',
		target: '_blank',
		className: 'sm-button sm-button-small facebookButton glyphButton menuButton share_button'
	});
     }



