// Footer.js - tulostaa asiakaspalvelu & laskutus -linkit sivun loppuun

// 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/
{ coded = "dNwB@Kh.wd"
  key = "D81ho49GLupEW0BJFbent2IVrslZKNafPHcQ3TjOgwYXM7iRkAU6yzCxdmv5qS"
  shift=coded.length
  link=""
  for (i=0; i<coded.length; i++) {
    if (key.indexOf(coded.charAt(i))==-1) {
      ltr = coded.charAt(i)
      link += (ltr)
    }
    else {     
      ltr = (key.indexOf(coded.charAt(i))-shift+key.length) % key.length
      link += (key.charAt(ltr))
    }
  }
document.write("asiakaspalvelu: <a href='mailto:"+link+"'>"+link+"</a><br />")
}

{ coded = "dK3tA8A3@hH.lG"
  key = "W9NKzQc48ip03eRBwqLEf5mGj71hZUVgxTlv6DobSuk2nXHrdOJaIyYAtCFPsM"
  shift=coded.length
  link=""
  for (i=0; i<coded.length; i++) {
    if (key.indexOf(coded.charAt(i))==-1) {
      ltr = coded.charAt(i)
      link += (ltr)
    }
    else {     
      ltr = (key.indexOf(coded.charAt(i))-shift+key.length) % key.length
      link += (key.charAt(ltr))
    }
  }
document.write("laskutus: <a href='mailto:"+link+"'>"+link+"</a>")
}

