/* ---------------------------------------------------------------------- *\
Arguments : n - The editor identifier (the textarea's ID)
\* ---------------------------------------------------------------------- */
function getInnerHTML(n) {
var getDocument = document.getElementById("wysiwyg" + n).contentWindow.document;
var browserName = navigator.appName;
var iHTML = "";
// View Source for IE
if (browserName == "Microsoft Internet Explorer") {
iHTML = getDocument.body.innerHTML;
// View Source for Mozilla/Netscape
}else {
iHTML = document.createTextNode(getDocument.body.innerHTML);
}
return iHTML;
}