function insertPagebreak(editor) { // Get the pagebreak title var title = document.getElementById("title").value; if (title != '') { title = "title=\""+title+"\" "; } // Get the pagebreak toc alias -- not inserting for now // don't know which attribute to use... var alt = document.getElementById("alt").value; if (alt != '') { alt = "alt=\""+alt+"\" "; } var tag = "
"; window.parent.jInsertEditorText(tag, 'description'); window.parent.document.getElementById('sbox-window').close(); return false; }