var __cc_uid="jobuy";

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function turnit(ss)   //紧缩表格
{ss.style.display="none"}
function gogo(xx){
gs1.style.display='none';
xx.style.display='';
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

/* 搜索*/
function clearKeyword(frm) {
  frm.key.value="";
}
function SubmitForm(url)
{
	if(thisForm.jobfunction.value==""){
		alert("关键字为空！");
		thisForm.jobfunction.focus();
		return false;
	}
	if(document.thisForm.keyword.value=="输入职位关键字")
		document.thisForm.keyword.value="";
	document.thisForm.action=url;
	document.thisForm.submit();
}
/* 登录*/
function CheckForm()
{
if(document.thisForm.UserName.value.length<1)
	{
	    alert("用户名不能为空!");
	    return false;
	}
	if(document.thisForm.Password.value.length<1)
	{
	    alert("密码不能为空!");
	    return false;
	}
  if(document.thisForm.MemberType2.checked==true)
    {
    	
    	document.thisForm.action="/Company/loginchk.asp";

    }
  if(document.thisForm.MemberType3.checked==true) 
    {
    	document.thisForm.action="/Section/loginchk.asp";
    }
  if(document.thisForm.MemberType1.checked==true) 
    {
    	document.thisForm.action="/person/loginchk.asp";
    }
    document.thisForm.submit();
}
function keyword_onkeydown()
{
if(window.event.keyCode==13)  document.thisForm.GotoButton.onclick();
}

function Password_onkeydown()
{
if(window.event.keyCode==13)  document.thisForm.LoginButton.onclick();
}

/* flash */

function fnFlashObject(byPath, byWidth, byHeight)
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + byWidth + '" height="' + byHeight + '">');
    document.write(' <param name="movie" value="' + byPath + '">');
    document.write(' <param name="quality" value="high">');
    document.write(' <param name="menu" value="false">');
	document.write(' <param name="SCALE" value="exactfit">');
	document.write(' <param name="wmode" value="opaque">');
	document.write(' <param name="wmode" value="transparent">');
    document.write(' <embed src="' + byPath + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + byWidth + '" height="' + byHeight + '"></embed>');
    document.write('</object>');
}