function widenCols(txElem) { var colWidth = parseInt(txElem.attributes["cols"].nodeValue, 10) txElem.attributes["cols"].nodeValue = (colWidth * 1.1) }