if(!PageCode){
var PageCode
	PageCode=0201020102;
}

function flash(AMovie, AWMode, AWidth, AHeight) {
 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + AWidth + '" height="' + AHeight + '">'
 + '<param name="movie" value="' + AMovie + '">'
 + '<param name="wmode" value="' + AWMode + '">'
 + '<param name="flashvars" value="PageCode=' + PageCode + '">'
 + '<embed src="' + AMovie + '?PageCode='+PageCode+'" id="setval" quality="high"  wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + AWidth + '" height="' + AHeight + '"></embed>'
 + '</object>');
}

//==========================·Î°í¹öÆ°
function go_main(){
location.href = "/eng/default.aspx";
}


/************** ¸ÞÀÎ ½æ³×ÀÏ¸µÅ© ***************/

function mainSumLink(num1, num2){
 var sumLink = new Array();
 if(num1=="1"){
	 //=====1.»ó¼±
	 sumLink = ["/eng/biz/ship/cont_postpana.aspx","/eng/biz/ship/gas_lng.aspx","/eng/biz/ship/cru_tanker.aspx","/eng/biz/ship/bulk_carrier.aspx","/eng/biz/ship/cable_ship.aspx"];
location.href = sumLink[num2];

 }else if(num1=="2"){
	 //=====2.Æ¯¼ö¼±
	 sumLink = ["/eng/biz/ship/lph.aspx","/eng/biz/ship/lst_4.aspx","/eng/biz/ship/frigate.aspx","/eng/biz/ship/sal3000.aspx","/eng/biz/ship/lsf1.aspx","/eng/biz/ship/special1.aspx"];
location.href = sumLink[num2];

 }else if(num1=="3"){
	 //=====3. °Ç¼³ºÎ¹®
     sumLink = ["/eng/biz/const/infra_bridge.aspx","/eng/biz/const/arch_apart.aspx","/eng/biz/const/plant_industry.aspx","/eng/biz/const/airport.aspx"];
location.href = sumLink[num2];

 }else if(num1=="4"){
	 //=====4. ¼öºòÁ¶¼±¼Ò
     sumLink = ["","",""];
location.href = sumLink[num2];

 }
}
/************** ¸ÞÀÎ ½æ³×ÀÏ¸µÅ© ***************/
function mainVisualLink(num){
var VisualNum = new Array();
	 VisualNum[1]="/eng/biz/ship/instru.aspx";
	 VisualNum[2]="/eng/biz/const/intro.aspx";
     VisualNum[3]="/eng/biz/ship/subic.aspx";
location.href = VisualNum[num];
}

/************** »ó´Ü ¹Ìµð¾î¼¾ÅÍ ¸µÅ© ***************/

function MediaCenter_Link(num){
     var mediaNum = new Array();
	 mediaNum[1]="/media_center/eng_tour/index.html";	
	 mediaNum[2]="/eng/pr/culture/gallery.aspx";
     mediaNum[3]="/eng/pr/culture/prvideo.aspx";
	 if(num==1){
		 w = window.open(mediaNum[num],'','toolbar=no,menubar=no,location=no,directions=no, scrollbars=no,status=no,width=1000,height=750,left=10,top=10');
		 w.focus();
	 }else if(num==2){
		 location.href = mediaNum[num];
		 //w = window.open(mediaNum[num],'','toolbar=no,menubar=no,location=no,directions=no, scrollbars=no,status=no,width=1000,height=700,left=10,top=10');        
	 }else if(num==3){
		 location.href = mediaNum[num];
		 //w = window.open(mediaNum[num],'','toolbar=no,menubar=no,location=no,directions=no, scrollbars=no,status=no,width=1000,height=700,left=10,top=10');        
	 }	 
}


/************** ¸ÞÀÎ Äü ¸µÅ© ***************/

function quick_link(num){
     var quickNum = new Array();
	 quickNum[1]="/eng/company/location.aspx";
	 quickNum[2]="/eng/ir/financial/financial_info.aspx";
     quickNum[3]="/eng/pr/culture/gallery.aspx";
location.href = quickNum[num];
}


/************** ¸ÞÀÎ ÄÁÅÙÃ÷ ¹è³Ê ***************/

function main_con_banner(num){
     var bannerNum = new Array();
	 bannerNum[1]="";
	 bannerNum[2]="";
     bannerNum[3]="";
location.href = bannerNum[num];
}



/************** ¸ÞÀÎ °Ô½ÃÆÇ ***************/

function board_link(num){
     var boardNum = new Array();
	 boardNum[1]="/eng/pr/notice/notice.aspx";
location.href = boardNum[num];
}



/************** ¸ÞÀÎ ÄÁÅÙÃ÷ ¹è³Ê ***************/

function main_con_slider(num){
     var sliderNum = new Array();
	 sliderNum[1]="http://portal.hanjinsc.com/kplaza";
	 sliderNum[2]="/eng/company/coworksystem.aspx";
location.href = sliderNum[num];
}



/************** ¸ÞÀÎ ¼¶³×ÀÏ¸µÅ©(¼öºòÁ¶¼±¼Ò) ***************/

function main_sum_subic(num){
     var  sumNum = new Array();
	 sumNum[1]="/eng/biz/ship/subic.aspx";
	 sumNum[2]="/media_center/subic/index.aspx";
     sumNum[3]="/media_center/history/index.html";
	 sumNum[4]="/subic/index.aspx";
	 if(num==2){
         w = window.open(sumNum[num],'','toolbar=no,menubar=no,location=no,directions=no, scrollbars=no,status=no,width=1000,height=750,left=10,top=10'); 
         w.focus();
	 }else if(num==3){
		 w = window.open(sumNum[num],'','toolbar=no,menubar=no,location=no,directions=no, scrollbars=no,status=no,width=1000,height=700,left=10,top=10');   
		 w.focus();
	 }else{
location.href = sumNum[num];
	 }
}




/************** Depth1 ¸µÅ© ***************/

function top_link(num){
     var topNum = new Array();
	 topNum[1]="/eng/default.aspx";
	 topNum[2]="/eng/sitemap/sitemap.aspx";
     topNum[3]="/default.aspx";
	 topNum[4]="/eng/customer/contact_phone.aspx";
location.href = topNum[num];
}


/************** Depth1 ¸µÅ© ***************/

function Depth1_Link(Depth1){
     var oneDepth = new Array();
	 oneDepth[1]="/eng/company/about.aspx";
	 oneDepth[2]="/eng/biz/ship/instru.aspx";
	 oneDepth[3]="/eng/rnd/ship/labor_intro.aspx";
	 oneDepth[4]="/eng/ir/financial/financial_info.aspx";
	 oneDepth[5]="/eng/pr/culture/ci.aspx";
	 oneDepth[6]="/eng/customer/contact_phone.aspx";
location.href = oneDepth[Depth1];	 
}


/************** Depth2 ¸µÅ© ***************/
function Depth2_Link(Depth1,Depth2){
 var twoDepth = new Array();

 if(Depth1=="1"){
	 //=====1.È¸»ç¼Ò°³
	 twoDepth = ["/eng/company/about.aspx","/eng/company/vision.aspx","/eng/company/history.aspx","/eng/company/location.aspx","/eng/company/partner.aspx","/eng/company/contact_phone.aspx"];
location.href = twoDepth[Depth2];

 }else if(Depth1=="2"){
	 //=====2.»ç¾÷ºÐ¾ß
	 twoDepth = ["/eng/biz/ship/instru.aspx","/eng/biz/const/intro.aspx","/eng/biz/ship/subic.aspx","/eng/biz/const/haemoro.aspx"];
location.href = twoDepth[Depth2];

 }else if(Depth1=="3"){
	 //=====3.R&D
     twoDepth = ["/eng/rnd/ship/labor_intro.aspx","/eng/rnd/const/labor_intro.aspx"];
location.href = twoDepth[Depth2];

 }else if(Depth1=="4"){
	 //=====4.IR
	 twoDepth = ["/eng/ir/financial/financial_info.aspx","/eng/ir/ir/analyst.aspx"];
location.href = twoDepth[Depth2];

 }else if(Depth1=="5"){
//=====5.PR ROOM
	 twoDepth = ["/eng/pr/culture/ci.aspx","/eng/pr/notice/notice.aspx"];
location.href = twoDepth[Depth2];
 }else if(Depth1=="6"){
//=====6.CUSTOMER SERVICE
	 twoDepth = ["/eng/customer/contact_phone.aspx"];
location.href = twoDepth[Depth2];

 }
}


/************** Depth3 ¸µÅ© ***************/
function Depth3_Link(Depth1,Depth2, Depth3){	
     var treeDepth = new Array();

  if(Depth1=="1"){
	  //=====1.È¸»ç¼Ò°³
	  treeDepth = [
		  [],
		  [],
		  [],
		  ["/eng/company/location.aspx","/eng/company/abroad.aspx"],
		  [],
		  ["/eng/company/contact_phone.aspx","/eng/company/contact_office.aspx"]
		  ];
 location.href = treeDepth[Depth2][Depth3];
}else if(Depth1=="2"){	
	//=====2.»ç¾÷ºÐ¾ß
	  treeDepth = [
		  ["/eng/biz/ship/instru.aspx","/eng/biz/ship/cont_postpana.aspx","/eng/biz/ship/perfomance_record.aspx","/eng/biz/ship/subic.aspx"],
		  ["/eng/biz/const/intro.aspx","/eng/biz/const/infra_shipyard.aspx","/eng/biz/const/perfomance_record.aspx"]
		  ];
 location.href = treeDepth[Depth2][Depth3];
}else if(Depth1=="3"){
	//=====3.R&D
	  treeDepth = [
		  ["/eng/rnd/ship/labor_intro.aspx","/eng/rnd/ship/tech_structure.aspx","/eng/rnd/ship/tech_newmethod.aspx","/eng/rnd/ship/tech_book.aspx"],
		  ["/eng/rnd/const/labor_intro.aspx","/eng/rnd/const/infra_invest.aspx","/eng/rnd/const/const_invest.aspx","/eng/rnd/const/quality_test.aspx","/eng/rnd/const/intellectual_pro.aspx","/eng/rnd/const/tech_book.aspx"]
		  ];
 location.href = treeDepth[Depth2][Depth3];
}else if(Depth1=="4"){
	//=====4.IR
	  treeDepth = [
		  ["/eng/ir/financial/financial_info.aspx","/eng/ir/financial/financial_sta.aspx","/eng/ir/financial/audit.aspx"  ],
          ["/eng/ir/ir/analyst.aspx","/eng/ir/ir/credit.aspx","/eng/ir/ir/ir.aspx"],
		  ];	      
 location.href = treeDepth[Depth2][Depth3];
}else if(Depth1=="5"){
	//=====5.PR ROOM
	  treeDepth = [
		  ["/eng/pr/culture/ci.aspx","/eng/pr/culture/gallery.aspx","/eng/ir/prnote.aspx"  ],
          ["/eng/pr/notice/notice.aspx","/eng/pr/prnote.aspx"  ],
		  ["/eng/pr/prnote.aspx"   ],
		  ["/eng/pr/notice/notice.aspx"   ],
		  ];
 location.href = treeDepth[Depth2][Depth3];
}else if(Depth1=="6"){
	//=====6.CUSTOMER SERVICE
	  treeDepth = [
		  ["/eng/customer/contact_phone.aspx"],
		  ];
 location.href = treeDepth[Depth2][Depth3];
}
}

/************** Depth4 ¸µÅ© ***************/
function Depth4_Link(Depth1,Depth2, Depth3, Depth4){	
     var fourDepth = new Array();

  if(Depth1=="1"){
    //=====1.È¸»ç¼Ò°³

}else if(Depth1=="2"){
	//=====2.»ç¾÷ºÐ¾ß
	  fourDepth = [
		  [[],
		  ["/eng/biz/ship/cont_postpana.aspx","/eng/biz/ship/lph.aspx"], 
		  [], []],
		  [[],
		  ["/eng/biz/const/infra_shipyard.aspx","/eng/biz/const/arch_apart.aspx","/eng/biz/const/plant_industry.aspx","/eng/biz/const/airport.aspx","/eng/biz/const/overseas.aspx"], 
		  [], []]
		  ];
 location.href = fourDepth[Depth2][Depth3][Depth4];

}else if(Depth1=="3"){
	//=====3.R&D

}else if(Depth1=="4"){
	//=====4.ÅõÀÚÁ¤º¸

}else if(Depth1=="5"){
	//=====5.ÀÎÀçÃ¤¿ë(ÇÏÀ§ ¸Þ´º ¾øÀ½)

}else if(Depth1=="6"){
	//=====6.PR ROOM

}
}


/************** Depth5 ¸µÅ© ***************/
function Depth5_Link(Depth1,Depth2, Depth3, Depth4, Depth5){	
     var fiveDepth = new Array();

  if(Depth1=="1"){
    //=====1.È¸»ç¼Ò°³

}else if(Depth1=="2"){
	//=====2.»ç¾÷ºÐ¾ß
	  fiveDepth = [
		  [[],
		  //===SHIPBUILDING>Products
		  [["/eng/biz/ship/cont_postpana.aspx","/eng/biz/ship/gas_lng.aspx","/eng/biz/ship/cru_tanker.aspx","/eng/biz/ship/bulk_carrier.aspx","/eng/biz/ship/special1_1.aspx"],
		  ["/eng/biz/ship/lph.aspx","/eng/biz/ship/lst_4.aspx","/eng/biz/ship/pkg.aspx","/eng/biz/ship/sal3000.aspx","/eng/biz/ship/lsf1.aspx","/eng/biz/ship/special1.aspx"]],
		  [],[]],
		  [[],
		  //===CONSTRUCTION>Products
		  [["/eng/biz/const/infra_bridge.aspx","/eng/biz/const/infra_bay.aspx","/eng/biz/const/infra_tunnel.aspx","/eng/biz/const/infra_subway.aspx","/eng/biz/const/infra_garden.aspx","/eng/biz/const/infra_shipyard.aspx"],
		  ["/eng/biz/const/arch_apart.aspx","/eng/biz/const/arch_culture.aspx","/eng/biz/const/arch_hospital.aspx","/eng/biz/const/arch_building.aspx","/eng/biz/const/arch_hotel.aspx","/eng/biz/const/arch_school.aspx"],
		  ["/eng/biz/const/plant_industry.aspx","/eng/biz/const/plant_industry_2.aspx","/eng/biz/const/plant_industry_3.aspx","/eng/biz/const/plant_industry_4.aspx"],
		  [],
		  ["/eng/biz/const/overseas.aspx","/eng/biz/const/overseas1.aspx","/eng/biz/const/overseas2.aspx","/eng/biz/const/overseas3.aspx"]],
		  []]];
 location.href = fiveDepth[Depth2][Depth3][Depth4][Depth5];

}else if(Depth1=="3"){
	//=====3.R&D

}else if(Depth1=="4"){
	//=====4.ÅõÀÚÁ¤º¸

}else if(Depth1=="5"){
	//=====5.ÀÎÀçÃ¤¿ë(ÇÏÀ§ ¸Þ´º ¾øÀ½)

}else if(Depth1=="6"){
	//=====6.PR ROOM

}
}