	//-------------------------------------------------
	// »õÃ¢ ¶ç¿ì±â ½ºÅ©¸³Æ®
	//-------------------------------------------------
    function CreateNewWin(filename,p_name,s_width,s_height,s_scrol)
    {
    	x = screen.width;
    	y = screen.height;
    	wid = (x / 2) - (s_width / 2);
    	hei = (y / 2) - (s_height / 2);

    	Opt = "'"
    	Opt += "toolbar=0,"
    	Opt += "location=0,"
    	Opt += "directories=0,"
    	Opt += "status=0,"
    	Opt += "menubar=0,"
    	Opt += "resizable=0,"
    	Opt += "scrollbars=" + s_scrol + ","
    	Opt += "width=" + s_width + ","
    	Opt += "height=" + s_height + ","
    	Opt += "top=" + hei + ","
    	Opt += "left=" + wid 
    	Opt += "'"    	
    	
       window.open(filename, p_name, Opt); 
    }	

	//-------------------------------------------------
	//Ã¢À» ´Ý´Â´Ù.
	//-------------------------------------------------
	function CloseWin(opt){
		if (opt == 0){
	        self.close();
		}
		else if (opt == 1){
		    opener.location.reload();
	        self.close();
		}	
    }
    
	//-------------------------------------------------
	//¿ìÆí¹øÈ£¸¦ Ã£´Â´Ù.
	//-------------------------------------------------
	function FindPost(str)
	{
		FindPostUrl = "/admin/post/FindPost.asp?";
		FindPostUrl += "SearchDiv=" + str;
		
		CreateNewWin(FindPostUrl,'FindPost','458','390','1')
	}

	//-------------------------------------------------
	//ÆäÀÌÁö¸¦ ÀÌµ¿ ½ÃÅ²´Ù.
	//-------------------------------------------------

    function GoUrl(strUrl){
    	document.location.href = strUrl
    }

	//-------------------------------------------------
	//Ã¼Å©¹Ú½º ÀüºÎ ¼±ÅÃ, ÇØÁ¦
	//-------------------------------------------------
	function CheckAll(obj,str){
		if (str=="f"){
			var AllorNothing = false;
		}
		else{
			var AllorNothing = true;
		}

		var cntBox = obj.check.length-1;

		if (!AllorNothing){
			for (i=0;i<=cntBox;i++){
				obj.check[i].checked=true;
			}
			AllorNothing = true;
		}
		else{
			for (i=0;i<=cntBox;i++){
				obj.check[i].checked=false;
			}
			AllorNothing = false;
		}
	}
	

		