
/****** ÇÃ·¡½¬ ¸µÅ© ****************************************************************/
function brochure() { window.open('/brochure/start.html','',''); }
function via() { window.open('http://store.jungle.co.kr/Item/Item_detail.asp?itemID=BOK-41-00023','',''); }
function byoung() { window.open('http://www.mma.go.kr/','',''); }
function gohome() { location.href = "/"; }

/////////// GNB ///////////////////////////
function gourl1() { location.href = "javascript:gourl11()"; }
function gourl2() { location.href = "javascript:gourl21()"; }
function gourl3() { location.href = "javascript:gourl31()"; }
function gourl4() { location.href = "javascript:gourl41()"; }
function gourl5() { location.href = "javascript:gourl51()"; }
function gourl6() { location.href = "javascript:gourl61()"; }

//depth02
function gourl11() { location.href = "about.aspx"; }
function gourl12() { location.href = "aboutldc.aspx"; }
function gourl13() { location.href = "aboutjg.aspx"; }
function gourl14() { location.href = "aboutzl.aspx"; }
function gourl15() { location.href = "aboutyj.aspx"; }
function gourl16() { location.href = "aboutrc.aspx"; }

function gourl21() { location.href = "qynews.aspx"; }
function gourl22() { location.href = "hynews.aspx"; }
function gourl23() { location.href = "zznews.aspx"; }

function gourl31() { location.href = "product1.aspx"; }
function gourl32() { location.href = "product2.aspx"; }
function gourl33() { location.href = "product3.aspx"; }

function gourl41() { location.href = "service.aspx"; }
function gourl42() { location.href = "servicefaq.aspx"; }
function gourl43() { location.href = "servicezz.aspx"; }

function gourl51() { location.href = "add1.aspx"; }
function gourl52() { location.href = "add2.aspx"; }
function gourl53() { location.href = "add3.aspx"; }

function gourl61() { location.href = "other1.aspx"; }
function gourl62() { location.href = "other2.aspx"; }
function gourl63() { location.href = "other3.aspx"; }
function gourl64() { location.href = "other4.aspx"; }

/////////// ÁÂÃø¸Þ´º ///////////////////////////

/////////// 3Deptn ///////////////////////////



/////////// Footer ///////////////////////////


/****** ÀÌ¹ÌÁö ·Ñ¿À¹ö **************************************************************/
function EImgChg(flag) 
{
    source=event.srcElement;
    if(document.images && source.tagName=="IMG") {
		if(source.name == '') return;
        imgElement = source.name;
        imgPath = source.src;
        imgPathLen = imgPath.length;
        imgPathFlag = imgPath.lastIndexOf("/");
        imgName = imgPath.substring(0,imgPathFlag+1);
        document.images[imgElement].src =  imgName + imgElement + "_" + flag + ".gif";
    }
}	


/****** ÀÌ¹ÌÁö ÆË¾÷ ¸®»çÀÌÂ¡ **************************************************************/

function AutoResize(img) { 
/*
  foto1= new Image(); 
  foto1.src=(img); 
  Controlla(img); 
*/
	AutoResize2(img);
}

function AutoResize2(img) { 
  window.open("/common/popup/imgViewer.asp?imgUrl="+img,"","left=0,top=0,toolbar=0,menubar=0,scrollbars=yes,resizable=yes,locationbar=no, width=100,height=100")
}

function Controlla(img) { 
  if((foto1.width!=0)&&(foto1.height!=0)){ 
	viewFoto(img); 
  } 
  else{ 
	funzione="Controlla('"+img+"')"; 
	intervallo=setTimeout(funzione,20); 
  } 
}

function viewFoto(img) { 
  largh=foto1.width+20; 
  altez=foto1.height+20; 
  stringa="width="+largh+",height="+altez; 
  finestra=window.open(img,"",stringa); 
}

/****** ¸ÞÀÎÆäÀÌÁö ±Û ÀÐ±â **************************************************************/

function isRead( id )
{
	document.Frm01.id.value = id;
	document.Frm01.action = '/press/news/company/read.asp';
	document.Frm01.submit();				
}

function isRead02( id )
{
	document.Frm02.id.value = id;
	document.Frm02.action = '/press/inside/read.asp';
	document.Frm02.submit();				
}

function isRead03( id )
{
	document.Frm03.id.value = id;
	document.Frm03.action = '/press/project/read.asp';
	document.Frm03.submit();				
}


/****** ÆË¾÷(½ºÅ©·Ñ¹Ù) **************************************************************/
function popwindow(pop,width,height) {
	var url= pop ;
	var wd = width ;
	var he = height ;

	window.open(url,"","left=10,top=10,toolbar=0,menubar=0,scrollbars=yes,resizable=no,locationbar=no, width=" + wd +",height=" + he + ";")
}
/****** ÆË¾÷(½ºÅ©·Ñ¹Ù X ) **************************************************************/
function popwindow2(pop,width,height) {
	var url= pop ;
	var wd = width ;
	var he = height ;

	window.open(url,"","left=10,top=10,toolbar=0,menubar=0,scrollbars=no,resizable=no,locationbar=no, width=" + wd +",height=" + he + ";")
}