rem: if (aStr.length > fixedLen) { if (doFront) { var endStr = aStr.substr(aStr.length-fixedLen, fixedLen); var str = "..." + endStr; return str; } else { var frontStr = aStr.substr(0, fixedLen); var str = frontStr + "..."; return str; } } return aStr; 
add: if (aStr.length <= fixedLen) return aStr;  if (doFront) return "..." + aStr.substr(aStr.length-fixedLen, fixedLen);  return aStr.substr(0, fixedLen) + "..."; 
context: function elipseString(aStr, doFront){  if (aStr.length > 3 && (aStr.substr(0, 3) == "..." || aStr.substr(aStr.length-4, 3) == "...")) {    return aStr;  }  var fixedLen = 64;  if (aStr.length > fixedLen) {    if (doFront) {      var endStr = aStr.substr(aStr.length-fixedLen, fixedLen);      var str = "..." + endStr;      return str;    } else {      var frontStr = aStr.substr(0, fixedLen);      var str = frontStr + "...";      return str;    }  }  return aStr;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/7017f5750d9b84c4e97e58393dba259da2a59e18/printPreviewProgress.js/clean/toolkit/components/printing/content/printPreviewProgress.js