giusto...
codice:
bodyValue=document.Form1.text.value;
bodyValue=bodyValue.replace(/\r\n/g,'
');