function showDivSection(elementID) {
    var element = document.getElementById(elementID);
    Effect.Appear(element);
}

function setMailTempListLink() {
    var stringBuffer = "";
    var allNames = getElementsByClassName("linkName");
    var allUrls = getElementsByClassName("linkURL");
    var nonClickableLinkWarning = "";

    for (var i = 0; i < allNames.length; i++)
    {
        allUrls[i].innerHTML = encodeURIComponent(allUrls[i].innerHTML);
        stringBuffer += allNames[i].innerHTML + " http://" + window.location.host + allUrls[i].innerHTML + "%0A";
    }

    nonClickableLinkWarning = "Note: If the above link does not work please copy and paste the link into your web browser";

    document.getElementById("mailToLink").href = "mailto:?subject=InformAlberta.ca - Service List&body=A user from InformAlberta.ca sent you the following list of services:%0A%0A"
                                                 + stringBuffer + "%0A" + nonClickableLinkWarning.toString()
                                                 + "%0A%0A%0A%0A%0A Message sent from InformAlberta.ca - Alberta's Province-Wide Service Directory %0A http://www.informAlberta.ca";
}

