﻿/*	
 *		Javascript Mailto spam protector
 *		http://www.sloppycode.net/code-snippets/javascript/mailto-spam.aspx
 */

function decode(l, shift) {  
    g = ""; c = "";  
	for (i=0; i<l.length; i++) {
		c = l.charAt(i);
		g += String.fromCharCode(c.charCodeAt(0) - shift);
	}  
    window.location.href = g;  
}