// JavaScript Document
function killCurses(entry) {
//var out = new Array(' ass ','@$$');

out = " war ";// replace this
add = "[CENSORED]"; // with this
temp = "" + entry; // temporary holder

while (temp.indexOf(out)>-1) {
pos= temp.indexOf(out);
temp = "" + (temp.substring(0, pos) + add + 
temp.substring((pos + out.length), temp.length));

}
document.addcomment.comment.value = temp;
}