﻿var XmlHttp=new ActiveXObject("Microsoft.XMLhttp");//查询用
function s(id)
{
    XmlHttp.Open("POST","Fav.aspx?id="+ id +"",true);
    XmlHttp.send(null);
    XmlHttp.onreadystatechange=function Ser()
    {
        if(XmlHttp.readystate==4 || XmlHttp.readystate=='complete')
        {
            if(XmlHttp.responsetext=="No")
            {
                window.location.href="sing.aspx?id=371200ef-e7af-4830-b744-4265033f000c&pro="+id;
            }
            else
            {
                alert(XmlHttp.responsetext);
            }
        }
    };
}


