 <!--
 function xmlhttpPost(strURL,form,showwhere,var1,var2,var3,var4,var5,var6,var7) {
                    var xmlHttpReq = false;
                    var self = this;
                    // Mozilla/Safari
                    if (window.XMLHttpRequest) {
                        self.xmlHttpReq = new XMLHttpRequest();
                    }
                    // IE
                    else if (window.ActiveXObject) {
                        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
                    }
                    self.xmlHttpReq.open('POST', strURL, true);
                    self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
                    self.xmlHttpReq.onreadystatechange = function() {
                        if (self.xmlHttpReq.readyState == 4) {
                            updatepage(self.xmlHttpReq.responseText, showwhere);
                        }
                    }
                    self.xmlHttpReq.send(getquerystring(form,var1,var2,var3,var4,var5,var6,var7));
                }

                function getquerystring(form,var1,var2,var3,var4,var5,var6,var7) {
                var var1;
                var var2;
                    var form = document.forms[form];
                    var word = form.var1.value;
                    var word2 = form.var2.value;
                    var word3 = form.var3.value;
                    var word4 = form.var4.value;
                    var word5 = form.var5.value;
                    var word6 = form.var6.value;
                    var word7 = form.var7.value;
                   // qstr = 'question_text=' + escape(word)+'&answer_text='+escape(word2)+'&question_type='+escape(word3)+'&question_options='+escape(word4)+'&privacy='+escape(word5)+'&custom_answer='+escape(word6)+'&question_category='+escape(word7)+'&event_id='+escape(word8)+'&questionnaireID='+escape(word9)+'&question_create='+escape(word10)+'&question_id='+escape(word11)+'&question_options1='+escape(word12)+'&question_options2='+escape(word13)+'&question_options3='+escape(word14);  // NOTE: no '?' before querystring
                    qstr = var1+'='+escape(word)+'&'+var2+'='+escape(word2)+'&'+var3+'='+escape(word3)+'&'+var4+'='+escape(word4)+'&'+var5+'='+escape(word5)+'&'+var6+'='+escape(word6)+'&'+var7+'='+escape(word7);
                return qstr;

                }

                function updatepage(str, showwhere){
                    document.getElementById(showwhere).innerHTML = str;
                }

                //-->