// Obfuscate the email address of the passed in name
// NameF - first name
// NameL - last name
// DisplayText - overrides display of email address if desired.  e.g. to say "Click here" etc

function CovertEmail(DomName,SpaceChar,ShowOne,ShowTwo,DisplayText){

    // use ascii characters for "MAILTO:" to hide from spiders
    var asciiMAILTO = 'ma' + '&#105;&#108;' + 'to' + '&#58;'; //-- creates the string 'ma il to :'

    // if DisplayText is empty, combine first name and last name with ascii character for "@"
    if (DisplayText == null || DisplayText== "" ){ DisplayText = ShowOne + NameL + '&#64;' + DomName;}

    return '<a href="' + asciiMAILTO + ShowOne + ShowTwo + '&#64;' + DomName + '">' + DisplayText + '</a>';
}

function CovertText(PartOne,PartTwo, PartThree){

    return PartOne + PartTwo + PartThree;
}