rem: text=passData.substr(0,idx) text=unescape(text).replace(/<br>/g,"\n") document.getElementById(textAreaFieldName).value =unescape(text) 
add: text = window.opener.document.getElementById(textAreaFieldName).value;   document.getElementById(textAreaFieldName).value = text;  
context: function setTextArea() {  passData=document.location.search.substring(1);  var idx=passData.indexOf("&textAreaFieldName=")  var idx2=passData.indexOf("&htmlFormAction=")  textAreaFieldName=passData.substring(idx+19,idx2)  text=passData.substr(0,idx)  text=unescape(text).replace(/<br>/g,"\n")  document.getElementById(textAreaFieldName).value =unescape(text)//  alert (escape(text))//  alert (unescape(text))}
meta: 433	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/433/12556f00405bcbc47886bd81d00d192e73c84272/kuali_application.js/clean/src/main/webapp/scripts/kuali_application.js