/* 화면 확대 축소 시작 IE 전용 */
 var nowZoom = 100; // 현재비율
 var maxZoom = 200; // 최대비율(500으로하면 5배 커진다)
 var minZoom = 100; // 최소비율

 //화면 키운다.
 function zoomIn() {
  if (nowZoom < maxZoom) {
   nowZoom += 10; //25%씩 커진다.
  } else {              
   return;
  }
  
  //document.body.style.zoom = nowZoom + "%";
  wrap.style.zoom = nowZoom + "%";
  footer.style.zoom = nowZoom + "%";
 }


 //화면 줄인다.
 function zoomOut() {
  if (nowZoom > minZoom) {
   nowZoom -= 10; //25%씩 작아진다.
  } else {
   return;
  }

  //document.body.style.zoom = nowZoom + "%"; 
  wrap.style.zoom = nowZoom + "%";
  footer.style.zoom = nowZoom + "%";
 }

/* 화면 확대 축소 끝 */
/*
//확대 함수
function zoomIn() {
	var oDiv = document.getElementById("wrap");
	//퍼센트를 사용할 경우
	oDiv.style.zoom = (parseInt(oDiv.style.zoom) + 10) + "%";
	//소수를 사용할 경우 변경할 값 할당
	//oDiv.style.zoom = 0.1;
}

//축소 함수
function zoomOut() {
	var oDiv = document.getElementById("wrap");
	//퍼센트를 사용할 경우
	if(parseInt(oDiv.style.zoom) > 100){
	oDiv.style.zoom = (parseInt(oDiv.style.zoom) - 10) + "%";
	//소수를 사용할 경우 변경할 값 할당
	
	}
	//oDiv.style.zoom = 0.1;
}
*/
/*
function zoomIn(){
  newZoom=parseInt(wrap.style.zoom)+10+'%';
  wrap.style.zoom=newZoom;
 
}
function zoomOut(){
  newZoom=parseInt(top.document.body.style.zoom)-10+'%';
  top.document.body.style.zoom=newZoom;
 
}
*/


