<!--


// °Ô½ÃÆÇ ¸®½ºÆ® °ü¸®ÀÚ È­¸éÀ¸·Î ÀÌµ¿
function gotoBBSTableList(){
	this.location = "/kira_admin/bbs/list_bbs.asp";
}


/* °Ô½ÃÆÇ »ó¼¼ º¸±â
function detailArticle(frm, articleID){
	frm.action = "./view.asp";
	frm.articleID.value = articleID;
	frm.submit();
}*/

// ÇØ´ç ÇÁ·Î¼¼½º·Î ÀÌµ¿
function gotoProcess(frm, ASP_SELF, processCode){
	frm.action = ASP_SELF;
	frm.processCode.value = processCode;
	frm.submit();
}

// ÇØ´ç ÇÁ·Î¼¼½º·Î ÀÌµ¿
function gotoBBSProcess(frm, ASP_SELF, processCode, BBSNAME){
	frm.action = ASP_SELF;
	frm.BBSNAME.value = BBSNAME;
	frm.processCode.value = processCode;
	frm.submit();
}


// ARTICLE_UID ¸¦ ¼³Á¤
function setArticleID(frm, article_uid){
	frm.ARTICLE_UID.value = article_uid;
}
// ARTICLE_UID ¸¦ ¼³Á¤
function setArticleID2(frm, article_uid){
	frm.DOCBOX_UID.value = article_uid;
}

// ÆÄÀÏÀ» ´Ù¿î·Îµå
function download_file(fileName, BBSNAME){
	this.location = "/common/asp/bbs/download.asp?fileName="+fileName+"&BBSNAME="+BBSNAME;
}

// Arguments : flashMovie(Ãâ·Â¿µ¿ªID,ÇÃ·¹½¬ÆÄÀÏ°æ·Î,WIDTH,HEIGHT[,FLASHVARS[,WMOD]]) 
function flashMovie(fid,src,wid,hei,fvs,wmd) { 
  this.fPrint = ''; 
  this.Id = document.getElementById(fid); 
  this.Src = src; 
  this.Width = wid; 
  this.Height = hei; 
  this.FlashVars = (fvs != undefined)? fvs :''; 
  this.Wmod = (wmd != undefined)? wmd :''; 
  if(isObject(Id)) { 
    fPrint = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"'; 
    fPrint = fPrint + ' width="'+Width+'"'; 
    fPrint = fPrint + ' height="'+Height+'">'; 
    fPrint = fPrint + '<param name="movie" value="'+Src+'">'; 
    fPrint = fPrint + '<param name="quality" value="high">'; 
    fPrint = (FlashVars != null) ? fPrint + '<param name="FlashVars" value="'+FlashVars+'">' : ''; 
    fPrint = (Wmod != null) ? fPrint + '<param name="wmode" value="'+Wmod+'">' : ''; 
    fPrint = '<embed'; 
    fPrint = fPrint + ' src="'+Src+'"'; 
    fPrint = (FlashVars != null) ? fPrint + ' FlashVars="'+FlashVars+'"' : ''; 
    fPrint = (Wmod != null) ? fPrint + ' wmode="'+Wmod+'"' : ''; 
    fPrint = fPrint + ' quality="high"'; 
    fPrint = fPrint + ' pluginspage="http://www.macromedia.com/go/getflashplayer"'; 
    fPrint = fPrint + ' type="application/x-shockwave-flash"'; 
    fPrint = fPrint + ' width="'+Width+'"'; 
    fPrint = fPrint + ' height="'+Height+'"'; 
    fPrint = fPrint + '></embed>'; 
    fPrint = fPrint +'</object>'; 
    Id.innerHTML = fPrint; 
  } 
} 

function isObject(a) { 
    return (a && typeof a == 'object'); 
} 

function fnScrap_DbWrite(szUserId, szTitle, szBbsName, nArticleUid)
{
	if(szUserId == "")
		alert("·Î±×ÀÎÈÄ¿¡ ½ºÅ©·¦À¸·Î ÁöÁ¤ÇÒ¼ö ÇÒ¼ö ÀÖ½À´Ï´Ù")
	else	
		window.open("/Scrap/Scrap_DbWrite.asp?Title=" + szTitle + "&BbsName=" + szBbsName + "&ArticleUid=" + nArticleUid, "Scrap_DbWrite","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=300,left=400,top=300");	
}

//ÆùÆ® µ¸º¸±â ±â´ÉÀ» À§ÇØ [
var defsize = 10;  

document.write("<style> td { font-size : " + defsize + "pt; } </style>");		
document.write("<style> a { font-size : " + defsize + "pt; } </style>");	
//document.write("<style> font { font-size : " + defsize + "pt; } </style>");
document.write("<style> p { font-size : " + defsize + "pt; } </style>");
document.write("<style> b { font-size : " + defsize + "pt; } </style>");

function fnSetFontSize(SizeFlag) 
{  
	if(SizeFlag == "B")
	{
		defsize += 1; 
	}
	else if(SizeFlag == "D")
	{
		defsize = 10;  
	}	
	else // "S"
	{
		defsize -= 1;
	}
	
	objs = document.getElementsByTagName("td");  
	objs2 = document.getElementsByTagName("a");
	//objs3 = document.getElementsByTagName("font");
	objs4 = document.getElementsByTagName("p");
	objs5 = document.getElementsByTagName("b");

	// td //
	for(i = 0 ; i < objs.length ; i++) 
	{
		objs[i].style.fontSize = defsize + "pt";  
	}

	// a  //
	for(i = 0 ; i < objs2.length ; i++)
	{
		objs2[i].style.fontSize = defsize + "pt";
	}

	// font  //
	//for(i = 0 ; i < objs3.length ; i++)
	//{
	//	objs3[i].style.fontSize = defsize + "pt";
	//}

	// p  //
	for(i = 0 ; i < objs4.length ; i++)
	{
		objs4[i].style.fontSize = defsize + "pt";
	}

	// b //
	for(i = 0 ; i < objs5.length ; i++)
	{
		objs5[i].style.fontSize = defsize + "pt";
	}
}
// ] ÆùÆ® µ¸º¸±â ±â´ÉÀ» À§ÇØ

// -->