// Copyright (c) SpuyMore Web/Applications

function deobfuscate(sCoded, sKey)
{
  // Deobfuscates text obscured by http://www.jottings.com/obfuscator.htm
  for (var iPos = 0, sLink = '', iCodeLng = sCoded.length, iKeyLng = sKey.length, sChar; iPos < iCodeLng; iPos++)
    sLink += (sKey.indexOf(sChar = sCoded.charAt(iPos)) == -1) ? sChar : sKey.charAt((sKey.indexOf(sChar) - iCodeLng + iKeyLng) % iKeyLng);
  return sLink;
}

