<!--

function GoPage(code) {
	if ( !code )								{	window.location = "/main/main.php";	}
	
	//¸ÞÀÎ
	else if ( code == "main" )					{	window.location = "../main/main.php"; }
	else if ( code == "eng" )					{	window.location = "../eng/main/main.php"; }
	else if ( code == "korea" )					{	window.location = "../main/main.php"; }
	
	//È¸»ç¼Ò°³
	else if ( code == "intro01" )				{ window.location = "../intro/intro01.php?part=1"; }	// ÀÎ»ç¸»
	else if ( code == "intro02" )				{ window.location = "../intro/intro02.php?part=2"; }	// ¿¬Çõ
	else if ( code == "intro03" )				{ window.location = "../intro/intro03.php?part=3"; }	// Á¶Á÷
	else if ( code == "intro04" )				{ window.location = "../intro/intro04.php?part=4"; }	// ¼¶±â´Â¸»
	else if ( code == "intro05" )				{ window.location = "../intro/intro05.php?part=5"; }	// ¿¹¹è½Ã°£	
	
	//Á¦Ç°¼Ò°³
	else if ( code == "product01" )			{ window.location = "../product/product01.php?part=1&part1=1"; }	// ÀÏ¹ÝÇü
	else if ( code == "product01_02" )			{ window.location = "../product/product01_02.php?part=1&part1=2"; }	// 
	else if ( code == "product01_03" )			{ window.location = "../product/product01_03.php?part=1&part1=3"; }	// 
	else if ( code == "product01_04" )			{ window.location = "../product/product01_04.php?part=1&part1=4"; }	// 
	else if ( code == "product01_05" )			{ window.location = "../product/product01_05.php?part=1&part1=5"; }	// 
	else if ( code == "product02" )			{ window.location = "../product/product02.php?part=2&part1=1"; }	// ¿ø°ÝÁö½ÃÇü
	else if ( code == "product02_02" )			{ window.location = "../product/product02_02.php?part=2&part1=2"; }	//
	else if ( code == "product03" )			{ window.location = "../product/product03.php?part=3&part1=1"; }	// ¸¶ÀÌÄÄ¹ÌÅÍ±â
	else if ( code == "product03_02" )			{ window.location = "../product/product03_02.php?part=3&part1=2"; }	// 
	else if ( code == "product03_03" )			{ window.location = "../product/product03_03.php?part=3&part1=3"; }	// 
	else if ( code == "product04" )			{ window.location = "../product/product04.php?part=4"; }	// ¸¶ÀÌÄÄ¹ÌÅÍ±â
	
	//ÀüÁ¦Ç°º¸±â
	else if ( code == "productall" )			{ window.location = "../product_all/product_all.php?part=1"; }	//
	
	//°í°´¼¾ÅÍ
	else if ( code == "customer01" )			{ window.location = "../customer/customer01.php?part=1"; }	// ±³È¸¾Ù¹ü
	else if ( code == "customer02" )			{ window.location = "../customer/customer04.php?part=2"; }	// ÀÚÀ¯¾Ù¹ü
	else if ( code == "customer03" )			{ window.location = "../customer/customer05.php?part=3"; }	// ÀÚÀ¯°Ô½ÃÆÇ
	else if ( code == "customer04" )			{ window.location = "../customer/customer06.php?part=4"; }	// »õ½ÅÀÚ¼Ò°³
	
	//ETC
	else if ( code == "etc01" )				{ window.location = "../etc/etc01.php?part=1"; }	// °øÁö»çÇ×
	else if ( code == "etc02" )				{ window.location = "../etc/etc02.php?part=2"; }	// º¸µµ/È«º¸ÀÚ·á
	else if ( code == "etc03" )				{ window.location = "../etc/etc03.php?part=3"; }	// °í°´»ó´ã

	//
	else if ( code == "cert01" )			{ window.open('../cer_htm/cer_3.htm','cert01','width=450, height=600'); }
	else if ( code == "cert02" )			{ window.open('../cer_htm/cer_4.htm','cert02','width=450, height=600'); }
	else if ( code == "cert03" )			{ window.open('../cer_htm/cer_7.htm','cert03','width=450, height=600'); }
	else if ( code == "cert04" )			{ window.open('../cer_htm/cer_8.htm','cert04','width=450, height=600'); }

	else if ( code == "cert05" )			{ window.open('../cer_htm/cer_9.htm','cert05','width=450, height=600'); }
	else if ( code == "cert06" )			{ window.open('../cer_htm/cer_16.htm','cert06','width=450, height=600'); }
	else if ( code == "cert07" )			{ window.open('../cer_htm/cer_17.htm','cert07','width=450, height=600'); }
	else if ( code == "cert08" )			{ window.open('../cer_htm/cer_18.htm','cert08','width=450, height=600'); }

	else if ( code == "cert09" )			{ window.open('../cer_htm/cer_19.htm','cert09','width=450, height=600'); }
	else if ( code == "cert10" )			{ window.open('../cer_htm/cer_20.htm','cert10','width=450, height=600'); }
	else if ( code == "cert11" )			{ window.open('../cer_htm/cer_21.htm','cert11','width=450, height=600'); }
	else if ( code == "cert12" )			{ window.open('../cer_htm/cer_22.htm','cert12','width=450, height=600'); }

	else if ( code == "cert13" )			{ window.open('../cer_htm/cer_23.htm','cert13','width=450, height=600'); }
	else if ( code == "cert14" )			{ window.open('../cer_htm/cer_24.htm','cert14','width=450, height=600'); }
	else if ( code == "cert15" )			{ window.open('../cer_htm/cer_25.htm','cert15','width=450, height=600'); }
	else if ( code == "cert16" )			{ window.open('../cer_htm/cer_26.htm','cert16','width=450, height=600'); }
	else if ( code == "cert17" )			{ window.open('../cer_htm/cer_27.htm','cert17','width=450, height=600'); }
	else if ( code == "cert18" )			{ window.open('../cer_htm/cer_28.htm','cert18','width=450, height=600'); }
	else if ( code == "cert19" )			{ window.open('../cer_htm/cer_29.htm','cert19','width=450, height=600'); }
	else if ( code == "cert20" )			{ window.open('../cer_htm/cer_30.htm','cert20','width=450, height=600'); }


	//±âÅ¸
	else if ( code == "mail" )				{ window.location = "mailto:"; }	// ÀÌ¸ÞÀÏ
	else if ( code == "sitemap" )			{ window.location = "../sitemap/sitemap.php"; }	// ´ëÃâ½ÅÃ»
	else if ( code == "product" )			{ window.location = "../product/product01.php"; }	//
	else if ( code == "movie01" )			{ window.open('../movie/vod_01.htm','movie','width=700, height=500'); }	//
	else if ( code == "movie02" )			{ window.open('../movie/vod_02.htm','movie','width=700, height=500'); }	//
	else if ( code == "ppt" )				{ window.open('../product/product_meter.pdf','ppt');}	//
	else if ( code == "any" )				{ window.open('../micom/fmovie.htm','movie','width=650, height=500');}	//

	else if ( code == "ebook" ) { window.open("../ebook/ebook.php","ebook","width=1040,height=810,top=0,left=0,resizeable=yes,status=yes,toolbar=no,scrollbars=yes");  }


	
	
 
	// 
	else if ( code == "post_check")		{	window.open('../zipcode/post_check.php?fname=register_form&customer_Post1=customer_Post1&customer_Post2=customer_Post2&customer_Address1=customer_Address1&customer_Address2=customer_Address2','zipcode1','width=517,height=290,top=0,left=0,toolbar=no,status=no,scrollbars=yes'); }
	else if ( code == "post2_check")		{	window.open('../zipcode/post2_check.php?fname=modify_form&customer_Post1=customer_Post1&customer_Post2=customer_Post2&customer_Address1=customer_Address1&customer_Address2=customer_Address2','zipcode2','width=517,height=290,top=0,left=0,toolbar=no,status=no,scrollbars=yes'); }
	
}
 

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_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_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 wdRollMenu(obj,over,out)
{
 obj.src = over;
 obj.onmouseout = new Function("this.src='"+out+"'");
} 
function wdLeftMenuView(m)
{
	var mm = document.getElementById(m);
	mm.style.display = "block";
	//if(mm.style.display=="block") mm.style.display = "none";
	//else mm.style.display = "block";
}

//ÆäÀÌÁö ÀÎ½Ä
function wdRollMenu(obj,over,out,view)
{
 obj.src = over;
 if(out) obj.onmouseout = new Function("this.src='"+out+"'");
 
 //var m  = document.getElementById("m_"+view);
 var sm = document.getElementById("sm_"+view);
 
 if(sm != null){
  sm.style.display = "block";
  //sm.onmouseout = new Function("if(this.style.display=='block') this.style.display='none'");
  //m.onmouseout  = new Function("if("+sm+".style.display=='block') "+sm+".style.display='none'");
 }
}
