function addToEditPage(box, title, contents) { var rightbar = document.getElementById(box); newBox = '
'; rightbar.innerHTML +=newBox; } function addTag(tagname) { if (document.forms[0].tagset.value == "") { document.forms[0].tagset.value = tagname; } else { document.forms[0].tagset.value += ", " + tagname; } }