function _JobWnd(typ,infoid)//id为传进的参数
{
    var url;
    if (typ == 1)
        url = '/member/my/application.anonymous.html?f_info='+infoid;
    else
        url = '/member/my/keeplist.html?infoid='+infoid;
    if(url)
    window.open(url, '', 'scrollbars=yes,top=0,left=0,resizable=no,status=no,' +
                         'toolbar=no,menubar=no,location=no,width=600,height=680');
}
function QuerySearchHistory()
{
    var xmlHttp;
    if (window.ActiveXObject)
    {
        try
        {
            xmlHttp = new ActiveXObject("Msxml2.ServerXMLHTTP.3.0");
            var lResolve = 1000;
            var lConnect = 1000;
            var lSend = 20 * 1000;
            var lReceive = 120 * 1000;
            xmlServerHttp.setTimeouts(lResolve, lConnect, lSend, lReceive);
        }
        catch (e)
        {
            try
            {
                xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
            }
            catch (e)
            {
            }
        }
    }
    else if (window.XMLHttpRequest)
    {
        xmlHttp = new XMLHttpRequest();
    }
    xmlHttp.onreadystatechange = function()
    {
        if ((xmlHttp.readyState == 4) && (xmlHttp.status == 200))
        {
            try
            {
                var searchhistory = eval('(' + xmlHttp.responseText + ')');
                if (searchhistory)
                {
                    for (var i = 0; i < searchhistory.length; i++)
                    {
                        if (i > searchhistory.length - 1)
                            return;
                        var id = Math.floor(i / 3);
                        if (document.getElementById("jsPageB" + id))
                        {
                            var sha = document.createElement('a');
                            sha.setAttribute('href', searchhistory[i].url);
                            sha.appendChild(document.createTextNode(searchhistory[i].name));
                            var shd = document.createElement('div');
                            shd.setAttribute('class', 'tab02_txt01');
                            shd.appendChild(sha);
                            document.getElementById("jsPageB" + id).appendChild(shd);
                        }
                    }
                }
            }
            catch(e)
            {
            }
        }
    };
    xmlHttp.open("POST", "/inc/searchhistory.inc.jsp", true);
    xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
    xmlHttp.send();
}