﻿<!--
	function fnContentValuation(recomType, msg, actionflag)
	{
		if(actionflag == "F"){
			alert(msg);
			return false;
		}else{
			if(confirm(msg)){
				return true;
			}else{
				return false;
			}
		}
	}
	
	function fnBoardDelete(msg){
		if(confirm(msg)){
			return true;
		}else{
			return false;
		}
	}
	
	var varClickCount = 1;
	


	function chkNull(obj){
		if(obj.value.split(" ").join("") == "")	return true;
		return false;	
	}

	function isWhitespace(str){
		var whitespace = " ";
		var i;
		
		for(i=0;i < str.length; i++){
			var c = str.charAt(i);
			if(whitespace.indexOf(c) >= 0) return false;
		}
		return true;
	}

	function Get_String_Length(Check_String){
		var Check_String_Length = 0;	
		
		for (i = 0 ; i < Check_String.length ; i++){
			if ( (Check_String.charCodeAt(i) == 32) || (Check_String.charCodeAt(i) == 13) || (Check_String.charCodeAt(i) > 47 && Check_String.charCodeAt(i) < 58 ) || (Check_String.charCodeAt(i) > 31 && Check_String.charCodeAt(i) < 48 )){
				Check_String_Length += 1;
			}else if ((Check_String.charCodeAt(i) > 64 && Check_String.charCodeAt(i) < 91 ) || ( Check_String.charCodeAt(i) > 96 && Check_String.charCodeAt(i) < 123 )){
				Check_String_Length += 1;
			}else{			
				Check_String_Length += 2;
			}
		}
		return Check_String_Length;
	}
	
	function Korean_Character(Input_String){
        for(i=0; i<=Input_String.length-1; i++){
			if (((Input_String.charCodeAt(i) >= 4052) && (Input_String.charCodeAt(i) <= 4601)) || ((Input_String.charCodeAt(i) >= 12593) && (Input_String.charCodeAt(i) <= 12686)) || ((Input_String.charCodeAt(i) >= 44032) && (Input_String.charCodeAt(i) <= 55203))){
				return false;
			}
		}
	}

	function Guild_KeyBoard_Character(Check_String){		
		schar = new Array ('`','!','@','#','%','^','&','*','(',')','_','-','+','=','"',"'",'~','$','|','[',']',':','?','/','`', '{', '}',',','.',";");
	
		for (i=0; i<Check_String.length; i++){
			for (j=0; j<schar.length; j++){
				if ( schar[j] == Check_String.charAt(i)){
					return true;
				}		
	    	}
		}	
	}

	function Special_Character_for_Intoroduce(Check_String){
		schar= new Array('>',  '<');
		
		for (i=0; i<Check_String.length; i++){
			for (j=0; j<schar.length; j++){
				if (schar[j] == Check_String.charAt(i)){
		    		return true;
             	}
			}
		}
		return false;
	}	
//-->
