function decodeText(text,key) {
	var newText="";
	for(c=0;c<text.length;c++) {
		cc=text.charCodeAt(c);
		//il carattere "#" fuori dal range 45-122, è stato usato al posto di "\"
		cc=(cc==35?92:cc);
		if((cc>=45) && (cc<=122)) {
			cc-=key;
			cc=(cc<45?(123-(45-cc)):cc);
		}
		newText+=String.fromCharCode(cc);
	}
	return newText;
}

