//var httpUrl = "http://dyeng.lhsoft.co.kr";
//var httpsUrl = "http://dyeng.lhsoft.co.kr";

var httpUrl = "http://en.dongyangex.co.kr";
var httpsUrl = "http://en.dongyangex.co.kr";

/* 메인 */
MN000000 = new Array("","/index.asp","HOME");

/* 회사소개 */
MN010000 = new Array("",httpUrl + "/index.asp?subIndex=1","About Company");
	MN010100 = new Array("",httpUrl + "/company/ceo.asp","Greetings");
	MN010200 = new Array("",httpUrl + "/company/philosophy.asp","Management Policy");
	MN010300 = new Array("",httpUrl + "/company/vision.asp","Vision");
	MN010400 = new Array("",httpUrl + "/company/history.asp","Company History");
		MN010401 = new Array("",httpUrl + "/company/history.asp","Company History");
		MN010402 = new Array("",httpUrl + "/company/award.asp","Awards History");
	MN010500 = new Array("",httpUrl + "/company/ogarni.asp","Organization Chart");
	MN010600 = new Array("",httpUrl + "/company/company.asp","Affiliated Firms");
	MN010700 = new Array("",httpUrl + "/company/map.asp","How to get to the office");

/* 사업소개 */
MN020000 = new Array("",httpUrl + "/index.asp?subIndex=2","Business Introduce");
	MN020100 = new Array("",httpUrl + "/business/eng_intro.asp","Civil engineering");
		MN020101 = new Array("",httpUrl + "/business/eng_intro.asp","Civil engineering");
		MN020102 = new Array("",httpUrl + "/business/eng_detail01.asp?cateCode=BS121","Roal/Railway");
		MN020103 = new Array("",httpUrl + "/business/eng_detail01.asp?cateCode=BS122","Harbor/Dam");
		MN020104 = new Array("",httpUrl + "/business/eng_detail01.asp?cateCode=BS131","Water Resource/environment");
	MN020200 = new Array("",httpUrl + "/business/building_intro.asp","Architecture");
		MN020201 = new Array("",httpUrl + "/business/building_intro.asp","Architecture");
		MN020202 = new Array("",httpUrl + "/business/building_detail01.asp?cateCode=BS115","Paragon");
		MN020203 = new Array("",httpUrl + "/business/building_detail01.asp?cateCode=BS111","Apartments");
		MN020204 = new Array("",httpUrl + "/business/building_detail01.asp?cateCode=BS112","Officetel");
		MN020205 = new Array("",httpUrl + "/business/building_detail01.asp?cateCode=BS113","Business/Leisure facilities");
		MN020206 = new Array("",httpUrl + "/business/building_detail01.asp?cateCode=BS132","Cultural properties/exhibition halls/ museums");
	MN020300 = new Array("",httpUrl + "/business/soc_intro.asp","SOC Business");
		MN020301 = new Array("",httpUrl + "/business/soc_intro.asp","SOC Business");
		MN020302 = new Array("",httpUrl + "/business/soc_detail01.asp","SOC");
	MN020400 = new Array("",httpUrl + "/business/overseas_intro.asp","Overseas Project");
		MN020401 = new Array("",httpUrl + "/business/overseas_intro.asp","Overseas Project");
		MN020402 = new Array("",httpUrl + "/business/overseas_detail01.asp","Overseas");
	MN020500 = new Array("",httpUrl + "/business/energy_into01.asp","Energy Business");
		MN020501 = new Array("",httpUrl + "/business/energy_into01.asp","Energy Business");
		MN020502 = new Array("",httpUrl + "/business/energy_detail01.asp","Energy Business");

/* IR정보 */
MN030000 = new Array("",httpUrl + "/index.asp?subIndex=3","Investor Relation");
	MN030100 = new Array("",httpUrl + "/ir/summary.asp","Company Overview");
  MN030200 = new Array("",httpUrl + "/ir/trust.asp","Business Performance");
		MN030201 = new Array("",httpUrl + "/ir/trust.asp","Credit Rating");
	MN030300 = new Array("",httpUrl + "/ir/sfinancial.asp","Financial Information");
		MN030301 = new Array("",httpUrl + "/ir/sfinancial.asp","Balance Sheet");
		MN030302 = new Array("",httpUrl + "/ir/sfinancial.asp","Income Statements");


/* 홍보센터 */
MN040000 = new Array("",httpUrl + "/index.asp?subIndex=4","Publicity Center");
	MN040100 = new Array("",httpUrl + "/pr/frontier.asp","PR CENTER");
	MN040200 = new Array("",httpUrl + "/pr/movie.asp","PR Movie");
	MN040300 = new Array("",httpUrl + "/pr/movie2.asp","Press Release Movie");	
	MN040400 = new Array("",httpUrl + "/pr/ci.asp","CI");

MN050000 = new Array("",httpUrl + "/etc/sitemap.asp","Site Map");
	MN050100 = new Array("",httpUrl + "/etc/sitemap.asp","Site Map");

/* footer 링크*/

//MN100000 = new Array("",httpUrl + "/company/map.asp","<img src='/images/common/foot_link1.gif' alt='오시는 길' />");
//MN100001 = new Array("",httpUrl + "/member/agree.asp","<img src='/images/common/foot_link2.gif' alt='이용약관' />");
//MN100002 = new Array("",httpUrl + "/member/policy.asp","<img src='/images/common/foot_link3.gif' alt='개인정보취급방침' />");
//MN100003 = new Array("",httpUrl + "/customer/as.asp","<img src='/images/common/foot_link4.gif' alt='Contact us' />");
//MN100004 = new Array("new","",httpUrl + "<img src='/images/common/foot_link5.gif' alt='E 브로셔 다운로드' />");
//MN100005 = new Array("new","",httpUrl + "<img src='/images/common/foot_link6.gif' alt='FAMILY SITE' />");
//MN100006 = new Array("new","",httpUrl + "<img src='/images/common/family_link1.gif' alt='동양고속건설그룹' />");
////MN100007 = new Array("new","http://www.dyparagon.co.kr","<img src='/images/common/family_link2.gif' alt='동양파라곤' />");
////MN100008 = new Array("new","http://www.dyexpress.co.kr","<img src='/images/common/family_link3.gif' alt='동양고속운수' />");
//MN100007 = new Array("new","http://dyparagon.lhsoft.co.kr","<img src='/images/common/family_link2.gif' alt='동양파라곤' />");
//MN100008 = new Array("new","http://dyexpress.lhsoft.co.kr","<img src='/images/common/family_link3.gif' alt='동양고속운수' />");
//MN100009 = new Array("new","http://www.lexusdnt.com","<img src='/images/common/family_link4.gif' alt='D&T MOTORS' />");
//MN100010 = new Array("new","http://www.dnttoyota.co.kr","<img src='/images/common/family_link5.gif' alt='D&T TOYOTA' />");
//MN100011 = new Array("new","http://www.mghat.com","<img src='/images/common/family_link6.gif' alt='무궁화신탁' />");


MN100000 = new Array("",httpUrl + "/company/map.asp","<img src='/images/common/foot_link1.gif' alt='Location' />");
MN100100 = new Array("",httpUrl + "/library/common/download.asp?file=/Upfile/download/Dongyang_Brochure_English.pdf","<img src='/images/common/foot_link2.gif' alt='Download E-brochure' />");
MN100200 = new Array("",httpUrl + "/member/policy.asp","<img src='/images/common/foot_link3.gif' alt='개인정보취급방침' />");
MN100300 = new Array("",httpUrl + "/customer/as.asp","<img src='/images/common/foot_link4.gif' alt='A/S 문의' />");
MN100400 = new Array("new","","<img src='/images/common/foot_link5.gif' alt='E 브로셔 다운로드' />");
	MN100401 = new Array("",httpUrl + "/library/common/download.asp?file=/Upfile/download/Dongyang_Brochure_Korea.pdf","<img src='/images/common/foot_downKo.gif' onmouseover='this.src=\"/images/common/foot_downKo_on.gif\"' onmouseout='this.src=\"/images/common/foot_downKo.gif\"' alt='국문 다운로드'  onclick='ebClose();'/>");
	MN100402 = new Array("",httpUrl + "/library/common/download.asp?file=/Upfile/download/Dongyang_Brochure_English.pdf","<img src='/images/common/foot_downEn.gif' onmouseover='this.src=\"/images/common/foot_downEn_on.gif\"' onmouseout='this.src=\"/images/common/foot_downEn.gif\"' alt='영문 다운로드'  onclick='ebClose();'/>");
MN100500 = new Array("new","","<img src='/images/common/foot_link6.gif' alt='FAMILY SITE' />");
MN100600 = new Array("new","http://www.dongyangex.co.kr/index.asp","<img src='/images/common/family_link1.gif' alt='DONGYANG ENGINEERING&CONSTRUCTION GROUP' />");
//MN100007 = new Array("new","http://www.dyparagon.co.kr","<img src='/images/common/family_link2.gif' alt='동양파라곤' />");
//MN100008 = new Array("new","http://www.dyexpress.co.kr","<img src='/images/common/family_link3.gif' alt='동양고속운수' />");
MN100700 = new Array("new","http://www.dyparagon.co.kr/","<img src='/images/common/family_link2.gif' alt='Paragon' />");
MN100800 = new Array("new","http://www.dyexpress.co.kr/","<img src='/images/common/family_link3.gif' alt='DONGYANG EXPRESS BUS' />");
MN100900 = new Array("new","http://www.lexusdnt.com/main.html","<img src='/images/common/family_link4.gif' alt='D&T MOTORS' />");
MN101000 = new Array("new","http://www.dnttoyota.co.kr","<img src='/images/common/family_link5.gif' alt='D&T TOYOTA' />");
MN101100 = new Array("new","http://www.mghat.com","<img src='/images/common/family_link6.gif' alt='무궁화신탁' />");
MN101200 = new Array("new","http://dyp.dongyangex.co.kr/sale/paragon/paragon_list.asp","분양파라곤 more");


function GoSwfUrl(name) {
	if (eval(name)[1] =="") {
    alert("준비중 입니다");
    return;
  } else {
    if (eval(name)[0] == "") {
      location.href = eval(name)[1];
    } else {
      if(eval(name)[0] == "msg"){
        window.open(eval(name)[1], 'add', 'status=no, toolbar=no, location=no, menubar=no, directories=no, resizeable=no, scrollbars=no, width=550, height=430,top=200,left=400');
      }else if(eval(name)[0] == "new"){
				window.open(eval(name)[1], 'blankPop', 'status=yes, toolbar=yes, location=yes, menubar=yes, directories=yes, resizable=yes, scrollbars=yes width=1000, height=800,top=10,left=10');
			}
    }
  }
}

function GoPageMove(name) {
  if (eval(name)[0] =="") {
    alert("준비중 입니다");
    return;
  } else {
    if (eval(name)[0] == "") {
      location.href = eval(name)[1];
    } else {
      if(eval(name)[0] == "msg"){
        window.open(eval(name)[1], 'add', 'status=no, toolbar=no, location=no, menubar=no, directories=no, resizeable=no, scrollbars=no, width=550, height=430,top=200,left=400');
      }
    }
  }
}

function mapInfo(str){

  if(str!="" ){
  menuVal = eval('MN'+ '000000');
 // var full_menu_str ="<a href='"+menuVal[1]+"'>"+menuVal[2]+"</a>";
  var full_menu_str ="<a href='"+menuVal[1]+"' class='navi_off'>"+menuVal[2]+"</a>";

    menuVal = eval('MN'+ str.substring(2, 4)+'0000');

// 풋터링크
	if(str.substring(2,4) == "10"){

		menuVal = eval('MN'+str.substring(2, 8));
		var downFile = str.substring(4,8);
		if(menuVal[1] == ""){
			full_menu_str = "<a href=javascript:alert('준비중입니다');>"+menuVal[2]+"</a>";
		}else{
			if(menuVal[0] == "new"){
				full_menu_str = "<a href='"+menuVal[1]+"' target='_blank'>"+menuVal[2]+"</a>";
			}else{
				full_menu_str = "<a href='"+menuVal[1]+"' >"+menuVal[2]+"</a>";
			}
		}

		if(downFile == "0400"){
//			full_menu_str = "<a href='#' onclick='ebDown(\"down\"); return false;'>"+menuVal[2]+"</a>";
				full_menu_str = "<a href='#' onclick='ebDown(); return false;'>"+menuVal[2]+"</a>";
		}

	}else{

    if(str.substring(4,6)=="00"){
      full_menu_str +="<span class='navi_off'>"+menuVal[2]+"</span>";
    } else {
      full_menu_str +="<a href='"+menuVal[1]+"'>"+menuVal[2]+"</a>";
      menuVal = eval('MN'+ str.substring(2, 6)+'00');
      if(str.substring(6,8) =="00"){
        full_menu_str +="<span class='navi_on'>"+menuVal[2]+"</span>";
      } else {
        full_menu_str +="<a href='"+menuVal[1]+"'class='navi_off2'>"+menuVal[2]+"</a>";
        menuVal = eval('MN'+ str.substring(2, 8));
        full_menu_str +="<span class='navi_on'>"+menuVal[2]+"</span>";
      }
    }
  }
}
  document.write(full_menu_str);
}

function viewFlash(source,id,width,height,wmode, otherParam) {
  document.write( "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0\" width="+width+" height="+height+" id="+id+"><param name=allowScriptAccess value=sameDomain><param name=wmode value="+wmode+" /><param name=movie value="+source+" /><param name=quality value=high />"+otherParam+"<embed src="+source+" quality=high wmode="+wmode+" type=\"application/x-shockwave-flash\" pluginspage=\"https://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+width+" height="+height+" showmenu=false></embed></object>");
}


// flashWrite(파일경로, 가로, 세로, 아이디, 배경색, 변수, 윈도우모드)
function flashWrite(url,w,h,id,bg,vars,win){

 // 플래시 코드 정의
 var flashStr=
 "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
 "<param name='allowScriptAccess' value='always' />"+
 "<param name='movie' value='"+url+"' />"+
 "<param name='FlashVars' value='"+vars+"' />"+
 "<param name='wmode' value='"+win+"' />"+
 "<param name='menu' value='false' />"+
 "<param name='quality' value='high' />"+
 "<param name='bgcolor' value='"+bg+"' />"+
 "<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='https://www.macromedia.com/go/getflashplayer' />"+
 "</object>";

 // 플래시 코드 출력
 document.write(flashStr);

}
//동영상
function aviPlay(src,w,h) {
  document.write('<embed src="'+src+'" width='+w+' height='+h+'>')
}
