function login_check()
 {

 if (document.login.username.value==""){
  alert("-请输入用户名-");
  document.login.username.focus();
  return false;
 }
  if (document.login.password.value==""){
  alert("-请输入登陆密码-");
  document.login.password.focus();
  return false;
 }
  if (document.login.code.value==""){
  alert("-请输入验证码-");
  document.login.code.focus();
  return false;
 }
  if (document.login.usertype.options[document.login.usertype.selectedIndex].value==""){
  alert("-请选择用户类型-");
  document.login.usertype.focus();
  return false;
 }
 }
// function search_check()
// {
// if (document.SearchKey.key.value=="请输入职位关键字"||document.SearchKey.key.value=="请输入人才关键字"){
//  alert("-请输入关键字-");
//  document.SearchKey.key.focus();
//  return false;
// }
// }
 
 function search_check1()
 {
 if (document.SearchKey1.key.value=="请输入简历关键字"){
  alert("-请输入简历关键字-");
  document.SearchKey1.key.focus();
  return false;
 }
 }
 
 function asecBoard(n) 
{ 
    for(i=1;i<6;i++) 
    { 
        eval("document.getElementById('al0"+i+"').className='a102'"); 
        eval("abx0"+i+".style.display='none'"); 
    } 
    eval("document.getElementById('al0"+n+"').className='a101'"); 
    eval("abx0"+n+".style.display='block'"); 
} 

function changepic(pid){
			if(pid=='a1'){
			document.getElementById("paget").style.display='block';
			document.getElementById("zwlb").style.display='none';
			document.getElementById("hylb").style.display='none';
			document.getElementById("pic1").src="nimg/zd.jpg";
			document.getElementById("pic2").src="nimg/rm.jpg";
			document.getElementById("pic3").src="nimg/jp.jpg";
			}
			if(pid=='a2'){
			document.getElementById("paget").style.display='none';
			document.getElementById("zwlb").style.display='block';
			document.getElementById("hylb").style.display='none';
						document.getElementById("pic1").src="nimg/zd1.jpg";
			document.getElementById("pic2").src="nimg/rm1.jpg";
			document.getElementById("pic3").src="nimg/jp.jpg";

			}
			if(pid=='a3'){
			document.getElementById("paget").style.display='none';
			document.getElementById("zwlb").style.display='none';
			document.getElementById("hylb").style.display='block';
			document.getElementById("pic1").src="nimg/zd1.jpg";
			document.getElementById("pic2").src="nimg/rm.jpg";
			document.getElementById("pic3").src="nimg/jp1.jpg";

			}
			}
function rstools(){
var rstr;        
rstr="<div class='renshi'>"
rstr+="<div class='gongju'><a href='http://www.nprc1.com/renshigongju/index.shtml#1' target='_blank'><img border='0' src='images/b1.gif' alt='招聘与面试' onmouseover='this.src=\"images/b1a.gif\"' onmouseout='this.src=\"images/b1.gif\"'></a></div>"
rstr+="<div class='gongju'><a href='http://www.nprc1.com/renshigongju/index.shtml#2' target='_blank'><img border='0' src='images/b2.gif' alt='人事档案' onmouseover='this.src=\"images/b2a.gif\"' onmouseout='this.src=\"images/b2.gif\"'></a></div>"
rstr+="<div class='gongju'><a href='http://www.nprc1.com/renshigongju/index.shtml#3' target='_blank'><img border='0' src='images/b3.gif' alt='合作与试用' onmouseover='this.src=\"images/b3a.gif\"' onmouseout='this.src=\"images/b3.gif\"'></a></div>"
rstr+="<div class='gongju'><a href='http://www.nprc1.com/renshigongju/index.shtml#4' target='_blank'><img border='0' src='images/b4.gif' alt='加班与考勤' onmouseover='this.src=\"images/b4a.gif\"' onmouseout='this.src=\"images/b4.gif\"'></a></div>"
rstr+="<div class='gongju'><a href='http://www.nprc1.com/renshigongju/index.shtml#5' target='_blank'><img border='0' src='images/b5.gif' alt='员工管理' onmouseover='this.src=\"images/b5a.gif\"' onmouseout='this.src=\"images/b5.gif\"'></a></div>"
rstr+="<div class='gongju'><a href='http://www.nprc1.com/renshigongju/index.shtml#6' target='_blank'><img border='0' src='images/b6.gif' alt='薪酬制度' onmouseover='this.src=\"images/b6a.gif\"' onmouseout='this.src=\"images/b6.gif\"' ></a></div>"
rstr+="<div class='gongju'><a href='http://www.nprc1.com/renshigongju/index.shtml#7' target='_blank'><img border='0' src='images/b7.gif' alt='员工培训' onmouseover='this.src=\"images/b7a.gif\"' onmouseout='this.src=\"images/b7.gif\"'></a></div>"
rstr+="<div class='gongju'><a href='http://www.nprc1.com/renshigongju/index.shtml#8' target='_blank'><img border='0' src='images/b8.gif' alt='绩效考核' onmouseover='this.src=\"images/b8a.gif\"' onmouseout='this.src=\"images/b8.gif\"'></a></div>"
rstr+="<div class='gongju'><a href='http://www.nprc1.com/renshigongju/index.shtml#9' target='_blank'><img border='0' src='images/b9.gif' alt='出差制度' onmouseover='this.src=\"images/b9a.gif\"' onmouseout='this.src=\"images/b9.gif\"'></a></div>"
rstr+="<div class='gongju'><a href='http://www.nprc1.com/renshigongju/index.shtml#10' target='_blank'><img border='0' src='images/b10.gif' alt='辞退与移交' onmouseover='this.src=\"images/b10a.gif\"' onmouseout='this.src=\"images/b10.gif\"'></a></div>"
rstr+="</div>"
document.write(rstr);
}

function AddFavorite(sURL, sTitle){try{window.external.addFavorite(sURL, sTitle);}catch (e){try        {window.sidebar.addPanel(sTitle, sURL, "");}catch (e){alert("加入收藏失败，请您按Ctrl+D添加。");}}}