/* devbobo's galleries "hack".  With this in place, you can use the 
   /galleries link, and CSS customization to make the .homepage and
   .galleries "pages" have distinct looks
*/
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

if (hasPath("galleries"))
YD.addClass(document.body, "galleries");

/* This allows the 'email me' link to work without explicitly providing
   my e-mail address
 */
function norobotmail(aUser, aDomain) { document.location = "mailto:" + aUser + "@" + aDomain; }

/* filmStrip values you can override, controls the speed of filmstrip movement when
 * mouse is hovering over the left/right arrows
 * from http://www.dgrin.com/showthread.php?p=236809#post236809
 */
rightMoves = -5;
leftMoves = 5;
