// YUI (Yahoo UI APIs) calls to tweek the Smugmug UI for some personalization

// change the link on the SmugMug Logo to my home page (the smugmug logo was changed
// to my kinderpics logo in the css section)
YE.onAvailable('homelink', function(e) {
    this.href = "http://kinderpics.smugmug.com/";
    this.firstChild.alt = "kinderpics - photography by david kinder";
    this.firstChild.title = "kinderpics - photography by david kinder";
});

// personalized rightClick message
rightClickWarning = "All photos (c) 2005-2009 David Kinder - kinderpics Photography. All rights reserved. Please add photos to your shopping cart to get digital downloads, or purchase prints and other fun stuff."


// change "featured galleries" title...
YE.onAvailable('featuredTitle', function() {this.innerHTML = 'Recent Galleries'});

// change "gallery categories" title...
YE.onAvailable('categoryTitle', function() {this.innerHTML = 'All Galleries'});

 
// removes the pipes characters in the toolbar header
// 
//YE.onAvailable('toolbar', function(e) {
//this.innerHTML = this.innerHTML.replace(new RegExp(/\|/g),"");
//
//});