/*============================*/
/*== Virtual Gallery Pages ==*/
/*============================*/

function hasPath(sPath)
{
 re = new RegExp("\/" + sPath + "(\/|$)");
 return re.test(window.location)
}


/*============================================*/
/*============= Change Titles ===============*/
/*============================================*/

YE.onAvailable('keywordsTitle', function() {this.innerHTML = 'Top 100 Keywords - Click <a href="http://www.photoscapedesign.com/keyword">Here</a> To See All'});

YE.onAvailable('categoryTitle', function() {this.innerHTML = 'Photo Galleries'});

YE.onAvailable('popularTitle', function() {this.innerHTML = 'Popular Photos'});

YE.onAvailable('featuredTitle', function() {this.innerHTML = 'Featured Galleries'});

YE.onAvailable('mapTitle', function() {this.innerHTML = 'Travel Photos'});

YE.onAvailable('communitiesTitle', function() {this.innerHTML = 'Photo Communities - Click <a href="http://www.smugmug.com/community">Here</a>'});

YE.onAvailable('datesTitle', function() {this.innerHTML = 'Search By Date'});

YE.onAvailable('headerBoxTop2', function() {this.innerHTML = 'Search PhotoscapeDesign'});




