function check_search(obj,part){ var loc = location.href;

var searchUrl=`http://so.cntv.cn/search.php?qtext=${encodeURIComponent(obj)}${part}`;

window.open(searchUrl,"_blank");

}

function openresult1(s,part){

var init_part = "&sid=0025&pid=0000";

var part = part || init_part;

var Info = document.getElementById("textfield9").value;

if (Info == "") {

document.getElementById("textfield9").focus();

return;

}

check_search(Info, part);

// window.open(`http://so.cntv.cn/search.php?qtext=${encodeURIComponent(s)}${part}`,"_blank");

}

function fireFoxHandler(evt){

if (evt.keyCode == 13) {

var Info = document.getElementById("textfield9").value;

if (Info == "") {

document.getElementById("textfield9").focus();

return false;

}

// window.open(`http://so.cntv.cn/search.php?qtext=${encodeURIComponent(s)}${part}`,"_blank");

}

}

```javascriptfunction check_search(Info, part) {

if (Info == "") {

document.getElementById("textfield9").focus();

return false;

} else {

//window.open("http://so.cntv.cn/search.php?qtext=" + encodeURIComponent(s) + part, "_blank");

}

}

function ieHandler(evt) {

if (evt.keyCode == 13) {

var Info = document.getElementById("textfield9").value;

check_search(Info, part);

}

}

```