亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? acc.js

?? 項(xiàng)目開(kāi)發(fā)過(guò)程中用到的ajax源代碼
?? JS
字號(hào):
function __System(){}

__System.IsString = function(value){
	return ((typeof(value) == "string")||((typeof value == "object") && (value instanceof String)));
}
__System.IsDate = function(value){
	return ((typeof value == "object") && (value instanceof String));
}
__System.IsRegExp = function(value){
	return ((typeof value == "object") && (value instanceof RegExp));
}
__System.IsArray = function(value){
	return ((typeof value == "object") && (value instanceof Array));
}
__System.IsNumber = function(value){
	return isNaN(value);
}
__System.IsBoolean = function(value){
	return ((typeof(value) == "boolean")||((typeof value == "object") && (value instanceof Boolean)));
}
function __Platform(){}
__System.Platform = __Platform;
__Platform.GetBrowser = function()
{
	if (typeof(navigator) == "undefined")
	{
		return "not-browser";
	}
	var ua = navigator.userAgent.toLowerCase();
	//if ((/gecko/i.test(ua)) && (parseFloat(ua.substr((ua.indexOf("firefox/") + 8),3)) >= 1.0))
	if (/gecko/i.test(ua))
	{
		return "mozilla";
	}
	else if (/opera/i.test(ua))
	{
		return "opera";
	}
	else if (/msie/i.test(ua))
	{
		if (/msie 7/i.test(ua))
		{
			return "ie7";
		}
		if (/msie 6/i.test(ua))
		{
			return "ie6";
		}
		else if (/msie 5\.5/i.test(ua))
		{
			return "ie5.5";
		}
		else if (/msie 5\.[^5]/i.test(ua))
		{
			return "ie5";
		}
		else
		{
			return "ie";
		}
	}
	return "other";
}
__Platform.Browser = __Platform.GetBrowser();
__Platform.BrowserIsIE = (__Platform.Browser.substr(0,2) == "ie");

//HTTP報(bào)頭類
function EnumHttpHeader(){}
//請(qǐng)求報(bào)頭
EnumHttpHeader.AcceptCharset = "Accept-Charset";
EnumHttpHeader.AcceptEncoding = "Accept-Encoding";
EnumHttpHeader.AcceptLanguage = "Accept-Language";
EnumHttpHeader.From = "From";
EnumHttpHeader.Host = "Host";
EnumHttpHeader.IfModifiedSince = "If-Modified-Since";
EnumHttpHeader.IfMatch = "If-Match";
EnumHttpHeader.IfNoneMatch = "If-None-Match";
EnumHttpHeader.IfRange = "If-Range";
EnumHttpHeader.IfUnmodifiedSince = "If-Unmodified-Since";
EnumHttpHeader.MaxForwards = "Max-Forwards";
EnumHttpHeader.ProxyAuthorization = "Proxy-Authorization";
EnumHttpHeader.Range = "Range";
EnumHttpHeader.Referer = "Referer";
EnumHttpHeader.UserAgent = "User-Agent";
//響應(yīng)報(bào)頭
EnumHttpHeader.Age = "Age";
EnumHttpHeader.Location = "Location";
EnumHttpHeader.ProxyAuthenticate = "Proxy-Authenticate";
EnumHttpHeader.Public = "Public";
EnumHttpHeader.RetryAfter = "Retry-After";
EnumHttpHeader.Server = "Server";
EnumHttpHeader.Warning = "Warning";
EnumHttpHeader.WWWAuthenticate = "WWW-Authenticate";
//通用報(bào)頭
EnumHttpHeader.CatchControl = "Catch-Control";
EnumHttpHeader.Connection = "Connection";
EnumHttpHeader.Date = "Date";
EnumHttpHeader.Pragma = "Pragma";
EnumHttpHeader.TransferEncoding = "Transfer-Encoding";
EnumHttpHeader.Upgrade = "Upgrade";
EnumHttpHeader.Via = "Via";
//實(shí)體報(bào)頭
EnumHttpHeader.Allow = "Allow";
EnumHttpHeader.ContentBase = "Content-Base";
EnumHttpHeader.ContentEncoding = "Content-Encoding";
EnumHttpHeader.ContentLanguage = "Content-Language";
EnumHttpHeader.ContentLength = "Content-Length";
EnumHttpHeader.ContentLocation = "Content-Location";
EnumHttpHeader.ContentMD5 = "Content-MD5";
EnumHttpHeader.ContentRange = "Content-Range";
EnumHttpHeader.ContentType = "Content-Type";
EnumHttpHeader.ETag = "ETag";
EnumHttpHeader.Expires = "Expires";
EnumHttpHeader.LastModified = "Last-Modified";


function HttpStatus(xmlHttpObj)
{
	if (arguments.length == 0){
		this.StatusCode = 0;
		this.StatusText = "";
	}
	else{
		this.StatusCode = xmlHttpObj.status;
		this.StatusText = xmlHttpObj.statusText;
	}
	
}




/*私有方法必須被定義在調(diào)用代碼之前,否則會(huì)出錯(cuò)*****************/
AsyncCommunicator.prototype.$Pri_GetXmlHttpObj = function()
{
    var xmlHttp=false;
	var msXML = ['MSxml2.XMLHTTP.5.0','MSxml2.XMLHTTP.4.0','MSxml2.XMLHTTP.3.0','MSxml2.XMLHTTP','Microsoft.XMLHTTP'];
          for(var i = 0; i < msXML.length; i ++){
            try{
              xmlHttp = new ActiveXObject(msXML[i]);
              break;
            }
            catch(ex){
              xmlHttp = false;
            }
          }
	if (!xmlHttp && typeof(XMLHttpRequest) != 'undefined') {
	  xmlHttp = new XMLHttpRequest();
	}
	
	// mozilla某些版本沒(méi)有readyState屬性
	if(xmlHttp){
		if (xmlHttp.readyState == null){
          		xmlHttp.readyState = 0;
          		xmlHttp.addEventListener("load", function (){},false);
	    }
	}
	return xmlHttp;          
};

AsyncCommunicator.prototype.$Pri_SendWith4Args = function(sendingTarget,sendingMethod,contentType,data)
{
	if ((!__System.IsString(sendingTarget)) || (!__System.IsString(sendingMethod)) || (!__System.IsString(contentType)) || (!__System.IsString(data))){
		throw new Error("參數(shù)類型不正確!");
		return;
	}
	switch (sendingMethod.toLowerCase()){
		case "get":
			if (data != "" && contentType == "application/x-www-form-urlencoded"){
				sendingTarget = sendingTarget.concat("?",data);
				data = "";
			}
			break;
		case "post":
			break;
		default:
			throw new Error("不支持以" + sendingMethod + "方式提交數(shù)據(jù)。");
			break;	
	}
	//window.alert("open方法之前:" + this.XmlHttpObj.readyState);
	this.XmlHttpObj.open(sendingMethod,sendingTarget,true);
	//window.alert("open方法之后send方法之前:" + this.XmlHttpObj.readyState);
	if (contentType != ""){
		this.XmlHttpObj.setRequestHeader("Content-Type",contentType);			
	}
	if (this.HttpHeaders.length != 0){
		var len = this.HttpHeaders.length;
		var header;
		for (var i = 0 ; i < len ; i ++ ){
			header = this.HttpHeaders[i];
			this.XmlHttpObj.setRequestHeader(header[0],header[1]);
		}
	}
	if ((this.AbortableWhenTimeOut) && (this.TimeOut > 0)){
		window.setTimeout(this.$Pri_AbortWhenTimeOut(this),this.TimeOut,"javascript");
	}
	this.OnProcess(this);
	this.XmlHttpObj.send(data);
	//window.alert("send方法之后:" + this.XmlHttpObj.readyState);

};

AsyncCommunicator.prototype.$Pri_OnReceive = function()
{
	this.HttpStatus = new HttpStatus(this.XmlHttpObj);
	try {
		this.ReceivedBody = this.XmlHttpObj.responseBody;
	}
	catch(ex){
		this.ReceivedBody = "";
	}
	try {
		this.ReceivedText = this.XmlHttpObj.responseText;
	}
	catch(ex){
		this.ReceivedText = "";
	}
	try {
		this.ReceivedXML = this.XmlHttpObj.responseXML;
	}
	catch(ex){
		this.ReceivedXML = null;
	}
};			

AsyncCommunicator.prototype.$Pri_EventHandler  = function(source)
{
	return function()
	{
		switch(source.XmlHttpObj.readyState){
			case 3:
				source.OnTransferBack(source);
				break;
			case 4:
				if (!source.Pri_Aborted){
					source.Pri_HasReceived = true;
					source.$Pri_OnReceive();																
					source.OnReceive(source);
					try{
						switch(parseInt(((source.XmlHttpObj.status).toString()).charAt(0))){
							case 1:
								source.OnReceive1xx(source);
								break;
							//case 0:
							case 2:
								source.OnReceive2xx(source);
								break;
							case 3:
								source.OnReceive3xx(source);
								break;
							case 4:
								source.OnError(source);
								source.OnReceive4xx(source);
								break;
							case 5:
								source.OnError(source);
								source.OnReceive5xx(source);
								break;
							default:
								break;
						}
					}
					catch(ex){
					}
				}
				break;
			default:
				break;
		}
	}
	
};
AsyncCommunicator.prototype.Dispose = function()
{
	this.OnDispose(this);
	for(key in this){
		this[key] = null;
	}
};	

AsyncCommunicator.prototype.$Pri_AbortWhenTimeOut = function(source)
{
	//window.alert(this.toString());
	return function()
	{
		if(!source.Pri_HasReceived){
			source.Pri_Aborted = true;
			source.OnTimeOut(source);
			source.Abort();
		}
	}
	
}		
//公有屬性
AsyncCommunicator.prototype.CurrentState = -1;
AsyncCommunicator.prototype.ReceivedBody = "";
AsyncCommunicator.prototype.ReceivedText = "";
AsyncCommunicator.prototype.ReceivedXML = null;
AsyncCommunicator.prototype.SendingMethod = "GET";
AsyncCommunicator.prototype.SendingTarget = "";
AsyncCommunicator.prototype.DataSent = "";
AsyncCommunicator.prototype.DataContentType = "application/x-www-form-urlencoded";
AsyncCommunicator.prototype.TimeOut = 10000;
AsyncCommunicator.prototype.AbortableWhenTimeOut = false;
AsyncCommunicator.prototype.HttpHeaders = new Array();

AsyncCommunicator.prototype.BatchSendResultArray = new Array();
AsyncCommunicator.prototype.BatchSendErrorCount = 0;
//私有屬性
AsyncCommunicator.prototype.Pri_Aborted = false;
AsyncCommunicator.prototype.Pri_HasReceived = false;
//事件
AsyncCommunicator.prototype.OnProcess = function(source){};
AsyncCommunicator.prototype.OnTransferBack = function(source){};
AsyncCommunicator.prototype.OnReceive = function(source){};
AsyncCommunicator.prototype.OnReceive1xx = function(source){};
AsyncCommunicator.prototype.OnReceive2xx = function(source){};
AsyncCommunicator.prototype.OnReceive3xx = function(source){};
AsyncCommunicator.prototype.OnReceive4xx = function(source){};
AsyncCommunicator.prototype.OnReceive5xx = function(source){};
AsyncCommunicator.prototype.OnError = function(source){};
AsyncCommunicator.prototype.OnDispose = function(source){};
AsyncCommunicator.prototype.OnAbort = function(source){};
AsyncCommunicator.prototype.OnTimeOut = function(source){};

//方法
AsyncCommunicator.prototype.SetHttpRequestHeader = function(headerName,headerValue)
{
	if ((__System.IsString(headerName)) && (__System.IsString(headerValue))){
		var array = new Array();
		array[0] = headerName;
		array[1] = headerValue;
		this.HttpHeaders[this.HttpHeaders.length] = array;
	}
	else{
		throw new Error("不正確的HTTP請(qǐng)求頭!");	
	}
}
AsyncCommunicator.prototype.GetHttpResponseHeader = function(headerName)
{
	if (__System.IsString(headerName)){
		return this.XmlHttpObj.getResponseHeader(headerName);
	}
	else{
		throw new Error("不正確的HTTP響應(yīng)頭!");	
	}
}
AsyncCommunicator.prototype.GetAllResponseHeaders = function()
{
		return this.XmlHttpObj.getAllResponseHeaders();
}
AsyncCommunicator.prototype.Abort = function()
{
	this.OnAbort(this);
	this.XmlHttpObj.abort();
}
AsyncCommunicator.prototype.Send = function(sendingTarget,sendingMethod,contentType,data)
{
	this.BatchSendResultArray = new Array();
	this.BatchSendErrorCount = 0;
	var numArgs = arguments.length;
	switch (numArgs){
		case 1:
			if ((typeof arguments[0] == "object") && (arguments[0] instanceof ACCRequest)){
				this.Send(arguments[0].SendingTarget,arguments[0].SendingMethod,arguments[0].ContentType,arguments[0].Data);
			}
			else{
				this.$Pri_SendWith4Args(arguments[0],this.SendingMethod,"",this.DataSent);
			}							
			break;
		case 2:										
			this.$Pri_SendWith4Args(arguments[0],arguments[1],"",this.DataSent);
			break;
		case 3:										
			this.$Pri_SendWith4Args(arguments[0],arguments[1],arguments[2],this.DataSent);
			break;
		case 4:
			this.$Pri_SendWith4Args(arguments[0],arguments[1],arguments[2],arguments[3]);
			break;
		default:
			throw new Error("傳遞給Send方法的參數(shù)個(gè)數(shù)不正確,只接受1到4個(gè)參數(shù)。");
			break;
	}
}	


function AsyncCommunicator()
{
	this.HttpStatus = new HttpStatus();
	this.XmlHttpObj = this.$Pri_GetXmlHttpObj();
	this.XmlHttpObj.onreadystatechange = this.$Pri_EventHandler(this);
}

												 								    

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久久亚洲蜜桃| 丁香一区二区三区| 亚洲va国产va欧美va观看| 亚洲欧洲av色图| 一区二区三区成人在线视频| 亚洲国产美国国产综合一区二区| 亚洲午夜精品在线| 国产一区二区剧情av在线| 懂色av一区二区三区免费观看| 成+人+亚洲+综合天堂| 色偷偷成人一区二区三区91| 国产色一区二区| 国产精品久久久一本精品| 国产精品久久二区二区| 一二三四社区欧美黄| 国产一区二区免费在线| 91国产成人在线| 久久美女艺术照精彩视频福利播放| 中文字幕一区三区| 精品一区二区免费视频| 欧美中文一区二区三区| 国产欧美精品一区二区色综合朱莉| 亚洲欧美日韩国产另类专区| 五月天亚洲婷婷| 亚洲乱码中文字幕| 久久精品国产网站| 欧美日韩日日骚| 一级特黄大欧美久久久| 国产精品一区2区| 日韩久久精品一区| 三级久久三级久久久| 91色九色蝌蚪| 一区二区三区在线观看欧美| 国产精品99精品久久免费| 亚洲精品一区二区三区四区高清| 日韩天堂在线观看| 日本美女一区二区| 欧美日本精品一区二区三区| 亚洲精品成人少妇| 在线看一区二区| 最新中文字幕一区二区三区 | 美女一区二区久久| 国产一区在线观看视频| 一级女性全黄久久生活片免费| 午夜国产不卡在线观看视频| 日韩欧美久久久| 欧美色网一区二区| 成人激情校园春色| 久久奇米777| 三级一区在线视频先锋 | 成人在线一区二区三区| 亚洲精品视频在线| 欧美一区二区三区视频免费| 国产一区二区三区黄视频 | 日本一道高清亚洲日美韩| 五月婷婷激情综合网| 久久精品欧美日韩| av网站免费线看精品| 欧美日产国产精品| 亚洲一线二线三线久久久| 在线一区二区三区| 日韩av一级片| 国产麻豆成人精品| 高清beeg欧美| 日本高清视频一区二区| 欧美久久久久久蜜桃| 色素色在线综合| 91网站在线观看视频| 国产高清无密码一区二区三区| 亚洲v中文字幕| 国产欧美日韩亚州综合| 久久精品一区二区| 国产欧美1区2区3区| 污片在线观看一区二区 | 亚洲欧美区自拍先锋| 久久九九99视频| 国产乱码精品1区2区3区| 极品少妇xxxx偷拍精品少妇| 日韩电影一区二区三区四区| 亚洲色图色小说| 日本vs亚洲vs韩国一区三区二区 | 丝袜国产日韩另类美女| 久久精品72免费观看| 色偷偷88欧美精品久久久| 成人手机在线视频| 蜜桃视频在线观看一区二区| 国产色爱av资源综合区| 欧美丝袜自拍制服另类| 国产成人av资源| 国产黑丝在线一区二区三区| 日本不卡的三区四区五区| 亚洲日本在线看| 国产欧美日韩精品在线| 26uuu色噜噜精品一区二区| 91精品久久久久久蜜臀| 欧美日韩高清一区| 在线免费一区三区| 99国产精品99久久久久久| 国产98色在线|日韩| 免费亚洲电影在线| 亚洲视频精选在线| 2021国产精品久久精品| 精品福利二区三区| 日韩美一区二区三区| 精品国产91久久久久久久妲己| 日韩欧美在线不卡| 久久综合久久综合九色| 久久久精品tv| 天堂久久一区二区三区| 亚洲色图制服诱惑| 一区二区三区波多野结衣在线观看| 欧美日韩不卡视频| 欧美日韩一区二区在线视频| 亚洲精品综合在线| 日韩美女视频一区二区在线观看| 亚洲综合激情网| 久久精品国产亚洲高清剧情介绍 | 亚洲日本青草视频在线怡红院| 亚洲国产日韩a在线播放性色| 久久精品久久久精品美女| 成人午夜av电影| 亚洲第四色夜色| 九一九一国产精品| 成人高清视频在线| 91精品国产福利在线观看| 国产区在线观看成人精品| 天天影视涩香欲综合网| 国产高清亚洲一区| 99热国产精品| 国产亚洲午夜高清国产拍精品| 国产人伦精品一区二区| 亚洲精品高清在线观看| 国产精品综合视频| 日韩三级中文字幕| 毛片av一区二区| 欧美色图激情小说| 亚洲一区自拍偷拍| 色综合亚洲欧洲| 亚洲狼人国产精品| 99久久久久久99| 国产欧美一区二区精品仙草咪 | 久久色在线观看| 日韩不卡在线观看日韩不卡视频| 丰满放荡岳乱妇91ww| 日韩一区二区三区视频在线| 欧美午夜一区二区| 天堂蜜桃91精品| 亚洲国产高清在线| 日韩视频在线你懂得| 天天射综合影视| 制服视频三区第一页精品| 紧缚捆绑精品一区二区| 日韩精彩视频在线观看| 久久嫩草精品久久久久| 欧美成人a在线| 国内精品伊人久久久久av影院| 亚洲女性喷水在线观看一区| 国产乱码精品一区二区三区av| 日本高清无吗v一区| 精品成人一区二区三区| 欧美亚洲国产一区二区三区 | 毛片av中文字幕一区二区| 99久久精品免费精品国产| 成人国产精品免费网站| 精品一区二区久久久| 精品国产一区二区三区忘忧草| 午夜天堂影视香蕉久久| 日本乱人伦aⅴ精品| 亚洲人成人一区二区在线观看 | 日本sm残虐另类| 国产精品久久综合| 欧美丰满一区二区免费视频| 国产中文字幕精品| 亚洲精品欧美在线| 久久久久88色偷偷免费| 一本色道久久加勒比精品| 老司机午夜精品| 亚洲精品久久久蜜桃| www国产成人| 欧美精品亚洲二区| 国产高清亚洲一区| 亚洲精品中文字幕乱码三区| 精品国产免费人成电影在线观看四季 | 国产精品国产成人国产三级| 欧美久久久久久久久久| 97se亚洲国产综合自在线观| 久久国产剧场电影| 亚洲成人综合视频| 亚洲欧洲www| 奇米色一区二区| 欧美高清在线一区| 精品黑人一区二区三区久久| 日韩精品中文字幕在线不卡尤物| 91精品国产一区二区人妖| 欧美在线免费播放| 26uuu精品一区二区| 精品久久国产老人久久综合| 91女厕偷拍女厕偷拍高清| 国产在线视频一区二区三区| 久久99热99|