
function GoMenu (P_Num, S_Num, D_Num) {
    var ServiceRoot = "";
    var url = "";
	var targetb = ""
    //alert(P_Num+"/"+S_Num+"/"+D_Num);
    if(P_Num == "0") {     
        url = ServiceRoot + "/";        
    }else if(P_Num == "1"){
        if(S_Num == "0"){url = ServiceRoot + "/01mentholatum/condition.html";}//¸à¼Ò·¡´ã ¼Ò°³
        else if(S_Num == "1"){url = ServiceRoot + "/01mentholatum/condition.html";}//¸à¼Ò·¡´ã ¼Ò°³
		else if(S_Num == "2"){url = ServiceRoot + "/01mentholatum/story.html";}//¸à¼Ò·¡´ã history			
		else if(S_Num == "3"){url = ServiceRoot + "/01mentholatum/network.html";}//¸à¼Ò·¡´ã Worldwide
		else if(S_Num == "4"){url = ServiceRoot + "/01mentholatum/greetings.html";}//CEO ÀÎ»ç¸»
		else if(S_Num == "5"){url = ServiceRoot + "/01mentholatum/idea.html";}//°æ¿µÀÌ³ä
		else if(S_Num == "6"){url = ServiceRoot + "/01mentholatum/paper.html";}//È«º¸ÀÚ·á
		else if(S_Num == "7"){url = ServiceRoot + "/01mentholatum/employ.html";}//ÀÎÀçÃ¤¿ë
		else if(S_Num == "8"){url = ServiceRoot + "/01mentholatum/away.html";}//À§Ä¡ ¹× ¿¬¶ôÃ³

   }else if(P_Num == "2"){
        if(S_Num == "0"){url = ServiceRoot + "/02brand/brandindex.html";}//ºê·£µå¼Ò°³
		else if(S_Num == "1"){url = ServiceRoot + "/02brand/brandindex.html";}//ºê·£µå¼Ò°³
        else if(S_Num == "2"){url = ServiceRoot + "/02brand/lotion.html";}//Mentholatum Lotion & Spray
        else if(S_Num == "3"){url = ServiceRoot + "/02brand/akenes.html";}//Acnes
		else if(S_Num == "4"){url = ServiceRoot + "/02brand/lipcare.html";}//Lipcare Collection
		else if(S_Num == "5"){url = ServiceRoot + "/02brand/hadalabo.html";}//Sunplay
		else if(S_Num == "6"){url = ServiceRoot + "/02brand/forman.html";}//Mentholatum for men
		else if(S_Num == "7"){url = ServiceRoot + "/02brand/veil.html";}//Hand Veil / Body Veil
		else if(S_Num == "8"){url = ServiceRoot + "/02brand/hadalabo.html";}//hadalabo

    }else if(P_Num == "3"){
        if(S_Num == "0"){url = ServiceRoot + "/03community/product_list.html";}//Á¦Ç°»ç¿ëÈÄ±â
        else if(S_Num == "1"){url = ServiceRoot + "/03community/product_list.html";}//Á¦Ç°»ç¿ëÈÄ±â
        else if(S_Num == "2"){url = ServiceRoot + "/03community/ing_list.html";}//ÁøÇàÁßÀÎ ÀÌº¥Æ®
        else if(S_Num == "3"){url = ServiceRoot + "/03community/past_list.html";}//Áö³­ ÀÌº¥Æ®

    }else if(P_Num == "4"){
        if(S_Num == "0"){url = ServiceRoot + "/04customer/center.html";}//°í°´¸¸Á·ÆÀ ¾È³»
        else if(S_Num == "1"){url = ServiceRoot + "/04customer/center.html";}//°í°´¸¸Á·ÆÀ ¾È³»
        else if(S_Num == "2"){url = ServiceRoot + "/04customer/notice_list.html";}//°øÁö»çÇ×
        else if(S_Num == "3"){url = ServiceRoot + "/04customer/qa_list.html";}//ÀÚÁÖÃ£´Â Áú¹®
		else if(S_Num == "4"){url = ServiceRoot + "/04customer/consultation_list.html";}//1:1 »ó´ã

    } else if(P_Num == "5"){
        if(S_Num == "1"){url = ServiceRoot + "/08sitemap/sitemap.html";}//»çÀÌÆ®¸Ê

	 } else if(P_Num == "6"){

		if(S_Num == "0"){url = ServiceRoot + "/07member/login.html";}//·Î±×ÀÎ
        else if(S_Num == "1"){url = ServiceRoot + "/07member/login.html";}//·Î±×ÀÎ
		else if(S_Num == "2"){url = ServiceRoot + "/06join/agree.html";}//È¸¿ø°¡ÀÔ
        else if(S_Num == "3"){url = ServiceRoot + "/07member/searchinfo.html";}//¾ÆÀÌµð ºñ¹Ð¹øÈ£Ã£±â

	 } else if(P_Num == "7"){
        if(S_Num == "0"){url = ServiceRoot + "/07member/myinfo.html";}//È¸¿øÁ¤º¸¼öÁ¤
        else if(S_Num == "1"){url = ServiceRoot + "/07member/myinfo.html";}//È¸¿øÁ¤º¸¼öÁ¤
		//else if(S_Num == "2"){url = ServiceRoot + "";}//³ªÀÇ¹®ÀÇ³»¿ª
        else if(S_Num == "2"){url = ServiceRoot + "/07member/dismiss.html";}//È¸¿øÅ»Åð
		
    }
    

    if (url != ""){
		if (targetb == ""){
			window.location.href = url;
		}else{

			show(url, "1000","800");
			//window.open(url, targetb,"");
		}
    } else {
        alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù");
    }
    
}






function fnGoMenuLink (P_Num, S_Num, D_Num) {
    var ServiceRoot = "";
    var url = "";
	var targetb = ""
    //alert(P_Num+"/"+S_Num+"/"+D_Num);
    if(P_Num == "0") {     
        url = ServiceRoot + "";        
    }else if(P_Num == "1"){
        if(S_Num == "0"){url = ServiceRoot + "";}//brand1
        else if(S_Num == "1"){url = ServiceRoot + "";}//brand1
		else if(S_Num == "2"){url = ServiceRoot + "";}//brand2
		else if(S_Num == "3"){url = ServiceRoot + "";}//brand3
		else if(S_Num == "4"){url = ServiceRoot + "";}//brand4
		else if(S_Num == "5"){url = ServiceRoot + "";}//brand5
		else if(S_Num == "6"){url = ServiceRoot + "";}//brand6
//¸ÞÀÎÈ­¸é ºê·£µå ÄÁÅÙÃ÷ ¸µÅ©ÀÔ´Ï´Ù



   }else if(P_Num == "2"){
        if(S_Num == "0"){url = ServiceRoot + "";}//g¸¶ÄÏ
        else if(S_Num == "1"){url = ServiceRoot + "";}//g¸¶ÄÏ
        else if(S_Num == "2"){url = ServiceRoot + "";}//¿Á¼Ç
		else if(S_Num == "3"){url = ServiceRoot + "";}//´ëÇüÇÒÀÎ¸¶Æ®
		else if(S_Num == "4"){url = ServiceRoot + "";}//Gs¿Ó½¼
		else if(S_Num == "4"){url = ServiceRoot + "";}//¿Ã¸®ºê¿µ
//¸ÞÀÎÈ­¸é ¼îÇÎ½ºÅä¾î¿¡ ´ëÇÑ ¸µÅ©ÀÔ´Ï´Ù




    }else if(P_Num == "3"){
        if(S_Num == "0"){url = ServiceRoot + "/02brand/hadalabo.html";}//new product
        else if(S_Num == "1"){url = ServiceRoot + "/02brand/hadalabo.html";}//new product
//¸ÞÀÎÈ­¸é ´º ÇÁ·Î´öÆ® ÀÔ´Ï´Ù    


	}else if(P_Num == "4"){
        if(S_Num == "0"){url = ServiceRoot + "/01mentholatum/story.html";}//120ÁÖ³â
        else if(S_Num == "1"){url = ServiceRoot + "/01mentholatum/story.html";}//120ÁÖ³â
//¸ÞÀÎÈ­¸é 120ÁÖ³â ¸µÅ©ÀÔ´Ï´Ù

		
   }
    

    if (url != ""){
		if (targetb == ""){
			window.location.href = url;
		}else{

			show(url, "1000","800");
			//window.open(url, targetb,"");
		}
    } else {
        alert("¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù");
    }
    
}

function Gobrand(v1){

    if(v1 == "1"){
        url = "/brand/lotion/index.html";
        window.open(url,"1","width=800px, height=600px, scrollbars=no");
    }else if(v1 == "2"){
        url = "http://www.mentholatum-acnes.co.kr/";
        window.open(url, '_blank', '');
    }else if(v1 == "3."){
        url = "/brand/lipcare/index.html";
        window.open(url,"3","width=800px, height=600px, scrollbars=no");
    }else if(v1 == "4"){
        url = "/brand/sunplay/index.html";
        window.open(url,"4","width=800px, height=600px, scrollbars=no");
    }else if(v1 == "5"){
        url = "/brand/formen/index.html";
        window.open(url,"5","width=800px, height=600px, scrollbars=no");
    }else if(v1 == "6"){
        url = "/brand/vail/index.html";
        window.open(url,"6","width=800px, height=600px, scrollbars=no");
    }	else if(v1 == "7"){
        url = "/brand/hadalabo/index.html";
        window.open(url,"7","width=800px, height=600px, scrollbars=no");
    }
	

}


function Gofooter(v1){

    if(v1 == "1"){
        url = "/popup/popup01.html";
        window.open(url,"pop1","width=500px, height=500px, scrollbars=no");
    }else if(v1 == "2"){
        url = "/popup/popup02.html";
        window.open(url,"pop2","width=500px, height=500px, scrollbars=no");
    }else if(v1 == "3."){
        url = "/popup/popup03.html";
        window.open(url,"pop3","width=500px, height=500px, scrollbars=no");
       }

}



function GoOn(v1){
    
    if(v1 == "1"){
			url = "http://shop.gmarket.co.kr/challenge/neo_seller_collection/seller_collection_main.asp?cust_no=DE4OR38TNTcxOEy1NDk3MjczNzB/Rw==&gdsc_cd=300004393&l_top_gd_no=181480158/";
			window.open(url, '_blank', '');
	}
	else if(v1 == "2"){
			url = "http://stores.auction.co.kr/Front/Store.aspx?StoreNo=1000078619";
			window.open(url, '_blank', '');
	}
	else if(v1 == "3"){
			url = "http://www.11st.co.kr/dain01ok";
			window.open(url, '_blank', '');
	}
}

