// JavaScript Document
         function subto(){
		    //原型方法，剔除前后空格
            String.prototype.trim= function(){  
             return this.replace(/(^\s*)|(\s*$)/g, "");  
            }
		    if(document.searchform.keywords.value.trim().length==0){
			alert("请输入您要查询的内容！");
            document.searchform.keywords.focus();
            return false;
			}
			document.searchform.submit()
			return true;
		 }