function goHome() { location.href = "http://www.donga-otsuka.co.kr/index.asp" }; // È¨À¸·Î
function goMain() { location.href = "http://www.donga-otsuka.co.kr/index.asp" }; // È¨À¸·Î
function goAdver00() { location.href = 'http://www.donga-otsuka.co.kr/ad/new_tvcf.asp'; } // ±¤°í¸ÞÀÎ
function goAdver01() { location.href = 'http://www.donga-otsuka.co.kr/ad/new_tvcf.asp'; } // »õ±¤°í
function goAdver02() { location.href = 'http://www.donga-otsuka.co.kr/ad/tvcf_list.asp'; } // TVCF
function goAdver03() { } // ¸ÞÀÌÅ·ÇÊ¸§
function goAdver04() { location.href = 'http://www.donga-otsuka.co.kr/ad/print.asp'; } // ÀÎ¼â±¤°í
function goAdver05() { location.href = 'http://www.donga-otsuka.co.kr/ad/radio.asp'; } // ¶óµð¿À±¤°í

function goEvent00() { location.href = 'http://www.donga-otsuka.co.kr/event/event_list.asp'; } // ÀÌº¥Æ®¸ÞÀÎ
function goEvent01() { location.href = 'http://www.donga-otsuka.co.kr/event/event_list.asp'; } // ÁøÇàÁßÀÎÀÌº¥Æ®
function goEvent02() { location.href = 'http://www.donga-otsuka.co.kr/event/event_list'; } // ¼îÇÎ¸ôÀÌº¥Æ®
function goEvent03() {  } // ¼­Æ÷ÅÍÁîÀÌº¥Æ®
function goEvent04() {  } // ¸®ÇÃÀÌº¥Æ®
function goEvent05() {  } // ¼³¹®Á¶»ç
function goEvent06() { location.href = 'http://www.donga-otsuka.co.kr/event/last_list.asp'; } // Áö³­ÀÌº¥Æ®
function goEvent07() { location.href = 'http://www.donga-otsuka.co.kr/event/winner_list.asp'; } // ´çÃ·ÀÚ¹ßÇ¥

function goPoint00() {  } // Æ÷ÀÎÆ®¸ÞÀÎ
function goPoint01() { location.href = 'http://www.donga-otsuka.co.kr/point/gamemain.asp'; } // °ÔÀÓ
function goPoint02() { location.href = 'http://www.donga-otsuka.co.kr/cyber/wallpaper_list.asp'; } // ¹ÙÅÁÈ­¸é
function goPoint03() { location.href = 'http://www.donga-otsuka.co.kr/point/wallpaper_list.asp'; }   // È­¸é º¸È£±â
function goPoint04() {  } // Æ÷ÀÎÆ® ¸ÞÀÎ 

function goFunzone00() { location.href = 'http://www.donga-otsuka.co.kr/point/wallpaper_list.asp'; } // ÆÝÁ¸°ÔÀÓ
function goFunzone01() { location.href = 'http://www.donga-otsuka.co.kr/point/gamemain.asp'; } // °ÔÀÓ
function goFunzone02() { location.href = 'http://www.donga-otsuka.co.kr/point/wallpaper_list.asp'; } // ¹ÙÅÁÈ­¸é
function goFunzone02() { location.href = 'http://www.donga-otsuka.co.kr/point/wallpaper_list.asp'; } // È­¸éº¸È£±â

function goMypage00() { location.href = 'http://www.donga-otsuka.co.kr/member/modify_form.asp'; } // ¸¶ÀÌÆäÀÌÁö¸ÞÀÎ
function goMypage01() {  } // Æ÷ÀÎÆ®³»¿ªÀüÃ¼
function goMypage02() {  } // ÀÌº¥Æ®°ü¸®
function goMypage03() { location.href = 'http://www.donga-otsuka.co.kr/shop/order_list.asp'; } // ¼îÇÎ¸ô°ü¸®
function goMypage04() {  } // ¼­Æ÷ÅÍÁî°ü¸®
function goMypage05() { location.href = 'http://www.donga-otsuka.co.kr/member/modify_form.asp'; } // °³ÀÎÁ¤º¸°ü¸®

function goLogin() {location.href = "https://www.donga-otsuka.co.kr/member/login.asp?backURL="+document.location.pathname+document.location.search;}
function goLogout() { location.href = "http://www.donga-otsuka.co.kr/member/logout.asp"; } // ·Î±×¾Æ¿ô
function goRegist() { location.href = "https://www.donga-otsuka.co.kr/member/join_start.asp"; } // È¸¿ø°¡ÀÔ
function goModify() { location.href = "https://www.donga-otsuka.co.kr/member/modify_form.asp"; } // Á¤º¸¼öÁ¤
function goFind() { location.href = "https://www.donga-otsuka.co.kr/member/find_idpass.asp"; } // ¾ÆÀÌµð,ºñ¹Ð¹øÈ£Ã£±â
function goOut() { location.href = "https://www.donga-otsuka.co.kr/member/out_form.asp"; } // ¾ÆÀÌµð,ºñ¹Ð¹øÈ£Ã£±â

function goNotice() { location.href = "http://www.donga-otsuka.co.kr/news/news_list.asp"; } // °øÁö»çÇ×
function goNews() { location.href = "http://www.donga-otsuka.co.kr/cyber/pr_list.asp"; } // º¸µµÀÚ·á
function goFAQ() { location.href = "http://www.donga-otsuka.co.kr/customer/faq.asp"; } // °í°´¼¾ÅÍ(FAQ)
function goQNA() { location.href = "http://www.donga-otsuka.co.kr/customer/qna_list.asp"; } // °í°´¼¾ÅÍ(QNA)
function goCart() { location.href = "http://www.donga-otsuka.co.kr/shop/cart_list.asp"; } // Àå¹Ù±¸´Ï
function goSitemap() { location.href="http://www.donga-otsuka.co.kr/sitemap/sitemap.asp"; } // »çÀÌÆ®¸Ê

function goPaper() { location.href = "http://www.donga-otsuka.co.kr/cyber/pr_list.asp"; } // ±â»çÀÚ·á
function goPds() { location.href="http://www.donga-otsuka.co.kr/cyber/pds_list.asp";} // »çÀÌ¹öÀÚ·á½Ç
function goFun01() { location.href="http://www.donga-otsuka.co.kr/cyber/wallpaper_list.asp"; } // ¿ùÆäÀÌÆÛ
function goFun02() { location.href="http://www.donga-otsuka.co.kr/point/gameMain.asp";} // °ÔÀÓ

function goBrandMain() {location.href='http://www.donga-otsuka.co.kr/brand/brand_01.asp';} // ºê·£µå ¸ÞÀÎ
function goBrandSub(str1) {
  if(str1 == "pocari") {
    //location.href='http://www.donga-otsuka.co.kr/brand/pocari200709/';
    var win1 = window.open("http://www.donga-otsuka.co.kr/brand/pocari200709/","pocari200709","top=10,left=10,width=1000,height=800,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,status=no,resizable=yes,fullscreen=no,channelmode=no");
  }
  if(str1 == "fibe") {
    //location.href='http://www.donga-otsuka.co.kr/brand/fibemini/';
    var win1 = window.open("http://www.donga-otsuka.co.kr/brand/fibemini/","fibemini","top=10,left=10,width=1000,height=800,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,status=no,resizable=yes,fullscreen=no,channelmode=no");
  }
  if(str1 == "demi") {
    //location.href='http://www.donga-otsuka.co.kr/brand/demisoda/demisoda_00.asp';
    var win1 = window.open("http://www.demisoda.co.kr/","demisoda","top=10,left=10,width=1000,height=800,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,status=no,resizable=yes,fullscreen=no,channelmode=no");
  }
  if(str1 == "gunmi") location.href='http://www.donga-otsuka.co.kr/brand/greentimr200706/green_00.asp';
  if(str1 == "green") location.href='http://www.donga-otsuka.co.kr/brand/greentimr200706/green_00.asp';
  if(str1 == "multi") location.href='http://www.donga-otsuka.co.kr/brand/multivita/multivita_00.asp?a=1';
  if(str1 == "teja") location.href='http://www.donga-otsuka.co.kr/brand/tefava/tefava_00.asp';
  if(str1 == "oranc") {
    //location.href='http://www.donga-otsuka.co.kr/brand/oranc/main.asp';
    var win1 = window.open("http://www.donga-otsuka.co.kr/brand/oranc/main.asp","pocari200709","top=10,left=10,width=1000,height=800,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,status=no,resizable=yes,fullscreen=no,channelmode=no");
  }
  if(str1 == "orate" || str1 == "olatte" ) location.href='http://www.donga-otsuka.co.kr/brand/olatte/main.asp';
  if(str1 == "orade") location.href='http://www.donga-otsuka.co.kr/brand/olatte/main.asp';
  if(str1 == "confi") location.href='http://www.donga-otsuka.co.kr/brand/confidence/confidence_00.asp';
  if(str1 == "cocas") location.href='http://www.donga-otsuka.co.kr/brand/cocas/cocasl_00.asp';
  if(str1 == "jindu") location.href='http://www.donga-otsuka.co.kr/brand/realsoymilk/realsoymilk_00.asp';
  if(str1 == "energen") location.href='http://www.donga-otsuka.co.kr/brand/energen/energen_00.asp?a=1';
  if(str1 == "single") location.href='http://www.donga-otsuka.co.kr/brand/maxwell/maxwell_00.asp';
  if(str1 == "match") location.href='http://www.donga-otsuka.co.kr/brand/match/match00.asp';
  if(str1 == "blackbin" || str1 == "blackbean" ) location.href='http://www.donga-otsuka.co.kr/brand/blackbeanfm/main.asp';
  if(str1 == "soyjoy") location.href='http://www.donga-otsuka.co.kr/brand/soyjoy/soyjoy_main.html';
  if(str1 == "olatte") location.href='http://www.donga-otsuka.co.kr/brand/olatte/main.asp';
  if(str1 == "honeylemon") location.href='http://www.donga-otsuka.co.kr/brand/honeylemon/main.asp';
  if(str1 == "winter") location.href='http://www.donga-otsuka.co.kr/brand/wintering/main.asp';
  if(str1 == "narangd") {
    //location.href='http://www.narangd.co.kr';
    var win1 = window.open("http://www.narangd.co.kr","pocari200709","top=10,left=10,width=1000,height=800,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,status=no,resizable=yes,fullscreen=no,channelmode=no");
  }
  if(str1 == "nature") {
    alert("È¨ÆäÀÌÁö ÁØºñÁßÀÔ´Ï´Ù");
  }
  if(str1 == "water") location.href='http://www.donga-otsuka.co.kr/brand/water/main.asp';
}

function goCompany00() { location.href='http://www.donga-otsuka.co.kr/company/company.asp'; } // È¸»ç¼Ò°³¸ÞÀÎ
function goCompany01() { location.href='http://www.donga-otsuka.co.kr/company/introduce.asp'; } // ¼Ò°³
function goCompany02() { location.href='http://www.donga-otsuka.co.kr/company/history01.asp'; } // ¿¬Çõ
function goCompany03() { location.href='http://www.donga-otsuka.co.kr/company/spirit.asp'; } // Á¦Ç°ÀÌ³ä
function goCompany04() { location.href='http://www.donga-otsuka.co.kr/company/recruit_news.asp'; } // Ã¤¿ëÁ¤º¸
function goCompany05() { location.href='http://www.donga-otsuka.co.kr/company/branch01.asp'; } // ÁöÁ¡¼Ò°³
function goCompany06() { location.href='http://www.donga-otsuka.co.kr/company/map00.asp'; } // Ã£¾Æ¿À½Ã´Â±æ

function goShop00() { location.href="http://www.donga-otsuka.co.kr/shop/"; } // ¼îÇÎ¸ô
function goShop01() { location.href="http://www.donga-otsuka.co.kr/shop/shopList.asp"; } // ¼îÇÎ¸ô
function goShop02() { location.href="http://www.donga-otsuka.co.kr/shop/shopOrderList.asp"; } // ¼îÇÎ¸ô
function goShop03() { location.href="http://www.donga-otsuka.co.kr/shop/guide01.asp"; } // ¼îÇÎ¸ô

function goTreaty() {
	showLayer('LayerDongaOtsuka1','iframeDongaOtsuka1','http://www.donga-otsuka.co.kr/member/popupTreaty.asp',406,285,200);
}
function goProtect() {
	showLayer('LayerDongaOtsuka1','iframeDongaOtsuka1','http://www.donga-otsuka.co.kr/member/popupProtect.asp',406,285,200);
}
function goCompany(){
	 location.href='http://www.donga-otsuka.co.kr/company/company.asp';
}
function goSponsor() {
  top.location.href = "/sponsor/main.asp";
}

///////////////////»ó´Ü¸Þ´ºÇÃ·¡½Ã ¹öÆ°°ü·Ã //////////////////////////////////
function mainMenu(str){
	if(str == 'logo'){ //alert('·Î°íÅ¬¸¯');
		location.href = "/index.asp";
	} else if(str == 'mainlogo'){ //alert('¸ÞÀÎ·Î°íÅ¬¸¯');
		location.href = "/intro.asp";
	}else if(str == '1'){ //alert('È¸»ç¼Ò°³');
		goCompany00();
	}else if(str == '2'){ //alert('ºê·£µå');
		goBrandMain();
	}else if(str == '3'){ //alert('±¤°í');
		goAdver00();
	}else if(str == '4'){ //alert('ÀÌº¥Æ®');
		goEvent00();
	}else if(str == '5'){ //alert('¼îÇÎ¸ô');
    var win1 = window.open("http://www.donga-otsuka.co.kr/shop/","","top=10,left=10,width=1000,height=800,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,status=no,resizable=yes,fullscreen=no,channelmode=no");
	}else if(str == '6'){ //alert('´º½º&°øÁö»çÇ×');
		goNotice();
	}else if(str == '7'){ //alert('»çÀÌ¹ö È«º¸½Ç');
		goNews();
	}else if(str == '8'){	//alert('ÀÎÆ®¶ó³Ý');
    var win2 = window.open("http://dao.donga-otsuka.co.kr/","dao","top=10,left=10,width=1000,height=800,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,status=no,resizable=yes,fullscreen=no,channelmode=no");
	}else if(str == '31') {
	  goAdver01();
	}else if(str == '32') {
	  goAdver02();
	}else if(str == '33') {
	  goAdver04();
	}else if(str == '34') {
	  goAdver05();
	}else if(str == '41') {
	  goEvent00();
	}else if(str == '42') {
	  goEvent06();
	}else if(str == '43') {
	  goEvent07();
	}else if(str == '71') {
	  goNews();
	}else if(str == '72') {
	  goPds();
	}else if(str == '73') {
	  goFun01();
	}else if(str == '91') {
	  goRegist();
	}else if(str == '92') {
	  goFind();
	}else if(str == '93') {
	  goLogin();
	}else if(str == '101') {
	  goModify();
	}else if(str == '102') {
	  goOut();
	}else if(str == '111') {
	  goFAQ();
	}else if(str == '112') {
	  goQNA();
	}
}
///////////////////»ó´Ü¸Þ´ºÇÃ·¡½Ã ¹öÆ°°ü·Ã //////////////////////////////////

///////////////////»ó´ÜÅÜÇÃ·¡½Ã¸Þ´º ¹öÆ°°ü·Ã //////////////////////////////////
function topMenu(str){
  if(str == "sitemap") {
    goSitemap();
  } else if(str == "login") {
    goLogin();
  } else if(str == "logOut") {
    goLogout();
  } else if(str == "join") {
    goRegist();
  } else if(str == "mbinfo") {
    goModify();
  } else if(str == "qna") {
    goFAQ();
  }
}
///////////////////»ó´ÜÅÜÇÃ·¡½Ã¸Þ´º ¹öÆ°°ü·Ã //////////////////////////////////

///////////////////¸ÞÀÎ ÇÏ´ÜÁß°£ÇÃ·¡½Ã¸Þ´º ¹öÆ°°ü·Ã //////////////////////////////////
function mainCenterMenu(str){
	if(str == '1'){ //alert('µ¿¾Æ¿ÀÃ÷Ä«');
		goCompany01();
	}else if(str == '2'){ // alert('Á¦Ç° ÀÌ³ä');
		goCompany03();
	}else if(str == '3'){ // alert('µ¿¾Æ¿ÀÃ÷Ä« ¿¬Çõ');
		goCompany02();
	}
}
///////////////////¸ÞÀÎ ÇÏ´ÜÁß°£ÇÃ·¡½Ã¸Þ´º ¹öÆ°°ü·Ã //////////////////////////////////

///////////////////¸ÞÀÎ ÇÏ´ÜproductÇÃ·¡½Ã¸Þ´º ¹öÆ°°ü·Ã //////////////////////////////////
function productMenu(str){
  if(str == '1') { //1  Æ÷Ä«¸®½º¿þÆ®
    goBrandSub('pocari');
  } else if(str == '2') { //2 ¿À¶õ¾¾
    goBrandSub('oranc');
  } else if(str == '3') { //3 ºí·¢ºó
    goBrandSub('blackbean');
  } else if(str == '4') { //4 µ¥¹Ì¼Ò´Ù
    goBrandSub('demi');
  } else if(str == '5') { //5 ³ª¶ûµå
    goBrandSub('narangd');
  } else if(str == '6') { //5 ¼ÒÀÌÁ¶ÀÌ
    goBrandSub('soyjoy');
  } else if(str == '7') { //6 ¿À¶ó¶¼
    goBrandSub('olatte');
  } else if(str == '8') { //7 ³×ÀÌÃ³½ºÅ©¸´
    goBrandSub('nature');
  } else if(str == '9') { //8 µ¥ÀÚ¹Ù
    goBrandSub('teja');
  } else if(str == '10') { //9 ÄÚÄ«½º
    goBrandSub('cocas');
  } else if(str == '11') { //10 ±×¸°Å¸ÀÓ
    goBrandSub('green');
  } else if(str == '12') { //11 ¿¡³×¸£°Õ
    goBrandSub('energen');
  } else if(str == '13') { //12 ÄÁÇÇ´ø½º
    goBrandSub('confi');
  } else if(str == '14') { //13 ²Ü°ú·¹¸ó
    goBrandSub('honeylemon');
  } else if(str == '15') { //14 °Ü¿ï³ª±â
    goBrandSub('winter');
  } else if(str == '16') { //16 ¸¶½Å´Ù
    goBrandSub('water');
  }
}
///////////////////¸ÞÀÎ ÇÏ´ÜproductÇÃ·¡½Ã¸Þ´º ¹öÆ°°ü·Ã //////////////////////////////////

///////////////////¸ÞÀÎ ÇªÅÍÇÃ·¡½Ã¸Þ´º ¹öÆ°°ü·Ã //////////////////////////////////
function footerMenu(str){
	if(str == '1'){ //alert('contact us');
		goQNA();
	}else if(str == '2'){ // alert('°³ÀÎº¸È£Á¤Ã¥');
		goProtect();
	}else if(str == '3'){ //alert('È¸¿øÁ¤º¸');
		goTreaty();
	}
}
///////////////////¸ÞÀÎ ÇªÅÍÇÃ·¡½Ã¸Þ´º ¹öÆ°°ü·Ã //////////////////////////////////

///////////////////ºê·£µå¼­ºêÆäÀÌÁö ¿ìÃøÇÃ·¡½Ã¸Þ´º ¹öÆ°°ü·Ã //////////////////////////////////
function brandsubMenu(str){
	//alert(str + '¹ø¸Þ´º Å¬¸¯');
  if(str == "1") { //1 Æ÷Ä«¸®½º¿þÆ®
    goBrandSub('pocari');
  } else if(str == "2") { //2 ¿À¶õ¾¾
    goBrandSub('oranc');
  } else if(str == "3") { //3 µ¥¹Ì¼Ò´Ù
    goBrandSub('demi');
  } else if(str == "4") { //5 ³ª¶ûµå»çÀÌµå
    goBrandSub('narangd');
  } else if(str == "5") { //6 ¼ÒÀÌÁ¶ÀÌ
    goBrandSub('soyjoy');
  } else if(str == "6") { //4 ºí·¢ºóÅ×¶óÇÇ
    goBrandSub('blackbean');
  } else if(str == "7") { //12 ±×¸°Å¸ÀÓ
    goBrandSub('green');
  } else if(str == "8") { //10 µ¥ÀÚ¿Í
    goBrandSub('teja');
  } else if(str == "9") { //9 ¿À¶ó¶¼
    goBrandSub('olatte');
  } else if(str == "10") { //13  ¿¡³×¸£°Õ
    goBrandSub('energen');
  } else if(str == "11") { //7 È­ÀÌºê¹Ì´Ï
    goBrandSub('fibe');
  } else if(str == "12") { //11 ÄÁÇÇ´ø½º
    goBrandSub('confi');
  } else if(str == "13") { //8 ÄÚÄ«½º
    goBrandSub('cocas');
  } else if(str == "14") { //14  ³×ÀÌÃÄ
    goBrandSub('nature');
  } else if(str == "15") { //14  ²Ü°ú·¹¸ó
    goBrandSub('honeylemon');
  } else if(str == "16") { //16  °Ü¿ï³ª±â
    goBrandSub('winter');
  } else if(str == "17") { //17  ½Ì±ÛÄ«Æä
    goBrandSub('single');
  } else if(str == "18") { //17  ½Ì±ÛÄ«Æä
    goBrandSub('water');
  }
}
///////////////////ºê·£µå¼­ºêÆäÀÌÁö ¿ìÃøÇÃ·¡½Ã¸Þ´º ¹öÆ°°ü·Ã  //////////////////////////////////


function mainQuickMenu(str1) {
  if(str1 == "1") {
    goEvent00();
  } else if(str1 == "2") {
    goShop00();
  } else if(str1 == "3") {
    goBrandMain();
  } else if(str1 == "4") {
    goCompany00();
  } else if(str1 == "5") {
    goAdver00();
  }
}