<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->


function popup(url,na,wid,hei,opt) {
	option = "width=" + wid +",height=" + hei;
	if (opt != "") {
		option = option + "," + opt;
	}
	window.open(url,na,option)
}

function irMenu() {
	form = document.Category;
	i    = form.selpdmenu.selectedIndex;

		window.location = form.selpdmenu.options[i].value;
}

function main_menu(stat){
	if (stat == 1){ 
		document.all.q01.style.display = "block"; 
		document.all.q02.style.display = "none"; 
//		document.all.q03.style.display = "none"; 
	} else if (stat == 2){  
		document.all.q01.style.display = "none"; 
		document.all.q02.style.display = "block"; 
//		document.all.q03.style.display = "none"; 
	} else if (stat == 3){  
		document.all.q01.style.display = "none"; 
		document.all.q02.style.display = "none"; 
//		document.all.q03.style.display = "block"; 
	} else if (stat == 4){  
		document.all.q04.style.display = "block"; 
		document.all.q05.style.display = "none"; 
		document.all.q06.style.display = "none"; 
	} else if (stat == 5){  
		document.all.q04.style.display = "none"; 
		document.all.q05.style.display = "block"; 
		document.all.q06.style.display = "none"; 
	} else if (stat == 6){  
		document.all.q04.style.display = "none"; 
		document.all.q05.style.display = "none"; 
		document.all.q06.style.display = "block"; 
	}
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  if( selObj.selectedIndex > 0 ) {
  	window.open(selObj.options[selObj.selectedIndex].value, 'winGlobal');
  }
}



function viewpop(srcwin) {
	window.open('/homepage/docs/kr/info/news/'+srcwin+'','view','scrollbars=no,width=100,height=100')
}


function openPop1(srcwin) {
	window.open('/homepage/docs/kr/news/popup/s91fboar001l.jsp','pop','scrollbars=no,width=660,height=560')
}

function openPop2(srcwin) {
	window.open('/homepage/docs/kr/news/popup/s91fcont001w.jsp','pop','scrollbars=no,width=640,height=450')
}


function goMenu() { 
	i    = document.quick.qmenu.selectedIndex;

		window.location = document.quick.qmenu.options[i].value;
}



function openDir( form ) { 

	var newIndex = form.fieldname.selectedIndex; 
	
	cururl = form.fieldname.options[ newIndex ].value; 
	window.location.assign( cururl ); 
} 


function irnews(stat){
	if (stat == 1){ 
		document.all.news1.style.display = "block"; 
		document.all.news2.style.display = "none"; 
	} else if (stat == 2){  
		document.all.news1.style.display = "none"; 
		document.all.news2.style.display = "block"; 
	} else if (stat == 3){  
		document.all.news1.style.display = "block"; 
		document.all.news2.style.display = "none"; 
	} else if (stat == 4){  
		document.all.news1.style.display = "none"; 
		document.all.news2.style.display = "block"; 
	}
}

function ad(stat){
	if (stat == 1){ 
		document.all.ad1.style.display = "block"; 
		document.all.ad2.style.display = "none"; 
	} else if (stat == 2){  
		document.all.ad1.style.display = "none"; 
		document.all.ad2.style.display = "block"; 
	} else if (stat == 3){  
		document.all.ad1.style.display = "block"; 
		document.all.ad2.style.display = "none"; 
	} else if (stat == 4){  
		document.all.ad1.style.display = "none"; 
		document.all.ad2.style.display = "block"; 
	}
}

function cu(stat){
	if (stat == 1){ 
		document.all.cu1.style.display = "block"; 
		document.all.cu2.style.display = "none"; 
		document.all.cu3.style.display = "none"; 
	} else if (stat == 2){  
		document.all.cu1.style.display = "none"; 
		document.all.cu2.style.display = "block"; 
		document.all.cu3.style.display = "none"; 
	} else if (stat == 3){  
		document.all.cu1.style.display = "none"; 
		document.all.cu2.style.display = "none"; 
		document.all.cu3.style.display = "block"; 
	} 
}

//---¼±ÅÃ¿µ¿ª Á¡¼±¾÷¾Ö±â--//
//function bluring(){ 
//if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
//} 
//document.onfocusin=bluring; 
