<!--
//-------------------------------------------------------------------------------
function overcolor(str1,str2){				//鼠标移上的样式
document.all[str1].style.backgroundColor="#FFA200";
document.all[str1].style.color="#ffffff";
document.all[str1].style.cursor="Hand"; 
}
//-------------------------------------------------------------------------------
function outcolor(str1,str2){				//鼠标移开的样式
document.all[str1].style.backgroundColor="#f7f7f7";
document.all[str1].style.color="#000000";
}
//-------------------------------------------------------------------------------
function top(){		//到页面顶端
document.body.scrollTop=0;
}
//-------------------------------------------------------------------------------
function rusure(str,des)		//<A>标签提交确认
{ 	
question = confirm(str) 	
if (question !="0")
{
location.href=des;
} 
} 
//-------------------------------------------------------------------------------
function form_confirm(str)		//表单提交确认
{ 
submit=false;
if (confirm(str)){
	document.s_sub=true;
}
else{
	document.s_sub=false;
}
return;
}
function checkinput(){
	if (document.all.sear.key.value==""){
	document.all.key.value="请输入关键词";
	}
}
function checkfocus(){
	if (document.all.sear.key.value=="请输入关键词"){
	document.all.key.value="";
	}
	
}

//-------------------------------------------------------------------------------
//下拉菜单效果开始---------------------------------------------------------------
function hideAll() {
  for(i=0;i<odiv.length;i++) {
    odiv[i].style.display="none";
  }
}

function showObj(num) {
  
  if (odiv[num].style.display=="none") {
    hideAll();
    odiv[num].style.display="inline";
  }
  else {
    odiv[num].style.display="none";
  }

}
//菜单效果结束-------------------------------------------------------------------
//-------------------------------------------------------------------------------
//输入验证-----------------------------------------------------------------------
/*
function checkTextin(id)
{
temp=document.all[id].value
if ((temp.keyCode >= 97) && (temp.keyCode <= 122)) {
 temp.keyCode = temp.keyCode - 32 ; } }  
if ( !(((temp.keyCode >= 48) && (temp.keyCode <= 57)) || (temp.keyCode == 13) || (temp.keyCode == 46) || (temp.keyCode == 45)) || ((temp.keyCode >= 97) && (temp.keyCode <= 122)) || ((temp.keyCode >= 65) && (temp.keyCode <= 90)) ){
temp.keyCode = 0 ;
}
} 
*/
//输入验证-----------------------------------------------------------------------
//-------------------------------------------------------------------------------
-->