// ÆÄÀÏ¸í : newsFont.js
// ¼³  ¸í : ´º½º º»¹®ÀÇ font »çÀÌÁî¸¦ Á¶ÀýÇÏ´Â js
// ³¯  Â¥ : 2003. 6. 2 by navying

// ±âº» font style Á¤ÀÇ
var font = 12;
var line_height = 110;

// font »çÀÌÁî ´ÃÀÌ±â
function fontPlus() {                
        if( font > 14 ) {
                font = font;
        }                        
        else {
                font = font + 1;
                line_height = line_height + 20;
        }                                        
        document.all.artText.style.fontSize = font + 'pt';
        document.all.artText.style.lineHeight = line_height + '%';
} 

// font »çÀÌÁî ÁÙÀÌ±â
function fontMinus() {                
        if( font < 8 ) {
                font = font;
        }                
        else {
                font = font - 1;
                line_height = line_height - 5;       
        }  
        document.all.artText.style.fontSize = font + 'pt';
        document.all.artText.style.lineHeight = line_height + '%';
}   

// ±âº» font style·Î µÇµ¹¸²
function fontDefault() {
        font = 12;
        line_height = 150;
        
        document.all.artText.style.fontSize = font + 'pt';
        document.all.artText.style.lineHeight = line_height + '%';       
}                              
