	// °Ë»ö Ã¼Å©
	function FuncCheckSelect(p_frm){
			
		if(p_frm.txtsearchword.value == ""){
			alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
			p_frm.txtsearchword.focus();
			return false;
		}
			
	}

	//ÆùÆ® Áö½ÄÀÎ ¸ÞÀÎ ±Û¾²±â Ã¼Å©
	function FuncInputChk(p_frm){
			
		if(p_frm.title.value == "" || p_frm.title.value==p_frm.title.defaultValue){
			alert("Á¦¸ñÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
			p_frm.title.focus();
			return false;
		}
			
	}

	// ÆùÆ® Áö½ÄÀÎ ¼öÁ¤
	function FuncEdit(p_frm){
		p_frm.action = "FontKnowInEdit.asp";
		p_frm.submit();
	}

	//ÆùÆ® Áö½ÄÀÎ »èÁ¦

	function FuncDel(p_frm){
		if (confirm("Áú¹®À» »èÁ¦ÇÏ½Ã°Ú½À´Ï±î?\n\nÁú¹®À» »èÁ¦ ÇÏ½Ã¸é Áú¹®µî·ÏÀ¸·Î ¾òÀº È°µ¿Áö¼ö°¡ »èÁ¦µË´Ï´Ù."))
		{
			p_frm.txttype.value="3";
			p_frm.actiontype.value="ComDEL";
			p_frm.action = "iframeBizFontKnowInInput.asp";
			p_frm.target="iframework";
			p_frm.submit();
		}
	}


	//¸®½ºÆ® ÆäÀÌÁö ÀÌµ¿
	function FuncGoPage(p_num){
		frmtype.page.value = p_num;
		frmtype.submit();
	}

	//ÃßÃµ
	function funcrecomm(p_num){
		frmrepl.txttype.value = '03';
		frmrepl.itemnum.value = p_num;
		frmrepl.submit();
	}

	//º£½ºÆ® ´äº¯ ¼±ÅÃ
	function funcanschoice(p_num){
		if (confirm("º£½ºÆ® ´äº¯À¸·Î ¼±ÅÃÇÏ½Ã°Ú½À´Ï±î?"))
		{
			frmrepl.txttype.value = '04';
			frmrepl.itemnum.value = p_num;
			frmrepl.submit();
		}
	}

	//°Ô½Ã¹° ³»¿ëº¸±â
	function FuncView(p_num, p_str){
		 
		frmtype.boardnum.value = p_num;
		frmtype.viewchk.value = "0";
		frmtype.action= p_str;
		frmtype.submit();
	}

	//¸®½ºÆ®·Î µ¹¾Æ°¡±â
	function FuncGoList(p_num){
		frmList.page.value = p_num;
		frmList.submit();
	}

	//¸®½ºÆ®·Î µ¹¾Æ°¡±â
	function funcgolist(p_num){
		frmList.page.value = p_num;
		frmList.submit();
	}

	function FuncGoPageRepl(p_num){
		frmtype.subpage.value = p_num;
		frmtype.submit();
	}

	//µî·Ï ÆÄÀÏ º¸±â/´Ù¿î ------------------------------------------------------------------
	function FucnViewFile(p_file,p_type,p_num){

		frmdown.filename.value = p_file;
		frmdown.type.value = p_type;
		frmdown.boardnum.value = p_num;
		frmdown.submit();
	}

	function FuncloginForm(obj){
		if(confirm("·Î±×ÀÎ ÇÏ½Å ÈÄ ÀÌ¿ë ÇÏ½Ç¼ö ÀÖ½À´Ï´Ù.\n·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?")){
			obj.action="/join/login.asp";
		}else{
			return false;
		}
	}
	function Funclogin(){
		if(confirm("·Î±×ÀÎ ÇÏ½Å ÈÄ ÀÌ¿ë ÇÏ½Ç¼ö ÀÖ½À´Ï´Ù.\n·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?"))
			document.location="/join/login.asp";
		else
			return;
	}

	function FuncWrite(p_obj, p_action){
		p_obj.action= p_action;
		p_obj.submit();
	}

	// ¸®ÇÃ »èÁ¦
	function funcrepldel(p_obj, p_num){
		p_obj.txttype.value="02";
		p_obj.itemnum.value=p_num;
		p_obj.submit();
	}

	function funcrepledit(p_obj, p_num){
		p_obj.txttype.value="05";
		p_obj.itemnum.value=p_num;
		p_obj.action="FontKnowInRepl.asp";
		p_obj.target="";
		p_obj.submit();
	}

	// ¸®ÇÃ ÆäÀÌÁö ÀÌµ¿
	function FuncReplWrite(){
		frmtype.action="FontKnowInRepl.asp";
		frmtype.submit();
	}

	function Funcorderby(p_str){

		frmtype.orderby.value = p_str;

		frmtype.submit();
	}


	function check_focus(obj){
		if (obj.defaultValue==obj.value)
		{
			obj.value="";
		}
	}


	var xmlHttp;
	function createXMLHttpRequest() {
		if (window.ActiveXObject) {
			xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
		}
		else if (window.XMLHttpRequest) {
			xmlHttp = new XMLHttpRequest();
		}

	}

	//Æ¯Á¤ DIV ¾È¿¡ À§Ä¡ÇÑ ÀÌ¹ÌÁö ¸®»çÀÌÁî    
	function divImgResize(id, size) {
		var divId = document.getElementById(id);
		var contStr = divId.innerHTML.toLowerCase();

		if( contStr.indexOf( "<img" ) != -1 ){
			contStr = contStr.replace(/<img /g,"<img id=\"changeImg\" ");  
			divId.innerHTML = contStr;  
 
			for( i=0; i<document.images.length; i++){   
				if(document.images[i].id == "changeImg" &&  document.images[i].width > size){    
					document.images[i].width = size
				}
			}
		}
	}

// Å¬¸³º¸µå¿¡ º¹»ç
	function copyClipboard(inElement) 
	{ 
		if (window.clipboardData) 
		{
		window.clipboardData.setData("Text", inElement);
		}

		alert('Å¬¸³º¸µå¿¡ º¹»çµÇ¾ú½À´Ï´Ù.'); 
	} 

    //¸®½ºÆ® º¸±â ¹æ½Ä
    function FuncViewtype(p_type){
        frmsel.viewtype.value=p_type;
        frmsel.submit();    
    }
    
    // Á¤·Ä¼ø¼­
	function FuncOrderBy(p_field, p_type){		
		frmsel.page.value = "";
		frmsel.orderbytype.value = p_field + ' ' + p_type;
		frmsel.submit();
		
	}
	
	//³ôÀÌÁ¶Á¤
    function resizeIfr(obj, minHeight) {
        minHeight = minHeight || 10;
        try {
            var getHeightByElement = function(body) {
                var last = body.lastChild;
                try {
                    while (last && last.nodeType != 1 || !last.offsetTop) last = last.previousSibling;
                    return last.offsetTop+last.offsetHeight;
                } catch(e) {
                    return 0;
                }
        }
        var doc = obj.contentDocument || obj.contentWindow.document;
        if (doc.location.href == 'about:blank') {
            obj.style.height = minHeight+'px';
            return;
        }
        
        if (/MSIE/.test(navigator.userAgent)) {
            var h = doc.body.scrollHeight;
        // ie8¿¡¼± ie7°ú ºñ±³½Ã ¾à 15px ´õ Àû°Ô °ªÀÌ Àû¿ëµÊ. if(window.JSON) h+=15;
        } else {
            var s = doc.body.appendChild(document.createElement('DIV'))
            s.style.clear = 'both';

            var h = s.offsetTop;
            s.parentNode.removeChild(s);
        }
        
        if (h < minHeight) h = minHeight;
        obj.style.height = h + 'px';
        if (typeof resizeIfr.check == 'undefined') resizeIfr.check = 0;
        if (typeof obj._check == 'undefined') obj._check = 0;
        
        setTimeout(function(){ resizeIfr(obj,minHeight) }, 200); // check 5 times for IE bug
        } catch (e) { 
            //alert!(e);
        }
    }

