for ( var i = 0; i zForm.postBody.value.length; i++ ) { if ( zForm.postBody.value.charCodeAt(i) 255 ) docLen += 2; else docLen += 1; }