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

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

?? aa.js

?? 系統(tǒng)可以分為以下幾個(gè)功能模塊: 1. 留言板用戶登陸模塊:包括用戶登陸。 2. 留言板信息模塊:當(dāng)用戶登陸系統(tǒng)后
?? JS
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/*
Copyright 2005  Vitaliy Shevchuk (shevit@users.sourceforge.net)

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

*/

AjaxAnywhere.defaultInstanceName = "default";

// constructor;
function AjaxAnywhere() {

    this.id = AjaxAnywhere.defaultInstanceName;
    this.formName = null;
    this.notSupported = false;
    this.delayBeforeContentUpdate = true;
    this.delayInMillis = 100;

    if (window.XMLHttpRequest) {
        this.req = new XMLHttpRequest();
    } else if (window.ActiveXObject) {
        try {
            this.req = new ActiveXObject("Msxml2.XMLHTTP");
        } catch(e) {
            try {
                this.req = new ActiveXObject("Microsoft.XMLHTTP");
            } catch(e1) {
                this.notSupported = true;
                /* XMLHTTPRequest not supported */
            }
        }
    }

    if (this.req == null || typeof this.req == "undefined")
        this.notSupported = true;
}

/**
* Stores substitutes SubmitButton names in to redo sustitution if a button was eventually inside a refresh zone.
*/
AjaxAnywhere.prototype.substitutedSubmitButtons = new Array();
AjaxAnywhere.prototype.substitutedSubmitButtonsInfo = new Object();

/**
* Returns a Form object that corresponds to formName property of this AjaxAnywhere class instance.
*/
AjaxAnywhere.prototype.findForm = function () {
    var form;
    if (this.formName != null)
        form = document.forms[this.formName];
    else if (document.forms.length > 0)
        form = document.forms[0];

    if (typeof form != "object")
        alert("AjaxAnywhere error: Form with name [" + this.formName + "] not found");
    return form;
}


/**
* Binds this instance to window object using "AjaxAnywhere."+this.id as a key.
*/
AjaxAnywhere.prototype.bindById = function () {
    var key = "AjaxAnywhere." + this.id;
    window[key] = this;
}

/**
* Finds an instance by id.
*/
AjaxAnywhere.findInstance = function(id) {
    var key = "AjaxAnywhere." + id;
    return window[key];
}

/**
* This function is used to submit all form fields by AJAX request to the server.
* If the form is submited with <input type=submit|image>, submitButton should be a reference to the DHTML object. Otherwise - undefined.
*/
AjaxAnywhere.prototype.submitAJAX = function(additionalPostData, submitButton) {

    if (this.notSupported)
        return this.onSubmitAjaxNotSupported(additionalPostData, submitButton);

    if (additionalPostData == null || typeof additionalPostData == "undefined")
        additionalPostData = "";

    this.bindById();

    var form = this.findForm();

    var actionAttrNode = form.attributes["action"];
    var url = actionAttrNode == null?null:actionAttrNode.nodeValue;
    if ((url == null) || (url == ""))
        url = location.href;

    var pos = url.indexOf("#");
        if (pos!=-1)
            url = url.substring(0,pos);
        if ((url == null) || (url == ""))
            url = location.href;
        pos = url.indexOf("#");
        if (pos!=-1)
            url = url.substring(0,pos);

    var zones = this.getZonesToReload(url, submitButton);

    if (zones == null) {
        // submit in tradiditional way :
        this.submitOld(form,submitButton)
        return;
    }

    this.dropPreviousRequest();

    this.req.open("POST", url, true);
    this.req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;charset=UTF-8");

    var postData = this.preparePostData(submitButton);

    if (zones != "")
        postData = '&aazones=' + encodeURIComponent(zones) + "&" + postData + "&" + additionalPostData;
    else
        postData += "&" + additionalPostData;

    this.sendPreparedRequest(postData);

}
/**
* sends a GET request to the server.
*/
AjaxAnywhere.prototype.getAJAX = function(url, zonesToRefresh) {
    if (this.notSupported)
        return this.onGetAjaxNotSupported(url);

    this.bindById();

    if (zonesToRefresh == null || typeof zonesToRefresh == "undefined")
        zonesToRefresh = "";
    var urlDependentZones = this.getZonesToReload(url);
    if (urlDependentZones == null) {
        location.href = url;
        return;
    }

    if (urlDependentZones.length != 0)
        zonesToRefresh += "," + urlDependentZones;

    this.dropPreviousRequest();

    url += (url.indexOf("?") != -1) ? "&" : "?";

    url += "aaxmlrequest=true&aa_rand=" + Math.random();
    // avoid caching

    if (zonesToRefresh != null && zonesToRefresh != "")
        url += '&aazones=' + encodeURIComponent(zonesToRefresh);

    this.req.open("GET", url, true);

    this.sendPreparedRequest("");
}

/**
* @private
*/
AjaxAnywhere.prototype.sendPreparedRequest = function (postData) {
    this.req.setRequestHeader("Accept", "text/xml");

    var callbackKey = this.id + "_callbackFunction";
    if (typeof window[callbackKey] == "undefined")
        window[callbackKey] = new Function("AjaxAnywhere.findInstance(\"" + this.id + "\").callback(); ");
    this.req.onreadystatechange = window[callbackKey];

    this.showLoadingMessage();

    this.req.send(postData);

    this.onRequestSent();
}
/**
* Used internally by AjaxAnywhere. Aborts previous request if not completed.
*/
AjaxAnywhere.prototype.dropPreviousRequest = function() {
    if (this.req.readyState != 0 && this.req.readyState != 4) {
        // abort previous request if not completed
        this.req.abort();
        this.handlePrevousRequestAborted();
    }
}

/**
* Internally used to prepare Post data.
* If the form is submited with <input type=submit|image>, submitButton is a reference to the DHTML object. Otherwise - undefined.
*/
AjaxAnywhere.prototype.preparePostData = function(submitButton) {
    var form = this.findForm();
    var result = "&aaxmlrequest=true";
    for (var i = 0; i < form.elements.length; i++) {
        var el = form.elements[i];
        if (el.tagName.toLowerCase() == "select") {
            for (var j = 0; j < el.options.length; j++) {
                var op = el.options[j];
                if (op.selected)
                    result += "&" + encodeURIComponent(el.name) + "=" + encodeURIComponent(op.value);
            }
        } else if (el.tagName.toLowerCase() == "textarea") {
            result += "&" + encodeURIComponent(el.name) + "=" + encodeURIComponent(el.value);
        } else if (el.tagName.toLowerCase() == "input") {
            if (el.type.toLowerCase() == "checkbox" || el.type.toLowerCase() == "radio") {
                if (el.checked)
                    result += "&" + encodeURIComponent(el.name) + "=" + encodeURIComponent(el.value);
            } else if (el.type.toLowerCase() == "submit") {
                if (el == submitButton) // is "el" the submit button that fired the form submit?
                    result += "&" + encodeURIComponent(el.name) + "=" + encodeURIComponent(el.value);
            } else if (el.type.toLowerCase() != "button") {
                result += "&" + encodeURIComponent(el.name) + "=" + encodeURIComponent(el.value);
            }
        }
    }
    if (typeof submitButton != 'undefined' && submitButton != null && submitButton.type.toLowerCase() == "image") {
        if (submitButton.name == null || submitButton.name == "" || typeof submitButton.name == "undefined")
            result += "&x=1&y=1"; // .x and .y coordinates calculation is not supported.
        else
            result += "&" + encodeURIComponent(submitButton.name) + ".x=1&" +
                      encodeURIComponent(submitButton.name) + ".y=1";
    }
    return result;
}

/**
* Pauses the thread of execution for the specified number of milliseconds
* @private
*/
function delay(millis) {
    date = new Date();
    var curDate = null;
    do {
        curDate = new Date();
    }
    while (curDate - date < millis);
}

/**
* A callback. internally used
*/
AjaxAnywhere.prototype.callback = function() {

    if (this.req.readyState == 4) {

        this.onBeforeResponseProcessing();
        this.hideLoadingMessage();

        if (this.req.status == 200) {

            if (this.req.getResponseHeader('content-type').toLowerCase().substring(0, 8) != 'text/xml')
                alert("AjaxAnywhere error : content-type in not text/xml : [" + this.req.getResponseHeader('content-type') + "]");

            var docs = this.req.responseXML.getElementsByTagName("document");
            var redirects = this.req.responseXML.getElementsByTagName("redirect");
            var zones = this.req.responseXML.getElementsByTagName("zone");
            var exceptions = this.req.responseXML.getElementsByTagName("exception");
            var scripts = this.req.responseXML.getElementsByTagName("script");
            var images = this.req.responseXML.getElementsByTagName("image");

            if (redirects.length != 0) {
                var newURL = redirects[0].firstChild.data;
                location.href = newURL;
            }
            if (docs.length != 0) {
                var newContent = docs[0].firstChild.data;

                //cleanup ressources
                delete this.req;

                document.close();
                document.write(newContent);
                document.close();
            }

            if (images.length != 0) {
                var preLoad = new Array(images.length);
                for (var i = 0; i < images.length; i++) {
                    var img = images[i].firstChild;
                    if (img != null) {
                        preLoad[i] = new Image();
                        preLoad[i].src = img.data;
                    }
                }
                if (this.delayBeforeContentUpdate) {
                    delay(this.delayInMillis);
                }
            }

            if (zones.length != 0) {
                for (var i = 0; i < zones.length; i++) {
                    var zoneNode = zones[i];

                    var name = zoneNode.getAttribute("name");
                    var id = zoneNode.getAttribute("id");

                    var html = "";

                    for (var childIndex = 0; childIndex < zoneNode.childNodes.length; childIndex++) {
                        html += zoneNode.childNodes[childIndex].data
                    }

                    var zoneHolder = name!=null?
                                     document.getElementById("aazone." + name):
                                     document.getElementById(id);

                    if (zoneHolder != null && typeof(zoneHolder) != "undefined") {
                        zoneHolder.innerHTML = html;
                    }

                }
            }
            if (exceptions.length != 0) {
                var e = exceptions[0];
                var type = e.getAttribute("type");
                var stackTrace = e.firstChild.data;
                this.handleException(type, stackTrace);
            }

            if (scripts.length != 0) {
                for (var $$$$i = 0; $$$$i < scripts.length; $$$$i++) {
                    // use $$$$i variable to avoid collision with "i" inside user script
                    var script = scripts[$$$$i].firstChild;
                    if (script != null) {
                        script = script.data;
                        if (script.indexOf("document.write") != -1) {
                            this.handleException("document.write", "This script contains document.write(), which is not compatible with AjaxAnywhere : \n\n" + script);
                        } else {

                            eval("var aaInstanceId = \""+this.id+"\"; \n"+script);
                        }
                    }
                }

                var globals = this.getGlobalScriptsDeclarationsList(script);
                if (globals != null)
                    for (var i in globals) {
                        var objName = globals[i];
                        try {
                            window[objName] = eval(objName);
                        } catch(e) {
                        }
                    }
            }

        } else {
            if (this.req.status != 0)
                this.handleHttpErrorCode(this.req.status);
        }
        this.restoreSubstitutedSubmitButtons();
        this.onAfterResponseProcessing();

    }


}

/**
*  Default sample loading message show function. Overrride it if you like.
*/
AjaxAnywhere.prototype.showLoadingMessage = function() {

    var div = document.getElementById("AA_" + this.id + "_loading_div");
    if (div == null) {
        div = document.createElement("DIV");

        document.body.appendChild(div);
        div.id = "AA_" + this.id + "_loading_div";

        div.innerHTML = "&nbsp;Loading...";

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲制服丝袜| 亚洲精品中文字幕乱码三区| 不卡av在线免费观看| 亚洲一区二区三区四区五区黄| 日韩精品一区二区三区中文不卡 | 国产在线精品一区在线观看麻豆| 中文字幕中文字幕中文字幕亚洲无线| 欧美群妇大交群中文字幕| 国产a视频精品免费观看| 视频精品一区二区| 国产精品传媒在线| 欧美精品一区二区三区在线| 欧美色中文字幕| 99久久精品国产精品久久| 久久精品国产久精国产| 亚洲伦理在线精品| 国产亚洲成av人在线观看导航 | 亚洲bt欧美bt精品| 国产精品国产三级国产普通话三级 | 中文字幕一区二区三区av| 日韩午夜av电影| 欧美午夜免费电影| 99久久婷婷国产综合精品电影| 久久精品国产第一区二区三区| 亚洲一区在线观看网站| 国产精品福利一区二区| 久久久国产精品麻豆| 欧美一区二区三区免费| 欧美日韩激情一区| 日本伦理一区二区| 色综合天天狠狠| 成人激情电影免费在线观看| 国产精品影视在线| 国产剧情一区二区三区| 美国精品在线观看| 日韩va欧美va亚洲va久久| 亚洲午夜成aⅴ人片| 一区二区免费在线播放| 亚洲欧美精品午睡沙发| 亚洲精品一二三区| 亚洲欧美一区二区三区极速播放 | 国产精品福利一区二区三区| 中文字幕精品综合| 中文字幕精品在线不卡| 欧美激情一区三区| 国产精品美女www爽爽爽| 日本一区二区在线不卡| 久久精品夜色噜噜亚洲a∨| 久久久久99精品国产片| 国产欧美日韩三级| 综合激情成人伊人| 一区二区三区日韩精品| 亚洲成a人片综合在线| 婷婷国产在线综合| 美腿丝袜亚洲三区| 国产在线精品国自产拍免费| 国产成人精品免费| 成人av在线一区二区三区| k8久久久一区二区三区| 99精品欧美一区二区蜜桃免费 | 国产精品一二三四区| 国产suv精品一区二区883| 国产成人在线色| 91在线视频免费观看| 欧美天堂一区二区三区| 91精品国产欧美一区二区成人| 日韩一区二区在线观看视频| 久久久久久久久久电影| 中文字幕视频一区| 亚洲成国产人片在线观看| 免播放器亚洲一区| 国产激情一区二区三区四区| 成人理论电影网| 欧美性感一类影片在线播放| 欧美日韩亚洲另类| 欧美大片拔萝卜| 国产精品免费人成网站| 亚洲精品福利视频网站| 日本视频在线一区| 国产精品99久久不卡二区| 一本大道av伊人久久综合| 在线播放视频一区| 中文字幕精品三区| 午夜久久久久久电影| 国产精品香蕉一区二区三区| 一本一道久久a久久精品| 欧美一区二区啪啪| 中文字幕一区视频| 日韩电影在线观看一区| 成年人网站91| 日韩一区和二区| 亚洲图片另类小说| 久久99精品一区二区三区 | 国精产品一区一区三区mba桃花| 成人免费毛片片v| 91精品久久久久久蜜臀| 国产精品国产a| 久久精品国产亚洲一区二区三区| 色综合一区二区| xnxx国产精品| 亚洲成年人影院| 不卡一区二区在线| 日韩免费观看高清完整版| 亚洲色图19p| 国产又黄又大久久| 欧美精品自拍偷拍| 亚洲区小说区图片区qvod| 狠狠色狠狠色综合系列| 欧美人与性动xxxx| 综合在线观看色| 国产福利视频一区二区三区| 91精品国产免费久久综合| 亚洲精品成人天堂一二三| 国产精品12区| 欧美r级电影在线观看| 亚洲国产一区视频| 色屁屁一区二区| 1024成人网色www| 国产二区国产一区在线观看| 91精品福利在线一区二区三区| 亚洲美腿欧美偷拍| 暴力调教一区二区三区| 久久久精品tv| 精品亚洲免费视频| 日韩一卡二卡三卡四卡| 天天综合色天天综合色h| 在线观看三级视频欧美| 亚洲欧美日韩国产中文在线| 成人美女视频在线看| 国产欧美1区2区3区| 极品少妇xxxx精品少妇| 欧美一级片免费看| 日本大胆欧美人术艺术动态| 欧美日韩视频一区二区| 亚洲国产精品一区二区久久| 91麻豆国产福利在线观看| 日韩毛片视频在线看| 菠萝蜜视频在线观看一区| 国产精品麻豆欧美日韩ww| 国产不卡视频在线观看| 日本一二三四高清不卡| 粉嫩绯色av一区二区在线观看| 精品国产伦一区二区三区观看方式| 日本sm残虐另类| 日韩欧美一区二区不卡| 久久se精品一区精品二区| 日韩免费看网站| 国产九色sp调教91| 日本一区二区三区四区在线视频 | 欧美日韩国产精品成人| 香蕉加勒比综合久久| 欧美美女网站色| 久久精品国产亚洲高清剧情介绍| 欧美精品一区二区在线播放| 国产盗摄精品一区二区三区在线| 国产视频一区二区在线| www..com久久爱| 一区二区三区自拍| 在线成人午夜影院| 国精产品一区一区三区mba视频| 日本一区二区三区在线不卡| 久久色.com| 国产黄色精品视频| 18欧美乱大交hd1984| 欧美少妇一区二区| 免费在线观看不卡| 国产欧美一区视频| 色哟哟国产精品| 日本午夜一本久久久综合| 久久综合久色欧美综合狠狠| 粉嫩欧美一区二区三区高清影视| 亚洲欧美经典视频| 欧美一区二区女人| 成人免费视频播放| 国产精品福利影院| 精品婷婷伊人一区三区三| 久久国产婷婷国产香蕉| 中文字幕一区二区三区乱码在线| 日本精品一区二区三区四区的功能| 日韩国产欧美一区二区三区| 久久久久久97三级| 欧美影视一区在线| 国产精品亚洲第一| 亚洲成av人片在线| 亚洲国产精品v| 欧美高清dvd| 高清不卡一区二区在线| 亚洲第一福利一区| 国产欧美日韩另类视频免费观看 | 久久久国际精品| 在线视频亚洲一区| 国内外精品视频| 一区二区成人在线视频| 精品88久久久久88久久久 | 久久久久久久久久久电影| 欧美系列在线观看| 成人三级伦理片| 久久精品72免费观看| 亚洲综合激情网| 中文字幕精品一区|