if(!PageCode){
var PageCode
	PageCode=12;
}
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>');
}

/************** Depth1 ¸µÅ© ***************/

function top_link(num){
     var topNum = new Array();
	 topNum[1]="/Default.aspx";
	 topNum[2]="/aboutus/sitemap.aspx";
     topNum[3]="/aboutus/cscenter.aspx";
location.href = topNum[num];
}



function Depth1_Link(Depth1){
     var oneDepth = new Array();
	 oneDepth[1]="/aboutus/history.aspx";
	 oneDepth[2]="/business/overview.aspx";
	 oneDepth[3]="/pr/newsroom.aspx";
	 oneDepth[4]="/recruit/jobop.aspx";
location.href = oneDepth[Depth1];	 
}



function Depth2_Link(Depth1,Depth2){
 var twoDepth = new Array();

 if(Depth1=="1"){
	 //=====1. ABOUT US
	 twoDepth = ["/aboutus/history.aspx","/aboutus/vision.aspx","/aboutus/shipyard.aspx","/aboutus/globalnt.aspx","/aboutus/cscenter.aspx"];
location.href = twoDepth[Depth2];

 }else if(Depth1=="2"){
	 //=====2.BUSINESS
	  twoDepth = ["/business/overview.aspx","/business/cont_postpana.aspx"];
location.href = twoDepth[Depth2];

 }else if(Depth1=="3"){
	 //=====3.PUBLIC RELATIONS
     twoDepth = ["/pr/newsroom.aspx","/pr/gallery.aspx","/media_center/index.html"];
	 if(Depth2=="2"){		
		w = window.open(twoDepth[Depth2],'','toolbar=no,menubar=no,location=no,directions=no, scrollbars=no,status=no,width=1000,height=750,left=10,top=10');
		w.focus 
	 }else{	 	 
		location.href = twoDepth[Depth2];
	 }

 }else if(Depth1=="4"){
	 //=====4.RECRUITMENT
	twoDepth = ["/recruit/jobop.aspx","/recruit/training.aspx"];
location.href = twoDepth[Depth2];

 }
}


