﻿// ---------------------------
// function to prevent email being spidered
function noEspam(theName, theDomain, theLink) {
    if (theLink.length == 0) {
        theLink = theName + '@' + theDomain
    }
    document.write('<a href="mailto:' + theName + '@' + theDomain + '">' + theLink + '</a>')
}

function scrollToTop() {
    $.scrollTo('0px', 500);
    return false;
}
