///// ZonnInOut //////////////////////////////////////////////////////////////////////////////	
	/*var nowZoom = 100; // ÇöÀçºñÀ²
	var maxZoom = 400; // ÃÖ´ëºñÀ²
	var minZoom = 50; // ÃÖ¼ÒºñÀ²(ÇöÀç¿Í °°¾Æ¾ß ÇÔ)

	// +, - Å°¸¦ ÀÔ·ÂÇÏ¸é È­¸é È®´ë, Ãà¼Ò¸¦ ÇÑ´Ù.
	document.onkeypress = getKey;

	function getKey(keyStroke) {
		isNetscape = (document.layers);
		eventChooser = (isNetscape) ? keyStroke.which : event.keyCode;
		which = String.fromCharCode(eventChooser).toLowerCase();
		which2 = eventChooser;

		var el = event.srcElement;

		if ((el.tagName != "INPUT") && (el.tagName != "TEXTAREA")) {
			if (which == "+") {
				zoomIn();
			} else if (which == "-") {
				zoomOut();
			}
		}
	}

        //È­¸é Å°¿î´Ù.
	function zoomIn() {
		if (nowZoom < maxZoom) {
			nowZoom += 5; // 10%¾¿ Ä¿Áø´Ù.
		} else {
			return;
		}

		document.body.style.zoom = nowZoom + "%";
	}
	
	//È­¸é ÁÙÀÎ´Ù.
	function zoomOut() {
		if (nowZoom > minZoom) {
			nowZoom -= 5; // 10%¾¿ ÀÛ¾ÆÁø´Ù.
		} else {
			return;
		}

		document.body.style.zoom = nowZoom + "%";
	}


		//ÃÊ±âÈ­
	function zoomInit() {
		nowZoom=100;

		document.body.style.zoom = nowZoom + "%";
	}*/

var maxZoom = 400;
var minZoom = 40;
var ZoomInterval = 5;
var ratio;

var lineRatio = 100;
var maxLine = 300;
var minLine = 100;
var LineUnit = 50;


function zoomInFont()
{
ratio = parseInt(document.getElementById("wrap_sub").style.zoom);
if ( isNaN(ratio)) ratio=100;
if (ratio < maxZoom)
{
ratio = ratio + ZoomInterval;
document.getElementById("wrap_sub").style.zoom = ratio+'%';
}
}

function zoomOutFont()
{
ratio = parseInt(document.getElementById("wrap_sub").style.zoom);
if ( isNaN(ratio)) ratio=100;
if (ratio >minZoom)
{
ratio = ratio-ZoomInterval;
document.getElementById("wrap_sub").style.zoom = ratio+'%';
}
}

function zoomInit()
{
ratio = parseInt(document.getElementById("wrap_sub").style.zoom);
if ( isNaN(ratio)) ratio=100;
if (ratio < maxZoom)
{
ratio = ratio + ZoomInterval;
document.getElementById("wrap_sub").style.zoom ="100%";
}
}



function increaseLineHeight()
{
if (lineRatio < maxLine)
{
lineRatio = lineRatio + LineUnit;
setLineHeight();
}
}

function decreaseLineHeight()
{
if (lineRatio >minLine)
{
lineRatio = lineRatio-LineUnit;
setLineHeight();
}
}

function setLineHeight()
{
obj = document.getElementById("wrap_sub");
obj.style.lineHeight = lineRatio+"%";
} 

