function ShowLeft(){
var LenString,LenStringI,Strings;
LenString=fucCheckLength(document.getElementById("<%=txtDetailDesc.ClientID %>").value);
LenStringI=LenString;
if (LenString>1000){
alert("输入的字符长度不能超过1000(汉字500个)!");
Strings=document.getElementById("<%=txtDetailDesc.ClientID %>").value;
while(LenStringI>1000){
if ((Strings.charCodeAt(Strings.length)>=0) && (Strings.charCodeAt(Strings.length)<=255)){
LenStringI=LenStringI-1;
}
else{
LenStringI=LenStringI-2;
}
Strings=Strings.substring(0,(Strings.length-1));
}
document.getElementById("<%=txtDetailDesc.ClientID %>").value=Strings;
return false;
}
}