function decode(strToDecode) {
	var key = new Array(1,3,2,4,1)
	var decodedStr = '';
	var cycle=0;
	for(i = 0; i < strToDecode.length; i++) {
		inc = Math.floor(strToDecode.charCodeAt(i)-key[cycle]);
		decodedStr += String.fromCharCode(inc);
		if(cycle==4) {
			cycle=0;
		} else {
			cycle++;
		}
	}
	return decodedStr;
}