//------------------------------------------------------------------
// JwEditor 1 (ÆûÀÌ¸§, ¼­¹ö¸í, ±¸ºÐ Type)
//------------------------------------------------------------------
function ActionJwEditor1(arg1,arg2,arg3){ 
	
	var f = eval("document.all."+arg1+";");

	//ÀÌ¹ÌÁö Àü¼Û
	f.jweditor.ImgFileReadUrl = "http://"+arg2+".campuslife.co.kr:80"; 
	if (f.jweditor.HttpSendImg("/Lib/Editor/Upload.asp?vc_gubun=image&vc_Type="+arg3) < 0)
	{
		alert(f.jweditor.GetHTTPErrText());
		return false;
	}
	//ÇÃ·¡½Ã, ¹Ìµð¾î Àü¼Û
	f.jweditor.MFFileReadUrl = "http://"+arg2+".campuslife.co.kr:80"; 
	if (f.jweditor.HttpSendMediaFlash("/Lib/Editor/Upload.asp?vc_gubun=media&vc_Type="+arg3) < 0)
	{
		alert(f.jweditor.GetHTTPErrText());
		return false;
	}				

	f.tx_Contents.value = f.jweditor.BodyHtml;
	f.vc_Contents.value = f.jweditor.AllText;

	if (f.jweditor.IsInput == false){
        	alert("º»¹® ³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
        	return false;
    }
}

//------------------------------------------------------------------
// JwEditor 2 (ÆûÀÌ¸§, ¼­¹ö¸í, ±¸ºÐ Type)
//------------------------------------------------------------------
function ActionJwEditor_Bowall(arg1,arg2,arg3){ 
	
	var f = eval("document.all."+arg1+";");

	//ÀÌ¹ÌÁö Àü¼Û
	f.jweditor.ImgFileReadUrl = "http://"+arg2+".campuslife.co.kr:80"; 
	if (f.jweditor.HttpSendImg("/Lib/Editor/Upload.asp?vc_gubun=image&vc_Type="+arg3) < 0)
	{
		alert(f.jweditor.GetHTTPErrText());
		return false;
	}
	//ÇÃ·¡½Ã, ¹Ìµð¾î Àü¼Û
	f.jweditor.MFFileReadUrl = "http://"+arg2+".campuslife.co.kr:80"; 
	if (f.jweditor.HttpSendMediaFlash("/Lib/Editor/Upload.asp?vc_gubun=media&vc_Type="+arg3) < 0)
	{
		alert(f.jweditor.GetHTTPErrText());
		return false;
	}				

	f.tx_Contents.value = f.jweditor.BodyHtml;
	f.vc_Contents.value = f.jweditor.AllText;

	if (f.jweditor.IsInput == false){
        	alert("º»¹® ³»¿ëÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä.");
        	return false;
    }
}