var special_char = "`~!@#$%^&*()+=|[]{};<>/?'\"";//, _-:
var temp = "";
function identify(ident) {
 for ( var i = 0 ; i < special_char.length ; i++ ) {
  temp = special_char.substr(i, 1); 
  if ( ident.indexOf(temp) != -1 ) return true ;
 }
 return false;
}
function isSpecial(frmname, str){
	if(str!==""){
		if (identify(str) == true ){ alert("No space & special char(s) allowed.\n\n plz check & rename the uploading file names!");
			return false;} 
		
	}
}

	function chkReg(frm){
/*
	if(frm.frstcntpsn.value==""){
			alert('ÁøÇà´ã´çÀÚ, Please');
			frm.frstcntpsn.focus();
			return false;
		}
		*/
	if(frm.schlnm.value==""){
			alert('ÇÐ¿ø¸í, Please');
			frm.schlnm.focus();
			return false;
		}
		
			if(frm.chrgr.value==""){
			alert('´ã´çÀÚ¸í, Please');
			frm.chrgr.focus();
			return false;
		}
			if(frm.email.value==""){
			alert('Email, Please');
			frm.email.focus();
			return false;
		}
/*		
		if(frm.file_name2.value!==""){
		isSpecial(frm.file_name2, frm.file_name2.value);
	}

	if(frm.file_name3.value!==""){
		isSpecial(frm.file_name3, frm.file_name3.value);
	
	}

	if(frm.file_name4.value!==""){
		isSpecial(frm.file_name4, frm.file_name4.value);
	}

	if(frm.file_name5.value!==""){
		isSpecial(frm.file_name5, frm.file_name5.value);
	}
	if(frm.file_name6.value!==""){
		isSpecial(frm.file_name6, frm.file_name6.value);
	}
*/

		frm.target='actfrm';
		frm.action="Schoolpop_act.asp" 
		frm.submit();
		frm.Submit4222.disabled=true;
		frm.Submit4222.value='processing';
		//opener.location.reload();
		
		
	}

			function Delprcssctnt(uidx) { 
						if (confirm("Delete?")) { 
							actfrm.document.location.href = "prcssctnt_delete.asp?uidx=" + uidx;
						} else { return; } 
					} 
