﻿function isSearchs()
{    
    var txtS = document.getElementById('txtSou'); 
    if(txtS != null)
    {
        if(txtS.value == "" || txtS.value == "输入要搜索的关键词")
        {
            var searchTS = "输入要搜索的关键词";
            if(txtS.value != "")
                searchTS = txtS.value;
            alert(searchTS);
            txtS.focus();
        }
        else
        {
            this.location.href = "Lists.aspx?cons=" + escape(txtS.value);
        }
    }
}

function setSouValue(cons)
{
    if(cons == "" || cons == "输入要搜索的关键词")
        return;
    var txtS = document.getElementById('txtSou'); 
    if(txtS != null)
    {
        txtS.value = cons;
    }
}
