// change the link on the SmugMug Logo
// This changes the link referenced on mouseover of the logo
// to the URL designated by this.href.  Also, the text of the
// title box that appears next to the mouse when hovering over
// the logo is determined by this.firstChild.alt and
// this.firstChild.title references.
//
YE.onAvailable('homelink', function(e) {
    this.href = "http://studio.burbs.com/";
    this.firstChild.alt = "Burbs Studio Home Page";
    this.firstChild.title = "Burbs Studio Home Page";
});

YE.onAvailable('featuredTitle', function() {this.innerHTML = 'What\'s New'});

// remove the pipe characters in the toolbar header
YE.onAvailable('toolbar', function(e) {
this.innerHTML = this.innerHTML.replace(new RegExp(/\|/g),"");
});

// remove the pipe characters in the mini-footer
YE.onAvailable("cobrand_footer", function() {
this.innerHTML = this.innerHTML.replace(/\||what are feeds\?/gi, '');});

// Place the popup info box below gallery images instead of on top of them
SM.PhotoBar.config.position='bottom';