﻿// JScript 文件
function tongbu(id)
{
    if (id == 0)
        return false;
    var xmlHttp = createNewXMLHttpRequest();
    var AjaxUrl = "ID="+id+"&N="+Math.random();// 中文 需要使用encodeURIComponent()方法
    xmlHttp.open("POST", "/JsLib/CountAd.aspx", true);
    xmlHttp.setRequestHeader("content-type","application/x-www-form-urlencoded");
    xmlHttp.onreadystatechange = function (){};
    xmlHttp.send(AjaxUrl);
}