//==========Homepage/Galleries Page==========
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

function redirectPath() { 
  re = /((www.)?joerallen.smugmug.com)/; 
  tmp = window.location.href; 
  if (re.test(tmp)) { 
    tmp = tmp.replace(re, 'www.joerallen.com'); 
    window.location.href = tmp; 
  } 
}













//==========Right Click Warning==========
redirectPath(); 
rightClickWarning = "All photos are property of Joe R Allen. Unauthorized use is prohibited";















