function removeLineBreaks (form) {
	entry = form.r_questioncomments.value;
	out = "\n"; // replace this
	add = " "; // with this
	temp = "" + entry; // temporary holder
	
	temp = temp.replace(/(\r\n|\r|\n)/g, '\n');
	temp = temp.replace(/(\n)+/g, ' ');
/*	while (temp.indexOf(out) > -1) {
		pos = temp.indexOf(out);
		temp = "" + (temp.substring(0, pos) + add + 
		temp.substring((pos + out.length), temp.length));
	}
*/
	form.r_questioncomments.value = temp;
}