rem: document.REPLY.message.value=revisedMessage; document.REPLY.message.focus(); 
add: document.post.message.value=revisedMessage; document.post.message.focus(); 
context: function DoPrompt(action) {var revisedMessage;var currentMessage = document.REPLY.message.value;if (action == "url") {var thisURL = prompt(""._PNFORUM_BBCODE_ENTER_URL."", "http://");var thisTitle = prompt(""._PNFORUM_BBCODE_ENTER_SITE_TITLE."", ""._PNFORUM_BBCODE_ENTER_PAGE_TITLE."");var urlBBCode = "[URL="+thisURL+"]"+thisTitle+"[/URL]";revisedMessage = currentMessage+urlBBCode;document.REPLY.message.value=revisedMessage;document.REPLY.message.focus();return;}if (action == "email") {var thisEmail = prompt(""._PNFORUM_BBCODE_ENTER_EMAIL_ADDRESS."", "");var emailBBCode = "[EMAIL]"+thisEmail+"[/EMAIL]";revisedMessage = currentMessage+emailBBCode;document.REPLY.message.value=revisedMessage;document.REPLY.message.focus();return;}if (action == "bold") {var thisBold = prompt(""._PNFORUM_BBCODE_ENTER_TEXT_BOLD."", "");var boldBBCode = "[B]"+thisBold+"[/B]";revisedMessage = currentMessage+boldBBCode;document.REPLY.message.value=revisedMessage;document.REPLY.message.focus();return;}if (action == "italic") {var thisItal = prompt(""._PNFORUM_BBCODE_ENTER_TEXT_ITALIC."", "");var italBBCode = "[I]"+thisItal+"[/I]";revisedMessage = currentMessage+italBBCode;document.REPLY.message.value=revisedMessage;document.REPLY.message.focus();return;}if (action == "image") {var thisImage = prompt(""._PNFORUM_BBCODE_ENTER_WEBIMAGE_URL."", "http://");var imageBBCode = "[IMG]"+thisImage+"[/IMG]";revisedMessage = currentMessage+imageBBCode;document.REPLY.message.value=revisedMessage;document.REPLY.message.focus();return;}if (action == "quote") {var quoteBBCode = "[QUOTE]  [/QUOTE]";revisedMessage = currentMessage+quoteBBCode;document.REPLY.message.value=revisedMessage;document.REPLY.message.focus();return;}if (action == "code") {var codeBBCode = "[CODE]  [/CODE]";revisedMessage = currentMessage+codeBBCode;document.REPLY.message.value=revisedMessage;document.REPLY.message.focus();return;}if (action == "listopen") {var liststartBBCode = "[LIST]";revisedMessage = currentMessage+liststartBBCode;document.REPLY.message.value=revisedMessage;document.REPLY.message.focus();return;}if (action == "listclose") {var listendBBCode = "[/LIST]";revisedMessage = currentMessage+listendBBCode;document.REPLY.message.value=revisedMessage;document.REPLY.message.focus();return;}if (action == "listitem") {var thisItem = prompt(""._PNFORUM_BBCODE_ENTER_LIST_ITEM."", "");var itemBBCode = "[*]"+thisItem;revisedMessage = currentMessage+itemBBCode;document.REPLY.message.value=revisedMessage;document.REPLY.message.focus();return;}}
meta: 5124	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5124/5c42b14e4c93f0dee95889412f2644d4a10739c2/jscript_forum.js/clean/pnForum/pnjavascript/jscript_forum.js