rem: var attach_signature = '' var sigObj = $('attach_signature'); if(sigObj) { attach_signature = '&attach_signature=' + sigObj.value; }  var subscribe_topic; var subObj = $('subscribe_topic'); if(subObj) { subscribe_topic = '&subscribe_topic=' + subObj.value; }  var pars = "module=pnForum&type=ajax&func=newtopic" + "&forum=" + $F('forum') + "&subject=" + encodeURIComponent($F('subject')) + "&message=" + encodeURIComponent($F('message')) + attach_signature + subscribe_topic + "&authid=" + $F('authid'); 
add: var pars = 'module=pnForum&type=ajax&func=newtopic' + '&forum=' + $F('forum') + '&subject=' + encodeURIComponent($F('subject')) + '&message=' + encodeURIComponent($F('message')) + '&attach_signature=' + getcheckboxvalue('attach_signature') + '&subscribe_topic=' + getcheckboxvalue('subscribe_topic') + '&authid=' + $F('authid'); 
context: function createnewtopic(){    if(newtopicstatus==false) {        if($F('subject') == '') {            // no subject            return;        }        if($F('message') == '') {            // no text            return;        }                newtopicstatus = true;        showpnforuminfo(storingPost);                var attach_signature = ''        var sigObj = $('attach_signature');        if(sigObj) {            attach_signature = '&attach_signature=' + sigObj.value;        }                var subscribe_topic;        var subObj = $('subscribe_topic');        if(subObj) {            subscribe_topic = '&subscribe_topic=' + subObj.value;        }        var pars = "module=pnForum&type=ajax&func=newtopic" +                     "&forum=" + $F('forum') +                    "&subject=" + encodeURIComponent($F('subject')) +                   "&message=" + encodeURIComponent($F('message')) +                                 attach_signature +                               subscribe_topic +                    "&authid=" + $F('authid');        Ajax.Responders.register(pnf_globalhandlers);        var myAjax = new Ajax.Request(                                                      "index.php",                                                        {                                                                       method: 'post',                                                     parameters: pars,                                                   onComplete: createnewtopic_response                        }                                                                   );                  }}
meta: 5124	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5124/a13b4550e91bca9af0676f7a5b7ec8e1c9cc46a6/pnforum_user.js/clean/pnForum/pnjavascript/pnforum_user.js