function ResizeTextArea(txtBox) { nCols = txtBox.cols; sVal = txtBox.value; nVal = sVal.length; nRowCnt = 1; for (i=0;i