// Powered By Mdjrcw.com Information Technology Logistics Inc 2009-01-16

var pspo='ÇëÑ¡ÔñÖ°Î»';var cdeep=6;var tb1='';var tb2='';var tb3='';function type_search(funid,indid,jobarea){if(funid!=''){window.location.href='Person_Query_List.aspx?hidFuntype='+funid;}else if(indid!=''){window.location.href='Person_Query_List.aspx?hidIndustry='+indid;}else if(jobarea!=''){window.location.href='Person_Query_List.aspx?hidJobArea='+jobarea;}}
var bdClkEvt=document.body.onclick;var curSwIdNum='';function showSubFuntypeDiv(code,topObj){if(curSwIdNum!=code){hiddenSubFuntypeDiv(curSwIdNum);}
curSwIdNum=code;document.body.onclick=function(event){isHiddenSubFuntypeDiv(event);};if(document.getElementById('subDiv'+code)!=null){$_('subDiv'+code).style.display='block';return;}
var wd=topObj.clientWidth;var subObj=document.createElement('div');subObj.style.zIndex='2';subObj.id='subDiv'+code;subObj.style.position='absolute';subObj.style.width=wd+'px';subObj.style.display='block';subObj.style.background='#FFEDDF';var tblStr='<table width="100%" align="center" cellpadding="0" cellspacing="0" style="border:3px solid #FF7B00;" bgcolor="#FEFFEF"><tbody><tr height="18"><td background=/images/open_bg.gif style="color:#fff;padding-top:0px;cursor:default" valign="middle">&nbsp;<strong>'+pspo+'</strong></td><td background=/images/open_bg.gif align="right"><img style="cursor:pointer" onclick="hiddenSubFuntypeDiv(\''+code+'\')" src=/images/close1.gif align="absmiddle"></td></tr>';for(var i=0;i<func_v.length;i++){if(code==func_v[i]){break;}}
for(var k=0;k<subfunc_v[i].length;k++){tblStr+='<tr><td height="20" colspan="2" style="cursor:default">'+tb1+'¡¤'+tb2+'<a href="javascript:type_search(\''+subfunc_v[i][k]+'\',\'\',\'\')"> '+subfunc_s[i][k]+'</a>'+tb3+' </td></tr>';}
tblStr+='</tbody></table>';subObj.innerHTML=tblStr;topObj.appendChild(subObj);}
function isHiddenSubFuntypeDiv(event){if(document.getElementById('subDiv'+curSwIdNum)!=null){if('none'!=$_('subDiv'+curSwIdNum).style.display){event=event||window.event;srcElmt=event.target||event.srcElement;if(srcElmt!=$_('divId'+curSwIdNum)&&!isChild($_('subDiv'+curSwIdNum),srcElmt,cdeep)){hiddenSubFuntypeDiv(curSwIdNum);}}}}
function hiddenSubFuntypeDiv(code){if(document.getElementById('subDiv'+code)!=null){$_('subDiv'+code).style.display='none';}
curSwIdNum='';document.body.onclik=bdClkEvt;}
