var _wh = ((document.location.protocol=='https:') ? "https://sec1.woopra.com" : "http://static.woopra.com");
document.write(unescape("%3Cscript src='" + _wh + "/js/woopra.js' type='text/javascript'%3E%3C/script%3E"));

rightClickWarning = "All photos are property of Brian Fluharty Photography. All rights reserved. Unauthorized use is prohibited.";

function AddReferralCode()
  {
  	var footerDiv = document.getElementById("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=81P669YakyVEw";
  		}
  	}
  }
  
  function OnLoadHandler()
  {
  	AddReferralCode();
  }

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

// change the link on the SmugMug Logo

YE.onAvailable('homelink', function(e) {
    this.href = "http://www.brianfluhartyphotography.com/galleries/";
    this.firstChild.alt = "Brian Fluharty Photography";
    this.firstChild.title = "Brian Fluharty Photography";
});

// removes the pipes characters in the toolbar header

YE.onAvailable('toolbar', function(e) {
this.innerHTML = this.innerHTML.replace(new RegExp(/\|/g),"");
});

function norobotmail(aUser, aDomain) { 
document.location = "mailto:" + aUser + "@" + aDomain;
}
filmstripMove = 0;




