function getXMLHttpObj() { var obj,isIE; isIE = true; try { obj = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e1) { try { obj = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e2) { isIE = false; } } if(!isIE) { try { obj = new XMLHttpRequest(); } catch(e3) { alert("Please use IE[No XMLHttp Support]"); } } return obj; } function request(method,url,content,headers,statusShowerObjId) { var xmlHttp = getXMLHttpObj(); var statusShower = null; var shwoTarget; var res; if(!isKong(statusShowerObjId)) { statusShower = document.getElementById(statusShowerObjId); } if(statusShower != null) { showTarget = "statusShower.value"; } else { showTarget = "window.status"; } eval(showTarget + " = \"Processing...\";"); xmlHttp.open(method,url,false); if(headers != null) { for(var i=0;i