﻿//計數器
function AddQuickCounter(a, b, c) {
    if (window.ActiveXObject) {
        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    }
    else if (window.XMLHttpRequest) {
        xmlHttp = new XMLHttpRequest();
    }

    var strData = "A=" + a + "&B=" + b + "&C=" + c;
    xmlHttp.open("GET", "/WebParts/webservice/QuickCounter.aspx?A=" + a + "&B=" + b + "&C=" + c, false);
    xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    xmlHttp.send(strData);
}

//計數器
function AddCounter(a, b) {
    if (window.ActiveXObject) {
        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    }
    else if (window.XMLHttpRequest) {
        xmlHttp = new XMLHttpRequest();
    }

    var strData = "A=" + a + "&B=" + b;
    xmlHttp.open("GET", "/WebParts/webservice/Counter.aspx?A=" + a + "&B=" + b, false);
    xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    xmlHttp.send(strData);
}
