MPBrowser.js
复制代码 代码如下:
varthisImgNo=290;
functionajaxConn(){
varxmlhttp=false;
try{xmlhttp=newActiveXObject("Msxml2.XMLHTTP");}
catch(e){try{xmlhttp=newActiveXObject("Microsoft.XMLHTTP");}
catch(e){try{xmlhttp=newXMLHttpRequest();}
catch(e){alert(e);xmlhttp=false;}}}
if(!xmlhttp)returnnull;
this.connect=function(Url,Method,postContent){
if(!xmlhttp)returnfalse;
Method=Method.toUpperCase();
try{
if(Method=="GET"){
xmlhttp.open(Method,Url+'?'+postContent,true);
xmlhttp.setRequestHeader("Content-Type","text/html;charset=GB2312");
sVars=null;
}else{
xmlhttp.open(Method,Url,true);
xmlhttp.setRequestHeader("Method","POST"+Url+"HTTP/1.1");
xmlhttp.setRequestHeader("Content-Type","application/x-/downfile/MPBrowser_v1.rar
喜欢的朋友顶一下:D。
