function ReformatLinks(divid) { var obj = document.getElementById(divid); var text = obj.innerHTML; var newHTML = ""; lines = text.split("\n"); for (i=0; i'+lines[i]+'
'; } obj.innerHTML = newHTML; } 1