    var xmlHttp;
    function createXmlHttpRequest()
    {
        if(window.ActiveXObject)
        {
            xmlHttp=new ActiveXObject("Microsoft.XMLHttp");
        }
        else if(window.XMLHttpRequest)
        {
            xmlHttp=new XMLHttpRequest();
        }
    }
    function aboutus(cid)
    {
        createXmlHttpRequest();
        var url="service/singleinfo.ashx?cid="+cid;
        xmlHttp.open("GET",url,true);
        xmlHttp.onreadystatechange=showResult;
        xmlHttp.send(null);
    }
    
    /*指南文章阅读次数*/
    function ArticleReadNum(ArtId)
    {
      createXmlHttpRequest();
      var url="/service/ArtHander.ashx?ArtId="+ArtId+"";
        xmlHttp.open("GET",url,true);
    //    xmlHttp.onreadystatechange=showResult;
        xmlHttp.send(null);
    }
    
        /*资讯文章阅读次数*/
    function ArticleWedReadNum(ArtId)
    {
      createXmlHttpRequest();
      var url="/service/ArtHander.ashx?WedArtId="+ArtId+"";
        xmlHttp.open("GET",url,true);
    //    xmlHttp.onreadystatechange=showResult;
        xmlHttp.send(null);
    }
    
    function showResult()
    {        
        if(xmlHttp.readyState==4)
        {
        
         if(xmlHttp.status==200)
            {
            xmlDom = xmlHttp.responseXML;
            xmlRoot = xmlDom.documentElement;
                document.title=xmlRoot.getElementsByTagName("cname")[0].firstChild.data+"--昆明太石经贸有限公司";
                document.getElementById("abouttitle").innerHTML=xmlRoot.getElementsByTagName("cname")[0].firstChild.data;
                document.getElementById("aboutcontent").innerHTML=xmlRoot.getElementsByTagName("content")[0].firstChild.data;
            }
        }
    }