<!--
var nowZoom = 100;
var maxZoom = 150;
var minZoom = 100;
var defsize = 9;

function zoomin() 
{ 
	if (nowZoom < maxZoom) 
	{ 
		nowZoom += 10;
	} 
	else 
	{ 
		return; 
	} 
	if(document.getElementById("main_container") != null) {
		document.getElementById("main_container").style.zoom = nowZoom + "%";
	} else if(document.getElementById("wrap") != null) {
		document.getElementById("wrap").style.zoom = nowZoom + "%";
	}


}

function zoomout() 
{
	if (nowZoom > minZoom) 
	{ 
		nowZoom -= 10;
	} 
	else 
	{ 
		return; 
	} 
	if(document.getElementById("main_container") != null) {
		document.getElementById("main_container").style.zoom = nowZoom + "%";
	} else if(document.getElementById("wrap") != null) {
		document.getElementById("wrap").style.zoom = nowZoom + "%";
	}
}

function zoominsub() 
{ 
	if (nowZoom < maxZoom) 
	{ 
		nowZoom += 10;
	} 
	else 
	{ 
		return; 
	} 
	document.getElementById("container").style.zoom = nowZoom + "%";
}

function zoomoutsub() 
{
	if (nowZoom > minZoom) 
	{ 
		nowZoom -= 10;
	} 
	else 
	{ 
		return; 
	} 
	document.getElementById("container").style.zoom = nowZoom + "%"; 
}

function zoom_it(n) 
{
	defsize+=n;

	if(defsize > 5 && defsize < 13)
	{
		objs = document.getElementsByTagName("body");
		for(i=0;i<objs.length;i++)
			objs[i].style.fontSize=defsize + "pt";
	}
	else
	{
		alert("Å©±â¸¦ ´õÀÌ»ó Ãà¼Ò/È®´ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.\n¿ø·¡ »óÅÂ·Î µÇµ¹¸³´Ï´Ù.");

		objs = document.getElementsByTagName("body");
		for(i=0;i<objs.length;i++)
			objs[i].style.fontSize=9 + "pt";

		return;
	}
}


/*****Zoom In & Zoom Out Script*****/

var zoomRate = 3;			// È®´ë/Ãà¼Ò½Ã Áõ°¨·ü
var maxRate = 300;			//ÃÖ´ëÈ®´ë·ü
var minRate = 100;			//ÃÖ¼ÒÃà¼Ò·ü

function GetCookie(name){
	if (document.cookie != "") {
		zoomc = document.cookie.split("; ");
		for (var i=0; i < zoomc.length; i++) {
			zoomv = zoomc[i].split("="); 
			if (zoomv[0] == name) {
				return  unescape(zoomv[1]);
			}
		}        
	}else{
		return "";
	}
}

function SetCookie(name,value){
	document.cookie = name + "=" + escape (value)+";";
}

function GoZoom(contentid){
	if(GetCookie("zoomVal") != null && GetCookie("zoomVal") != ""){
		document.all[contentid].style.zoom = GetCookie("zoomVal");
		currZoom=GetCookie("zoomVal");
	}
	else{
		document.all[contentid].style.zoom = '100%'; 
		currZoom = '100%';
	}
}

//Zoom In & Zoom Out
function zoomInOut(contentid, how) {
	var clintName = navigator.appName;
	if(clintName.indexOf("Netscape") > -1) {
		alert("»ç¿ëÇÏ½Ã´Â ºê¶ó¿ìÀú´Â ÄÁÆ®·ÑÅ°¿Í ¸¶¿ì½ºÈÙÀ» È°¿ëÇÏ¿© È®´ë/Ãà¼Ò ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. \n\nÄÁÆ®·ÑÅ°¿Í ¼ýÀÚ0À» ´©¸£½Ã¸é ¿ø·¡Å©±â·Î º¸½Ç ¼ö ÀÖ½À´Ï´Ù.");
		return  false;
	}

	if(GetCookie("zoomVal") != null && GetCookie("zoomVal") != ""){
		document.all[contentid].style.zoom = GetCookie("zoomVal");
		currZoom=GetCookie("zoomVal");
	}
	else{
		document.all[contentid].style.zoom = '100%'; 
		currZoom = '100%';
	}
	if (((how == "in") && (parseInt(currZoom) >= maxRate)) || ((how == "out") && (parseInt(currZoom) <= minRate)) ) {
		return; 
	}
	if (how == "in") {
		document.all[contentid].style.zoom = parseInt(document.all[contentid].style.zoom)+zoomRate+'%'
	}
	else {
		document.all[contentid].style.zoom = parseInt(document.all[contentid].style.zoom)-zoomRate+'%'
	}
	SetCookie("zoomVal",document.all[contentid].style.zoom);
}


-->
