///The full-width space is 12288, and the half-width space is 32
///The correspondence between the half-width (33-126) and the full-width (65281-65374) of other characters is: the uniform difference is 65248
//Convert half-width to full-width function
function ToDBC(txtstring)
{
var tmp = "";
for(var i=0;i<;i++)
{
if((i)==32)
{
tmp= tmp+ (12288);
}
if((i)<127)
{
tmp=tmp+((i)+65248);
}
}
return tmp;
}
//Convert full-width to half-width function
function ToCDB(str)
{
var tmp = "";
for(var i=0;i<;i++)
{
if((i)>65248&&(i)<65375)
{
tmp += ((i)-65248);
}
else
{
tmp += ((i));
}
}
return tmp
}