//更换搜索背景位置
function chbg(_this,ev){
	if(ev==2) {
		_this.className="current";
		for(i=1;i<=4;i++){
			tagObj = eval("$('tag" + i +"')");
			sContent = eval("$('searchcontent" + i + "')");
			if(tagObj==_this) {
				tagObj.style.backgroundPosition="0 bottom";
				//$("searchkeywords").innerHTML=sContent.innerHTML;
			}else{
				tagObj.style.backgroundPosition="0 0";
				tagObj.className="";
			}
		}		
	}
	if(_this.className!="current"){
		if(ev==1) _this.style.backgroundPosition="0 -40px";
		if(ev==0) _this.style.backgroundPosition="0 0"
	}
}
function cls(){ 
//捕获触发事件的对象，并设置为以下语句的默认对象 
with(event.srcElement) 
    //如果当前值为默认值，则清空 
if(value=='空格分割多关键字,例:英语 高级') value="" 
} 
function res(){ 
//捕获触发事件的对象，并设置为以下语句的默认对象 
with(event.srcElement) 
//如果当前值为空，则重置为默认值 
if(value=="") value=defaultValue 
} 
 function admin_add(theForm){
if (theForm.key.value=="" || theForm.key.value=="空格分割多关键字,例:英语 高级"){
alert("您至输入一个关键字");theForm.key.focus();
return (false);
} 
}

