	/**************************/
	/* Zoom
	/**************************/
	var maxZoom = 150;
	var minZoom = 100;
	var nowZoom = 0;
	
	var __WRAP = document.getElementById("wrapper");		
	if(__WRAP == null) __WRAP = document.getElementById("wrap");	// 어린이 메인
	if(__WRAP == null) __WRAP = document.getElementById("swrap");	// 어린이 서브
	if(__WRAP == null) __WRAP = document.getElementById("wrap_sub");
	if(__WRAP == null) __WRAP = document.body;
	
	if(__WRAP != null) {
		try {
			__WRAP.style.zoom = parseInt(getCookie("nowZoom")) + "%";			
		} catch(error) {}
	}

	function zoom_init() {		
		
		var zoom_value = "";
		if(getCookie("nowZoom") == null) { 
			setCookie("nowZoom", "100");			
			__WRAP.style.zoom = "100%";
		} else {
			zoom_value = getCookie("nowZoom");		
			__WRAP.style.zoom = parseInt(zoom_value) + "%";
		}		
	}

	function init_zoom() {
		var zoom_value = getCookie("nowZoom");		
		/*
		for(var i=parseInt(zoom_value);i>100;i=i-10) {
			Zoom('out');
		}
		*/
		setCookie("nowZoom", "100");
	}

	function Zoom(param) {
		var set_cookie = false;
		
		zoom_init();
		
		if(navigator.userAgent.toLowerCase().indexOf("msie")!=-1 || navigator.userAgent.toLowerCase().indexOf("chrome")!=-1) {
			
			iZoomPercent = parseInt(getCookie("nowZoom"));
			
			if(iZoomPercent <= 100) iZoomPercent = 100;
			
			if(param=="in") {				
				if(iZoomPercent+10 > maxZoom) {
					//alert("화면을 더 이상 확대할 수 없습니다!");					
				} else {
					iZoomPercent = iZoomPercent + 10;
					set_cookie = true;
				}
			} else {				
				if(iZoomPercent-10 < minZoom) {
					//alert("화면을 더 이상 축소할 수 없습니다!");					
				} else {
					iZoomPercent = iZoomPercent - 10;
					set_cookie = true;
				}
			}

			if(set_cookie) {				
				__WRAP.style.zoom = iZoomPercent + "%";
			}
			setCookie("nowZoom", iZoomPercent);

		} else {
			//alert("인터넷 익스플로러 6.0 이상, 크롬 브라우져에서만 지원됩니다!");
		}
	}
