function es_cape(str) {
  var temp="",i,l,c=0,out="";
 l=0;
 if(str=="")return;
 while(l<=str.length-1)
 {
 out=out+str.charCodeAt(l)+'.';
 l++;
 }
return out;
 }



 function unes_cape(str) {
var temp="",i,c=0,out="";

l=str.length;
while(c<=str.length-1)
  {
  while(str.charAt(c)!='.')temp=temp+str.charAt(c++);
  c++;out=out+String.fromCharCode(temp);temp="";
  };
return out;
}

