
function derot(str,x) {
	var res = '';
	for (i=0; i<str.length; i++) {
		var chr = str.charCodeAt(i);
		newindex = chr - x;
		if (newindex<32) {
			newindex+=90;
		}
		res+= String.fromCharCode(newindex);
	}
	return res;
}

