document.write("<style type=text/css> \
.article, .article a, .article a:visited { font-size:10pt; color:#222222; line-height:2; } \
</style>");
// À§ CSS´Â './base.css¿¡¼­µµ Á¤ÀÇ'



var nowFontSz = 11 ; // À§ CSSÀÇ article°ú °°Àº Font Å©±â
var nowlineHei= 2 ; // À§ CSSÀÇ article°ú °°Àº Font Çà°£
var fontObj ;

var expTime = new Date() ;
    expTime.setTime(expTime.getTime()+(24*60*60*1000*365)) ; // 365ÀÏ°£ Àû¿ë
var cName1 = "fontSz" ;
var cName2 = "fontHei" ;
var cNameStr, cNameVal ;



function getCookie(){
 cNameStr = arguments[0] + "=" ;
 if (document.cookie){
   cStr_start = document.cookie.indexOf(cNameStr) ;
   if (cStr_start != -1){
    cStr_start += cNameStr.length ;
    cStr_end = document.cookie.indexOf(";", cStr_start) ;
    if (cStr_end == -1) cStr_end = document.cookie.length ;
    cNameVal = document.cookie.substring(cStr_start, cStr_end) ;
   }
 }
 if (cNameVal) return cNameVal ;
 else return null ;
}



function fontSz(){
 if (document.getElementById) fontObj = document.getElementById("fontSzArea").style ;
 else if (document.all) fontObj = document.all("fontSzArea").style ;
 // Font Resize
 if (arguments[0] == "-"){
  if (nowFontSz <= 9) return ;
  fontObj.fontSize = nowFontSz-1 + "pt" ;
  nowFontSz = eval(nowFontSz-1) ;

  if(nowFontSz < 13){
	  fontObj.lineHeight = nowlineHei-0.2 ;
	  nowlineHei = nowlineHei-0.2 ;
  }

 }else if (arguments[0] == "+"){
  if (nowFontSz >= 21) return ;
  fontObj.fontSize = nowFontSz+1 + "pt" ;
  nowFontSz = eval(nowFontSz+1) ;

  if(nowFontSz < 13){
	  fontObj.lineHeight = nowlineHei+0.2 ;
	  nowlineHei = nowlineHei+0.2 ;
 }  

 }
 // ResizeµÈ FontÀÇ °ªÀ» ÄíÅ°¿¡ Àû¿ë
 document.cookie = cName1 + "=" + nowFontSz + "; path=/" + "; expires=" + expTime.toGMTString() ;
 document.cookie = cName2 + "=" + nowlineHei + "; path=/" + "; expires=" + expTime.toGMTString() ;
}



function fontSet(){
 if (document.getElementById) fontObj = document.getElementById("fontSzArea").style ;
 else if (document.all) fontObj = document.all("fontSzArea").style ;
 // ÄíÅ°¿¡ Font°ª ÀÖÀ»½Ã Font¿¡ Àû¿ë
 if (getCookie(cName1)!=null || getCookie(cName2)!=null){
  getCookie(cName1) ;
  nowFontSz = eval(cNameVal) ;
  fontObj.fontSize = nowFontSz + "pt" ;
  getCookie(cName2) ;
  nowlineHei= eval(cNameVal) ;
  fontObj.lineHeight = nowlineHei ;
 }
}
