﻿    
// eMail Obfuscator Script 1.31 by Tim Williams - freeware
function email_link() {
    // just the address is 
    // output Peter's email address
    document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,105,110,102,111,64,109,101,112,99,111,110,115,117,108,116,97,110,99,121,46,99,111,109,34,62,105,110,102,111,64,109,101,112,99,111,110,115,117,108,116,97,110,99,121,46,99,111,109,60,47,97,62));
}

function email() {
    document.write(String.fromCharCode(105,110,102,111,64,109,101,112,99,111,110,115,117,108,116,97,110,99,121,46,99,111,109));
}

//-----------
// EmptyField - form validation
// if a field is empty, output warning and return true
//-----------
function EmptyField( input, fieldname ) {
    if ( isEmpty( input.value ) ) {
        input.focus() ;
        alert ("You did not enter a value for '" + fieldname  +
            "'\n\nThis is a required field. Please enter it now.");
        return true ;
    }
    return false ;
}

// return true if the string is null or its length = 0
function isEmpty(str) {
    return ((str == null) || (str.length == 0))
}