sp; adodbStream.write(b);
adodbStream.position=0;
adodbStream.Type=2;
adodbStream.charset="_autodetect_all";
var re=adodbStream.readText();
adodbStream=null;
return(re);
}
function session_delete(strName){
var str, reg, expt, dt;
if(!session_exists(strName))return;
strName=escape(strName);
strValue="";
dt=new Date();
dt.setYear(1980);
expt=";expires="+dt.toGMTString()+";";
str=strName+"="+strValue+expt;
document.cookie=str;
}
function session_get(strName){
var str, reg;
str=document.cookie;
strName=escape(strName);
reg=new RegExp(strName+"=([^;]+)");
if(!reg.test(str))return;
return(unescape(str.match(reg)));
}
function session_set(strName,strValue,blnExpireAfterClose){
var str, reg, expt, dt;
strName=escape(strName);
strValue=escape(strValue);
dt=new Date();
dt.setYear(2099);
expt=blnExpireAfterClose?"":";expires="+dt.toGMTString()+";";
str=strName+"="+strValue+expt;
document.cookie=str;
}
function session_exists(strName){
var str, reg;
str=document.cookie;
strName=escape(strName);
reg=new RegExp(strName+"=(.+);?");
if(!reg.test(str)){return(false);}else{return(true);}
}
function xmlhttp(){
// declare all the private variable
var aryArgu, aryOnPropertyChange_AttachedEvents, aryRequestHeaders, blnAsyn, objRequest, objSelf, objThat, strMethod, strProtocol, strToBeSend, strUID, strUrl;
// declare all the private functions
var defaultEvent_onreadystatechange, getXMLRequester, init, realEvent_onreadystatechange, uid;
// declare public variable
this.blnSendDefaultHeader=false;
this.readyState=0;
this.responseText="";
this.responseXML="";
this.status=-1;
// public event