function delHover() {
imgTags = document.getElementsByTagName("img");
for (i=0; i<imgTags.length; i++) {
imgTags[i].title = "";
imgTags[i].alt = "";
}
}

SM.SmugMug.config.size = 'large';


showPhotoBar = false;


rightClickWarning = "All photos are property of Kates Eye Photography. All rights reserved. Unauthorized use is prohibited." 

//filmStrip values you can override:
rightMoves = -3;
leftMoves = 3;

//*=========================*/
/*== VANITY URL         ==*/
/*=========================*/
var vanityTable = 
 {
     us : "http://www.kateseye.com/gallery/1446508",
     costarica : "http://www.kateseye.com/gallery/1424139",
     ireland: "http://www.kateseye.com/gallery/1446502",
     france: "http://www.kateseye.com/gallery/1445145",
     dr : "http://www.kateseye.com/gallery/1951123",
     assemble : "http://www.kateseye.com/gallery/1478532",
     chilcoat: "http://www.kateseye.com/gallery/2326486",
     abandonedhouse: "http://www.kateseye.com/gallery/2069385",
     wedding1 : "http://www.kateseye.com/gallery/1942244",
     wedding2 : "http://www.kateseye.com/gallery/1961777",
     wedding3: "http://www.kateseye.com/gallery/1961781",
     eyetoeye: "http://www.kateseye.com/gallery/1935388",
     aboutkate : "http://www.kateseye.com/gallery/2056265",
     pricing : "http://www.kateseye.com/gallery/2002047"
     
 };
 function IsHomePage()
 {
    return(YD.hasClass(document.body, 'homepage'));
 }
 
 function CheckRedirects()
 {
     if (IsHomePage())    // only run this code on the home page
     {
         // get the path from the current URL, 
         // convert it to lowercase and remove the leading slash
         var path = window.location.pathname.toLowerCase().substr(1);
         
         var newURL = vanityTable[path];        // look it up in our table
         
         // if we found it in the table && newURL is different than where we are
         if (newURL && (newURL != window.location))
         {
             window.location.replace(newURL);        // go to the new URL
         }
     }
 }




addEvent(window, "load", redoCart);
function redoCart() {
   bodyClass = document.getElementsByTagName("body")[0].className;
   if (bodyClass.indexOf("smugmug") != -1 || bodyClass.indexOf("journal") != -1 || bodyClass.indexOf("default") != -1 || bodyClass.indexOf("singleImage") != -1) {
      topCart = document.getElementById("albumNav_bottom").innerHTML;
      topCart = topCart.replace('this photo','this proof print');
      topCart = topCart.replace('multiple photos','multiple proof prints');
      document.getElementById("albumNav_bottom").innerHTML = topCart;
   }
}


filmstripMove = 0;

function doOnLoad()
{
if (window.AlbumID && window.AlbumID == "2056265") //
{
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;
if (divElm.className.indexOf("photo")<0) continue;
link.href = "javascript:void(0);";
}
}
function delHover() {
	imgTags = document.getElementsByTagName("img");
	for (i=0; i<imgTags.length; i++) {
		imgTags[i].title = "";
		imgTags[i].alt = "";
	}
}
function doOnLoad()
{
if (window.AlbumID && window.AlbumID == "2002047") //
{
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;
if (divElm.className.indexOf("photo")<0) continue;
link.href = "javascript:void(0);";
}
}
function doOnLoad()
{
if (window.AlbumID && window.AlbumID == "2056265") //
{
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;
if (divElm.className.indexOf("photo")<0) continue;
link.href = "javascript:void(0);";
}
}

