/**
auther xurun
date 2006-8-16
*/
var hotJobfun=new Array();
var hotJobCount=88;
hotJobfun[0]=new Array("1001","技术总监");
hotJobfun[1]=new Array("1002","信息主管");
hotJobfun[2]=new Array("1004","软件工程师");
hotJobfun[3]=new Array("1005","硬件工程师");
hotJobfun[4]=new Array("1006","系统管理员");
hotJobfun[5]=new Array("1006","网络管理员");
hotJobfun[6]=new Array("1007","系统集成");
hotJobfun[7]=new Array("1007","技术支持");
hotJobfun[8]=new Array("1008","ERP工程师");
hotJobfun[9]=new Array("1008","SAP工程师");
hotJobfun[10]=new Array("1009","系统分析员");
hotJobfun[11]=new Array("1010","测试工程师");
hotJobfun[12]=new Array("1012","网页设计师");
hotJobfun[13]=new Array("1013","电子商务");
hotJobfun[14]=new Array("1014","网站策划");
hotJobfun[15]=new Array("1015","网站编辑");
hotJobfun[16]=new Array("1016","系统维护员");
hotJobfun[17]=new Array("1102","总经理/总监");
hotJobfun[18]=new Array("1103","人事总临");
hotJobfun[19]=new Array("1104","行政总监");
hotJobfun[20]=new Array("1105","企划总监");
hotJobfun[21]=new Array("1106","财务总监");
hotJobfun[22]=new Array("1108","部门经理");
hotJobfun[23]=new Array("1109","总经理助理");
hotJobfun[24]=new Array("1110","经理助理");
hotJobfun[25]=new Array("1112","项目经理");
hotJobfun[26]=new Array("1201","销售总监");
hotJobfun[27]=new Array("1202","销售经理");
hotJobfun[28]=new Array("1203","销售助理");
hotJobfun[29]=new Array("1205","销售代表");
hotJobfun[30]=new Array("1206","业务员");
hotJobfun[31]=new Array("1207","医药代表");
hotJobfun[32]=new Array("1209","渠道经理");
hotJobfun[33]=new Array("1210","区域经理");
hotJobfun[34]=new Array("1211","分销经理");
hotJobfun[35]=new Array("1212","客户服务");
hotJobfun[36]=new Array("1401","电气工程师");
hotJobfun[37]=new Array("1402","电器工程师");
hotJobfun[38]=new Array("1604","品质管理");
hotJobfun[39]=new Array("1605","物控管理");
hotJobfun[40]=new Array("1606","采购管理");
hotJobfun[41]=new Array("1619","跟单员");
hotJobfun[42]=new Array("1620","仓库管理");
hotJobfun[43]=new Array("1621","统计员");
hotJobfun[44]=new Array("1622","安全主任");
hotJobfun[45]=new Array("1624","储备干部");
hotJobfun[46]=new Array("1708","广告企划");
hotJobfun[47]=new Array("1711","价格企划");
hotJobfun[48]=new Array("1712","客户经理");
hotJobfun[49]=new Array("1713","公关经理");
hotJobfun[50]=new Array("1715","文案策划");
hotJobfun[51]=new Array("1716","广告制作");
hotJobfun[52]=new Array("1801","行政经理");
hotJobfun[53]=new Array("1802","行政助理");
hotJobfun[54]=new Array("1803","人事经理");
hotJobfun[55]=new Array("1804","人事助理");
hotJobfun[56]=new Array("1805","办公室主任");
hotJobfun[57]=new Array("2101","英语翻译");
hotJobfun[58]=new Array("2102","日语翻译");
hotJobfun[59]=new Array("2201","建筑工程师");
hotJobfun[60]=new Array("2202","结构工程师");
hotJobfun[61]=new Array("2202","土建工程师");
hotJobfun[62]=new Array("2203","建筑制图");
hotJobfun[63]=new Array("2303","文员接待");
hotJobfun[64]=new Array("2304","电脑操作员");
hotJobfun[65]=new Array("2403","投资顾问");
hotJobfun[66]=new Array("2404","保险经纪");
hotJobfun[67]=new Array("2603","平面设计");
hotJobfun[68]=new Array("2604","艺术设计");
hotJobfun[69]=new Array("2606","家具设计");
hotJobfun[70]=new Array("2608","游戏设计");
hotJobfun[71]=new Array("2609","三维动画设计");
hotJobfun[72]=new Array("2612","形象设计");
hotJobfun[73]=new Array("2801","律师");
hotJobfun[74]=new Array("2802","法律顾问");
hotJobfun[75]=new Array("2804","律师助理");
hotJobfun[76]=new Array("3006","心理医生");
hotJobfun[77]=new Array("3007","护士/护理");
hotJobfun[78]=new Array("3505","美术编辑");
hotJobfun[79]=new Array("3506","排版/校对");
hotJobfun[80]=new Array("3507","发行主管");
hotJobfun[81]=new Array("3508","发行助理");
hotJobfun[82]=new Array("3601","酒店管理");
hotJobfun[83]=new Array("3606","公关主任");
hotJobfun[84]=new Array("3607","培训主任");
hotJobfun[85]=new Array("3613","调酒师");
hotJobfun[86]=new Array("3701","店长");
hotJobfun[87]=new Array("3702","营销主管");
hotJobfun[88]=new Array("3704","防损管理");

document.write("<div id='pup' onmouseout=hidepupTip() class='POPMENU' style='position:absolute; filter=Alpha(opacity=95);opacity:0.90;z-index:10;line-height=21px;width:316px;overflow: visible;visibility: hidden;font-size:12px;padding:5 5 5 5px;'></div>")

var displayObj = null;
var a=0;
function getObj(objname){
	var obj;
	if (document.layers){
		obj = document.layers[objname];
    }
    else if (document.all){
		obj = document.all[objname];
    }
    else if (document.getElementById){
        obj = document.getElementById(objname);
    }
	return obj;
}
function showpup(e,str){
	showpupCommon(null,e,str);
}
function showpupCommon(divWidth,e,str)
{	
	var disObj = null;
	if(displayObj==str)return;
	var left=0,top=e.height+1;
	var x,y;
	while (e.offsetParent){
		left += e.offsetLeft;
		top  += e.offsetTop;
		e     = e.offsetParent;
	}

	left += e.offsetLeft;
	top  += e.offsetTop;
	x = left;
	y = top;
	if (document.layers){
		disObj = document.layers['pup'];
        disObj.left = x;
        disObj.top = y;
    }
    else if (document.all){
		disObj = document.all['pup'];
		disObj.style.left=x;
        disObj.style.top=y;
    }
    else if (document.getElementById){
        disObj = document.getElementById('pup');
		disObj.style.left=x+"px";
       	disObj.style.top=y+"px";
    }

	disObj.style.visibility="visible";
	if(divWidth!=null && divWidth!=""){
		disObj.style.width=divWidth+"px";
	}else{
		disObj.style.width="316px";
	}
	disObj.innerHTML=str;
	displayObj = str;
	a=0;
	checkBrowserForVersion4();
}

function showpupindex(imgObj,val){
	showpupCommon(264,imgObj,val);
}

function hidepup()
{
	var disObj = getObj("pup");
    disObj.style.innerHTML=""
    disObj.style.visibility="hidden";
    displayObj = null;
}


function  hidepupTip(){
	var disObj = getObj("pup");
	/*var div1 = document.all.searchInput;
	if(div.componentFromPoint(event.clientX,event.clientY)=="outside" && div1.componentFromPoint(event.clientX,event.clientY)=="outside")
	{
		div.style.visibility='hidden'
	}*/		
	disObj.style.visibility='hidden'
}

function checkBrowserForVersion4(){
	var	x=navigator.appVersion;
	y=x.substring(0,4);
	if(y>=4) Effect();
}

var	isNav=(navigator.appName.indexOf("Netscape")!=-1);
var	colors=new Array("444444");

function Effect(){
	var disObj = getObj("pup");
	color=colors[a];
	disObj.style.color = color;
	
	if(a<colors.length){
		a++;
		xx=setTimeout("Effect()",45);
	}
}
function getKeys(num){
	var randKeys;
	var keysList="";
	var oldKeys=new Array();
	var at;
	num=num?num:5;
	for (i=0;i<num;){
		randKeys = Math.floor(Math.random()*hotJobCount);
		var keys=hotJobfun[randKeys];
		at=true;
		for (j=0;j<oldKeys.length;j++){
			if (oldKeys[j]==keys[1]){
				at=false;
				break;
			}
		}
		if (at==true){
	 		keysList+= i==num ? "<span style=\"cursor:pointer;font:12px;\" onclick=\"setSearchKeys("+keys[0]+" , '"+keys[1]+"')\">"+keys[1]+"</span>" : "<span onclick=\"setSearchKeys("+keys[0]+" , '"+keys[1]+"')\" style=\"cursor:pointer;font:12px;\">"+keys[1] + "</span>&nbsp;&nbsp;|&nbsp;&nbsp;";
	 		i++;
	 		oldKeys[i]=keys[1];
		}
	}
	document.getElementById("keyslist").innerHTML=keysList;
}
function nTabs(thisObj,Num){
if(thisObj.className == "active")return;
	var tabObj = thisObj.parentNode.id;
	var tabList = document.getElementById(tabObj).getElementsByTagName("li");
	for(i=1; i <=tabList.length; i++){
		if (i == Num){
			thisObj.className = "active";
			document.getElementById(tabObj+"_Content"+i).style.display = "block";
		}else{
			j=i-1;
			tabList[j].className = "normal";
			document.getElementById(tabObj+"_Content"+i).style.display = "none";
		}
	}
}
function sendTosearch(id,type){
	if (type==1) var url="search.php?action=ind&keysindex="+id;
	else var url="search.php?action=ind&cor="+id;
	goURL(url);
}
function checkLogin(){
	var sub;
	sub=true;
	if (getId("userName").value==""){
		showMsg('userName',0,"请填写您的登录名或注册邮箱");
		sub=false;
		return false;
	}
	if (getId("userPass").value==""){
		showMsg('userPass',0,"用户密码不能为空");
		sub=false;
		return false;
	}
	if (sub) document.form1.submit();
	else return false;
}
function setSearchKeys( ind , txt ){
	document.getElementById("seachKey01").value=txt;
	document.getElementById("keysindex").value=ind;
	selectType("type_03" , 3 );
	document.seachForm01.submit();
}