﻿// Email obfuscator script 2.1 by Tim Williams, University of Arizona
// Random encryption key feature by Andrew Moulden, Site Engineering Ltd
// This code is freeware provided these four comment lines remain intact
// A wizard to generate this code is at http://www.jottings.com/obfuscator/
function mail(){ 
  coded3 = "ohznqkR4@0fkRrbz6bzGqhGh.oqk"
  key3 = "5LDXOmlM4CgYIobT3e2x6ZsKNFutU7ayPkA9vSpWHqr1dRBci8zwEVhnQJfGj0"
  shift3=coded3.length
  link3=""
  for (i=0; i<coded3.length; i++) {
    if (key3.indexOf(coded3.charAt(i))==-1) {
      ltr3 = coded3.charAt(i)
      link3 += (ltr3)
    }
    else {
      ltr3 = (key3.indexOf(coded3.charAt(i))-shift3+key3.length) % key3.length
      link3 += (key3.charAt(ltr3))
    }
  }
document.write("<a href='mailto:"+link3+"'>" + link3 + "</a>")
}
