/*  rollover*/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 MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function MM_goToURL() { //v3.0  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");}function openWindowcf() {	window.open("http://216.98.117.170/cfnver7/mycfn/job_apply_first.html","","WIDTH=650,HEIGHT=700,left=200,top=200, scrollbars=yes, resizable=yes");}function openWindow1() {	window.open("http://216.98.117.170/cfnver7/mycfn/login.html","","WIDTH=650,HEIGHT=700,left=200,top=200, scrollbars=yes, resizable=yes");}function openWindow2() {	window.open("resume_edit.html","","WIDTH=650,HEIGHT=700,left=200,top=200, scrollbars=yes, resizable=yes");}function openWindow3() {	window.open("/regi_agree.asp?lang=<%=Lang%>","","WIDTH=685,HEIGHT=700,left=200,top=200, scrollbars=yes, resizable=yes");}function openWindow3e() {	window.open("/agreement.html","","WIDTH=685,HEIGHT=700,left=200,top=200, scrollbars=yes, resizable=yes");}function openWindow4() {	window.open("scout_regi_0.html","","WIDTH=650,HEIGHT=700,left=200,top=200, scrollbars=yes, resizable=yes");}function openWindow5() {	window.open("http://216.98.117.170/cfnver7/mycfn/event_regi.html","","WIDTH=650,HEIGHT=700,left=200,top=200, scrollbars=yes, resizable=yes");}function openWindow6() {	window.open("http://216.98.117.170/cfnver7/cf_win/friends.html","","WIDTH=650,HEIGHT=700,left=200,top=200, scrollbars=yes, resizable=yes");}function openWindow7() {	window.open("http://216.98.117.170/cfnver7/cf_win/taiken.html","","WIDTH=650,HEIGHT=700,left=200,top=200, scrollbars=yes, resizable=yes");}function ctrl_wind(url) {opener.location.href = url;}function CloseWin(){	window.close();}function openWindow(URL,winName,features) { //v2.0   var childWindow = window.open(URL,winName,features);childWindow.focus(URL,winName,features);}function fnc_alert(msg){window.alert(msg);}  function scoutresume1() {    if ( confirm('�X�J�E�g���W���������J�ɂ����ꍇ��OK�{�^������Ă�������.') ){       alert("�X�J�E�g���W����������J�ɂȂ�܂����D");    } else {       alert("�X�J�E�g���W�����͌��J�ɂȂ��Ă��܂��D");    }  }    function check(n){	fOBJ = document.myFORM;	count = 0;	for (i=1; i<=4; i++) if (fOBJ["CB"+i].checked) count++;	if (count > 2)	{		alert("�u���b�N�ł����Ƃ�2�Ђ܂łł��B");		fOBJ["CB"+n].checked = false;	}}function dontmatter(){  	flag = document.cfn7.allok.checked;if(flag) {      document.cfn7.jp1.disabled = true;      document.cfn7.jp1.checked = false;	  document.cfn7.jp2.disabled = true;      document.cfn7.jp2.checked = false;       document.cfn7.jp3.disabled = true;      document.cfn7.jp3.checked = false;	  document.cfn7.jp4.disabled = true;      document.cfn7.jp4.checked = false; 	  document.cfn7.us1.disabled = true;      document.cfn7.us1.checked = false;	  document.cfn7.us2.disabled = true;      document.cfn7.us2.checked = false;       document.cfn7.us3.disabled = true;      document.cfn7.us3.checked = false;	  document.cfn7.us4.disabled = true;      document.cfn7.us4.checked = false; 	  document.cfn7.jpall.disabled = true;      document.cfn7.jpall.checked = false; 	  document.cfn7.usall.disabled = true;      document.cfn7.usall.checked = false; 	      document.cfn7.oth1.disabled = true;      document.cfn7.oth1.checked = false;	  document.cfn7.oth2.disabled = true;      document.cfn7.oth2.checked = false;       document.cfn7.oth3.disabled = true;      document.cfn7.oth3.checked = false;	  document.cfn7.oth4.disabled = true;      document.cfn7.oth4.checked = false; 		  document.cfn7.oth5.disabled = true;      document.cfn7.oth5.checked = false;   	  } else {      document.cfn7.jp1.disabled = false;	      document.cfn7.jp2.disabled = false;	      document.cfn7.jp3.disabled = false;	      document.cfn7.jp4.disabled = false; 	      document.cfn7.us1.disabled = false;	      document.cfn7.us2.disabled = false;	      document.cfn7.us3.disabled = false;	      document.cfn7.us4.disabled = false; 	      document.cfn7.jpall.disabled = false; 	      document.cfn7.usall.disabled = false;		     document.cfn7.oth1.disabled = false;	      document.cfn7.oth2.disabled = false;	      document.cfn7.oth3.disabled = false;	      document.cfn7.oth4.disabled = false;  		        document.cfn7.oth5.disabled = false; <!--      document.cfn7.nihon1.checked = true; --> }  } function jpdisable(){  	flag = document.cfn7.jpall.checked;if(flag) {      document.cfn7.jp1.disabled = true;      document.cfn7.jp1.checked = false;	  document.cfn7.jp2.disabled = true;      document.cfn7.jp2.checked = false;       document.cfn7.jp3.disabled = true;      document.cfn7.jp3.checked = false;	  document.cfn7.jp4.disabled = true;      document.cfn7.jp4.checked = false; 	  } else {      document.cfn7.jp1.disabled = false;	      document.cfn7.jp2.disabled = false;	      document.cfn7.jp3.disabled = false;	      document.cfn7.jp4.disabled = false; <!--      document.cfn7.nihon1.checked = true; --> }  } function usdisable(){  	flag = document.cfn7.usall.checked;if(flag) {      document.cfn7.us1.disabled = true;      document.cfn7.us1.checked = false;	  document.cfn7.us2.disabled = true;      document.cfn7.us2.checked = false;       document.cfn7.us3.disabled = true;      document.cfn7.us3.checked = false;	  document.cfn7.us4.disabled = true;      document.cfn7.us4.checked = false; 	  } else {      document.cfn7.us1.disabled = false;	      document.cfn7.us2.disabled = false;	      document.cfn7.us3.disabled = false;	      document.cfn7.us4.disabled = false; <!--      document.cfn7.nihon1.checked = true; --> }   }  function jpdisable2(){  	flag = document.cfn7.jpall.checked;if(flag) {      document.cfn7.jp1.disabled = true;      document.cfn7.jp1.checked = false;	  document.cfn7.jp2.disabled = true;      document.cfn7.jp2.checked = false;       document.cfn7.jp3.disabled = true;      document.cfn7.jp3.checked = false;	  document.cfn7.jp4.disabled = true;      document.cfn7.jp4.checked = false; 	  } else {	 if(document.cfn7.allok.checked){		       document.cfn7.jp1.disabled = true;	      document.cfn7.jp2.disabled = true;	      document.cfn7.jp3.disabled = true;	      document.cfn7.jp4.disabled = true; 	 }	 else{      document.cfn7.jp1.disabled = false;	      document.cfn7.jp2.disabled = false;	      document.cfn7.jp3.disabled = false;	      document.cfn7.jp4.disabled = false; <!--      document.cfn7.nihon1.checked = true; --> }   }}function usdisable2(){  	flag = document.cfn7.usall.checked;if(flag) {      document.cfn7.us1.disabled = true;      document.cfn7.us1.checked = false;	  document.cfn7.us2.disabled = true;      document.cfn7.us2.checked = false;       document.cfn7.us3.disabled = true;      document.cfn7.us3.checked = false;	  document.cfn7.us4.disabled = true;      document.cfn7.us4.checked = false; 	  } else { if(document.cfn7.allok.checked){		       document.cfn7.us1.disabled = true;	      document.cfn7.us2.disabled = true;	      document.cfn7.us3.disabled = true;	      document.cfn7.us4.disabled = true; 	 }	 else{      document.cfn7.us1.disabled = false;	      document.cfn7.us2.disabled = false;	      document.cfn7.us3.disabled = false;	      document.cfn7.us4.disabled = false; <!--      document.cfn7.nihon1.checked = true; --> }  <!--      document.cfn7.nihon1.checked = true; --> }   }  function Click_Sub(ix) { if (document.all.y1[ix].checked) {  document.all.x1[ix].style.backgroundColor='#FFFF99'; } else {  var im;  im = ix % 2;  if (im==1){   document.all.x1[ix].style.backgroundColor='';  }else{   document.all.x1[ix].style.backgroundColor='';  } }} function Click_AllSub() { var ix; max_ix=Math.min(25,25); for (ix=0; ix<max_ix; ix++){  if (document.all.y1[ix].checked) {   document.all.x1[ix].style.backgroundColor='#FFFF99';  } else {   var im;   im = ix % 2;   if (im==1){    document.all.x1[ix].style.backgroundColor='';   }else{    document.all.x1[ix].style.backgroundColor='';   }  } }} function AllSelect(){ var count;if (document.all.selectall.checked){  for(count = 0; count < document.all.SelectedNo.length; count++){document.all.SelectedNo[count].checked = true;    Click_Sub(count);  } }else{  for(count = 0; count < document.all.SelectedNo.length; count++){   document.all.SelectedNo[count].checked = false;   Click_Sub(count);  }   }}function link(w){        window.opener.location.href = w;        window.focus();}