	function FillCheck(obj,msg){
		var CheckMsg=java_all_trim(obj.value);
		if(CheckMsg==""){
			alert(msg+'  ÀÔ·ÂÇØ ÁÖ½Ã±â ¹Ù¶ø´Ï´Ù.');
			obj.value=CheckMsg;
			obj.focus();
			return false;
		}else
			return true;
	} //end functoin 

	//ºó°ø¹é Á¦°Å
	function java_all_trim(a) {
	   for (; a.indexOf(" ") != -1 ;) 
		  a = a.replace(" ","")
		return a;
	  }

function PopUpD(URL, Target, config, width, height){
	var window_left = (screen.width- width )/2;
	var window_top = (screen.height- height )/2;
	window.open(URL, Target, config + ', top=' + window_top + ',left=' + window_left + ',width=' + width + ',height=' + height);
}


function key_number(check,valid) {
   newString = "";
   count = 0;

   if(check.value.length==0) return "";

   for (i = 0; i < check.value.length; i++) {
      ch = check.value.substring(i, i+1);

      if (((ch >= "0") && (ch <= "9")) ||  (ch == valid) ) {
         newString += ch;
     }
   }
   return newString;
}
