/*============================================*/
/*============= Google Analytics =============*/
/*============================================*/
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
try {
var pageTracker = _gat._getTracker("UA-3813466-6");
pageTracker._trackPageview();
} catch(err) {}

/*============================================*/
/*============= Remove Pipes in Footer =======*/
/*============================================*/

YE.onAvailable("cobrand_footer", function() {this.innerHTML = this.innerHTML.replace(/\||what are feeds\?/gi, '');});


/*============================================*/
/*======= Remove Text Bubble on Hover ========*/
/*============================================*/

function delHover() {
    oLst = YD.getElementsBy(function(el) {return (YD.hasClass(el,'imgBorder') || YD.hasClass(el,'imgBorderOn'))},'img');
    for (i=0; i < oLst.length ; i++) {
        if (oLst[i].title && oLst[i].title != '') oLst[i].title = '';
        if (oLst[i].alt && oLst[i].alt != '') oLst[i].alt = '';
    }
}
YE.onContentReady('bodyWrapper', function() {if (!YD.hasClass(document.body, 'smugmug_ajax')) delHover()});
onPhotoShow.subscribe(function(){YE.onAvailable('mainImage', delHover)});

/*======================================*/
/*== Stop Auto Scrolling in Filmstrip ==*/
/*======================================*/

filmstripMove = 0;

/*============================================*/
/*======= Intvert Filmstrip Scroll Dir =======*/
/*============================================*/
rightMoves = -5;
leftMoves = 5;
