var root_url = "http://www.zeijimu.com/"; var frmitm = ""; function inqfrm(itm) { frmitm = itm; obj = createXmlHttpRequest(frm_view); prm = ""; prm = addPrm(prm,"mode",""); url = root_url + "inquiry/inquiry.php"; obj.open("POST",url,true); obj.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); obj.send(prm); } function inqfrm_conf(frm) { obj = createXmlHttpRequest(frm_conf_view); prm = ""; prm = addPrm(prm,"mode","conf"); prm = addPrm(prm,"company",frm.company.value); prm = addPrm(prm,"name",frm.name.value); prm = addPrm(prm,"furi",frm.furi.value); prm = addPrm(prm,"maddr",frm.maddr.value); prm = addPrm(prm,"tel",frm.tel.value); prm = addPrm(prm,"zip",frm.zip.value); prm = addPrm(prm,"state",frm.state.value); prm = addPrm(prm,"addr1",frm.addr1.value); prm = addPrm(prm,"addr2",frm.addr2.value); //prm = addPrm(prm,"rtime",frm.rtime.value); for( i=0; i