```javascript/**

* 根据提供的内容完成内容重构,并保持段落结构

*/

function check_search(obj, part) {

var loc = location.href;

var searchUrl = "";

searchUrl = "http://so.cntv.cn/search.php?qtext=" + encodeURIComponent(obj) + part;

// 如果需要在新的浏览器窗口中打开搜索结果页面,则取消注释以下行:window.open(searchUrl, "_blank");

}

/**

* 打开搜索结果页面

* @param {string} s - 要搜索的关键词或短语

*/

function openresult1(s) {

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

var part = arguments.length == 2 ? arguments[1] : 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");

}

/**

* FireFox浏览器的特殊处理函数

* @param {object} evt - 事件对象

*/

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");

}

}

```

```

function ieHandler(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");

check_search(Info,part);

}

}

function check_search(info, part){

// your code here

}

```