﻿
function searchAll(searchControl){
        var keys=document.getElementById(searchControl).value;
        searchtext=keys.replace(/(^\s*)|(\s*$)/g, "");
        if(searchtext==""){
            alert("请输入你要搜索的问题");
            return false;
        }
        if(searchtext=="请输入您的问题"){
            window.location.href="/index.html"
        }else{
        window.location.href="/seach_newlist.aspx?seachKey="+encodeURI(searchtext);
        }
    }

