
//ÇÃ·¡½Ã ¸Þ´º url
 MN00000000 = new Array("", "/index.php",""); 
 MN00000001 = new Array("", "/index.php",""); 
 MN00000002 = new Array("", "/support/contact.php","contact"); 
 MN00000003 = new Array("", "/sitemap.php","sitemap"); 
 MN00000004 = new Array("", "/kor/index.php",""); 
// product
 MN01000000 = new Array("", "/product/handset/overview.php","Products");  
	MN01010000 = new Array("","/product/handset/overview.php" ,"Mobile Handset Solutions");
		MN01010100 = new Array("","/product/handset/overview.php","Overview");
		MN01010200 = new Array("","/product/handset/music.php","Music");
		MN01010300 = new Array("","/product/handset/dsc.php","DSC");
		MN01010400 = new Array("","/product/handset/pmp.php","PMP");
		MN01010500 = new Array("","/product/handset/mobile.php","MOBILE TV");
		MN01010600 = new Array("","/product/handset/smart.php","Smartphone"); 
	MN01020000 = new Array("", "/product/digital/overview.php","Mobile Digital Consumer Device ICs");
		MN01020100 = new Array("", "/product/digital/overview.php","Overview");
		MN01020200 = new Array("", "/product/digital/mp4.php","MP4/PMP Solutions");
		MN01020300 = new Array("", "/product/digital/gps.php","GPS Solutions");
		MN01020400 = new Array("", "/product/digital/mobiletv.php","Handheld Mobile Solutions");
		 
// Technology
 MN02000000 = new Array("", "/technology/core/overview.php","Technology");  
	MN02010000 = new Array("","/technology/core/overview.php" ,"Core Tachnologies");
		MN02010100 = new Array("","/technology/core/overview.php","Platform");
		MN02010200 = new Array("","/technology/core/asic.php","Competitive Power");
	MN02020000 = new Array("", "/technology/history.php","Technology History");
	MN02030000 = new Array("", "/technology/standard.php","Standard Activity");
	MN02040000 = new Array("", "/technology/partner.php","Development Partners");

// Company
 MN03000000 = new Array("", "/company/overview.php","Company");  
	MN03010000 = new Array("","/company/overview.php" ,"Overview"); 
	MN03020000 = new Array("", "/company/milestones.php","Corporate Milestones");
	MN03030000 = new Array("", "/company/excutive.php","Key Executives");
	MN03040000 = new Array("", "/company/mcubeworks.php","Strategic Acquisitions");
	MN03050000 = new Array("", "/company/awards.php","Industry Awards");
	MN03060000 = new Array("", "/company/location.php","Locations");		 
 
// press
 MN04000000 = new Array("", "/press/room/hotlist.php","Press");  
	MN04010000 = new Array("", "/press/room/hotlist.php","Press Room");  
		MN04010100 = new Array("", "/press/room/hotlist.php","Press Release");
		MN04010200 = new Array("", "/press/room/press.php","Core Logic in the press");
		MN04010300 = new Array("", "/press/room/financiallist.php","Financial News");
		MN04010400 = new Array("", "/press/room/eventlist.php","event");
	MN04020000 = new Array("", "/company/overview.php","");
	MN04030000 = new Array("", "/company/awards.php","");
	MN04040000 = new Array("", "/press/room/eventlist.php","");
 // INVESTOR
  MN05000000 = new Array("", "/investor/financial/presentationlist.php","Investor");  
	MN05010000 = new Array("", "/investor/financial/presentationlist.php","Financial Information");  
		MN05010100 = new Array("", "/investor/financial/presentationlist.php","IR Activity");
			MN05010101 = new Array("", "/investor/financial/presentationlist.php","Presentation");
			MN05010102 = new Array("", "/investor/financial/reportlist.php","Analyst Report"); 
		MN05010200 = new Array("", "/investor/statement/balancelist.php","Historical Financial statement");
			MN05010201 = new Array("", "/investor/statement/balancelist.php","Balance sheet");
			MN05010202 = new Array("", "/investor/statement/statementlist.php","Income Statement");
		MN05010300 = new Array("", "/press/room/financiallist.php"," ");
		MN05010400 = new Array("", "/press/room/hotlist.php"," ");
	MN05020000 = new Array("", "/company/overview.php","Stock Information");			
		MN05020100 = new Array("", "/company/overview.php","");	
		MN05020200 = new Array("", "/company/excutive.php","");	
	MN05030000 = new Array("", "/investor/information/price.php","Stock Information");			
		MN05030100 = new Array("", "/investor/information/price.php","Stock price");
		MN05030200 = new Array("", "/investor/information/chart.php","Stock chart");
	MN05040000 = new Array("", "/investor/gocernace/public.php","°ø½Ã ½Ã½ºÅÛ");			
//career		
  MN06000000 = new Array("", "/career/career.php","Career");  
	MN06010000 = new Array("", "/career/career.php","Core Logic People");
		MN06010100 = new Array("", "/career/career.php","Core Logic People");
		MN06010200 = new Array("", "/career/hrpo.php","HR Policy");
	MN06020000 = new Array("", "/career/compensation.php","Compensation & Benefit");
	MN06030000 = new Array("", "/career/apply.php","How To Apply"); 
		MN06030100 = new Array("", "/career/apply.php","Process"); 	
	MN06040000 = new Array("", "/career/job.php","Job Opennig");
	MN06050000 = new Array("", "/career/resume.php","Register your resume");
 

//support		
  MN07000000 = new Array("", "/support/product.php","Support");
	MN07010000 = new Array("", "/support/product.php","Download");
	MN07020000 = new Array("", "/support/search.php","Search support");  
	MN07030000 = new Array("", "/support/contact.php","Contact us"); 
 
/*¸Ê ¸µÅ©*/
function mapLink(str){ 
	 
	 
	var full_menu_str = "<a href='index.php' class=\"maphome\">Home</a>"; 
	/*È¨ÀÌ ¾Æ´Ï¸é */
	if(str!="MN00000000" ){

	/*Ã¹¹øÂ° ¸Ê*/
		var menuVal = eval('MN'+ str.substring(2, 4)+'000000');
		if(str.substring(4,6)=="00"){
			full_menu_str +="<span>></span><strong class=\"nowUnder\">"+menuVal[2]+"</strong>";
		}else{
					 
 	 		full_menu_str +="<span>><span><span class='setp'>"+menuVal[2]+"<span>";
			/*µÎ¹øÂ° ¸Ê*/		
			var menuVal = eval('MN'+ str.substring(2, 6)+'0000');		
			//ÃÖÁ¾ ¸Þ´º°¡ ÀÖ´ÂÁö È®ÀÎ 
			if(str.substring(6,8)=="00" || str.substring(6,8)==""){
				/* µÎ¸ÕÀç ¸ÊÀÌ ÃÖÁ¾¸Þ´ºÀÌ¸é º¼µå ¹× ¸µÅ© »èÁ¦*/
				full_menu_str +="<span>><span><strong class=\"nowUnder\">"+menuVal[2]+"</strong>"; 
			}else{
				full_menu_str +="<span>><span><span class='setp'>"+menuVal[2]+"<span>";
				var menuVal = eval('MN'+ str.substring(2, 8)+'00');	
				if(str.substring(8,10)=="00"){
					//¼Â¹øÀç °¡ ¸¶Áö¸·ÀÏ °æ¿ì	
					full_menu_str +="<span>><span><strong class=\"nowUnder\">"+menuVal[2]+"</strong>";  
				}else{
					full_menu_str +="<span>><span><span class='setp'>"+menuVal[2]+"<span>";
					var menuVal = eval('MN'+ str.substring(2,10));	
					full_menu_str +="<span>><span><strong class=\"nowUnder\">"+menuVal[2]+"</strong>";
					 
				}
			}
		  
		}


	}
	return full_menu_str;
}


/* ±âÅ¸ */ 
function GoSwfUrl(name) {	 
 
	if (eval(name)[1] =="") {
		 alert("Under construction");
		 
	} else {
		if (eval(name)[0] == null || eval(name)[0] == "") { 		 	
			 
			location.href = eval(name)[1];
			
		} else {
			if(eval(name)[0] == "nolink"){
				alert('Under construction.');
			}else if(eval(name)[0] == "pop"){
				window.open(eval(name)[1],"mini",eval(name)[2]);		
			}else if(eval(name)[0] == "win"){
				NewWindow(eval(name)[1], "", "400", "280", "no");
			}else if(eval(name)[0] == "top"){
				top.location.href = eval(name)[1];
			}
		}
	}
}

function MakeFlashString(source,id,width,height,wmode, otherParam)
{	
	return "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0\" width="+width+" height="+height+" id='top_navi'><param name=allowScriptAccess value=always><param name=wmode value="+wmode+" /><param name=movie value="+source+" /><param name=quality value=high />"+otherParam+"<param name='allowScriptAccess' value='always'><embed src="+source+" quality=high wmode="+wmode+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+width+" height="+height+" showmenu=false allowScriptAccess='always' swLiveConnect='true' name='sub'></embed></object>";
}
 
function DocumentWrite(src)
{
	document.write(src);
}
