	function checkNumber(){
	
		window.status = "check number";

		if( event.keyCode < 48 ||  event.keyCode > 57 ){			
			event.returnValue = false;
		}
	}

	function moveFocus(formNm,str1, str2, maxdigit) { 
		
		var strlen = eval("document."+formNm+"."+str1+".value.length");
		
		if( strlen == maxdigit){
			eval("document."+formNm+"."+str2+".focus()");
		}

	}

	function openWindow() {

		var a = openWindow.arguments;
		var u = a[0];
		if(u==null) {
			return;
		}
		
		var p = a[1];
		if(p==null || p.length==0) {
			var q = u.lastIndexOf('/');
			p = (q<0)? u.substring(0, u.lastIndexOf('.')) : u.substring(q+1, u.lastIndexOf('.'));
		}
		//	alert(p);
		
		var o = (a[6]==null)? 'menubar=0, scrollbars=0, resizable=0' : a[6];
		if(a[2]!=null) o +=', width='+a[2];
		if(a[3]!=null) o +=', height='+a[3];
		if(a[4]!=null) o +=', left='+a[4];
		if(a[5]!=null) o +=', top='+a[5];

		var win = window.open(u, p, o);
		win.focus();

		return win;
	}

	/*================= 2008-07-08 Ãß°¡ ==================*/

	function ContentCheck(subValue){

		var wordList = /(union|select|update|drop|alter|alter column|create|insert|declare|exec|;--|set @|script|DECLARE)/gi;

		if( wordList.test(subValue.value) ){
			alert("[ "+ RegExp.$1 +" ]Àº(´Â) Â÷´ÜµÈ ´Ü¾îÀÔ´Ï´Ù."); 
			subValue.value = "";
			subValue.focus();
			return false;

		} else {
			return true;
		}
	}