// JavaScript Document
 function Perlogin_check()
 {

	 if (document.Perlogin.username.value==""){
		alert("请输入您的求职登陆账号！");
		document.Perlogin.username.focus();
		return false;
	 }
	 if (document.Perlogin.password.value==""){
		alert("请输入您的求职登陆密码！");
		document.Perlogin.password.focus();
		return false;
	 }
	 
 }
  function Comlogin_check()
 {

	 if (document.Comlogin.username.value==""){
		alert("请输入您的招聘登陆账号！");
		document.Comlogin.username.focus();
		return false;
	 }
	 if (document.Comlogin.password.value==""){
		alert("请输入您的招聘登陆密码！");
		document.Comlogin.password.focus();
		return false;
	 }
	 
 }
 //function search_check(){
 //if (document.theForm.key.value=="请输入职位/人才关键字"){
  //alert("-请输入职位/人才关键字-");
  //document.theForm.key.focus();
  //return false;
 //}
 //}
 function fsecBoard(n) 
{ 
    for(i=1;i<5;i++) 
    { 
        eval("document.getElementById('fl0"+i+"').className='f102'"); 
        eval("fbx0"+i+".style.display='none'"); 
    } 
    eval("document.getElementById('fl0"+n+"').className='f101'"); 
    eval("fbx0"+n+".style.display='block'"); 
}
function nTabs(thisObj,Num){
	if(thisObj.className == "active1")return;
	var tabObj = thisObj.parentNode.id;
	var tabList = document.getElementById(tabObj).getElementsByTagName("li");
	for(i=0; i <tabList.length; i++)
	{
		if (i == Num)
		{
			thisObj.className = "active1"; 
    		document.getElementById(tabObj+"_Content"+i).style.display = "block";
		}else{
			tabList[i].className = "normal1"; 
			document.getElementById(tabObj+"_Content"+i).style.display = "none";
		}
	} 
}
function js_close_div(divname){
  			document.getElementById(divname).style.display = "none";
}