<!-- Code to join strings into email address -->

function sendmail(aUser, aDomain) {
    document.location = "mailto:" + aUser + "@" + aDomain;
}

<!-- Used to create the www.casadesol.net\galleries page -->

function hasPath(sPath)
{
  re = new RegExp("\/" + sPath + "(\/|$)");
  return re.test(window.location)