function menuURL(strTop, strMain){
	if (strTop=="A"){
		location.href="../hmMain/main.php";
	} else if (strTop=="B")	{
		if (strMain=="01"){
			location.href="../hmProduct/main.php";
		} else if (strMain=="02"){
			location.href="../hmProduct/giCategory.php";
		} else if (strMain=="03"){
			location.href="../hmProduct/etCategory.php";
		} else if (strMain=="04"){
			location.href="../hmProduct/spCategory.php";
		} else if (strMain=="05"){
			location.href="../hmProduct/contactProduct.php";
		} else {
			location.href="../hmProduct/main.php";
		}
	} else if (strTop=="C")	{
		if (strMain=="01"){
			location.href="../hmSupport/policy.php";
		} else if (strMain=="02"){
			location.href="../hmSupport/agency.php";
		} else if (strMain=="03"){
			location.href="../hmSupport/productWrite.php";
		} else if (strMain=="04"){
			location.href="../hmSupport/productList.php";
		} else if (strMain=="05"){
			location.href="../hmSupport/asMain.php";
		} else if (strMain=="06"){
			location.href="../hmSupport/asWrite.php";
		} else if (strMain=="07"){
			location.href="../hmSupport/asList.php";
		} else if (strMain=="08"){
			location.href="../hmSupport/faq.php";
		} else if (strMain=="09"){
			location.href="../hmSupport/contact.php";
		} else {
			location.href="../hmSupport/policy.php";
		}
	} else if (strTop=="D")	{
		if (strMain=="01"){
			location.href="../hmCompany/company.php";
		} else if (strMain=="02"){
			location.href="../hmCompany/company0201.php";
		} else if (strMain=="03"){
			location.href="../hmCompany/company0202.php";
		} else if (strMain=="04"){
			location.href="../hmCompany/company0203.php";
		} else if (strMain=="05"){
			location.href="../hmCompany/company0301.php";
		} else if (strMain=="06"){
			location.href="../hmCompany/company0302.php";
		} else if (strMain=="07"){
			location.href="../hmCompany/company04.php";
		} else if (strMain=="08"){
			location.href="../hmCompany/company05.php";
		} else if (strMain=="09"){
			location.href="../hmCompany/company0601.php";
		} else if (strMain=="10"){
			location.href="../hmCompany/company0602.php";
		} else if (strMain=="11"){
			location.href="../hmCompany/company07.php";
		} else if (strMain=="12"){
			location.href="../hmCompany/company1201.php";
		} else {
			location.href="../hmCompany/company.php";
		}
	} else if (strTop=="E")	{
		if (strMain=="01"){
			location.href="../hmData/seminarList.php";
		} else if (strMain=="02"){
			location.href="../hmData/linkList.php";
		} else if (strMain=="03"){
			location.href="../hmData/noticeList.php";
		} else {
			location.href="../hmData/seminarList.php";
		}

	} else if (strTop=="F")	{
		if (strMain=="01"){
			location.href="../hmCommon/sitemap.php";
		} else if (strMain=="02"){
			location.href="mailto:webmaster@olympusmedical.co.kr ";
		} else if (strMain=="03"){
			window.open("http://kr.olympus.com/", "", "");
		} else {
			location.href="../hmCommon/sitemap.php";
		}
	} else if (strTop=="G")	{
		if (strMain=="01"){
			location.href="../hmMember/rule.php";
		} else if (strMain=="02"){
			location.href="../hmMember/login.php";
		} else if (strMain=="03"){
			location.href="../hmMember/loginError.php";
		} else if (strMain=="04"){
			location.href="../hmMember/privacy.php";
		} else if (strMain=="05"){
			location.href="../hmMember/logout.php";
		} else if (strMain=="06"){
			location.href="../hmMember/edit.php";
		} else if (strMain=="07"){
			location.href="../hmMember/delete.php";
		} else if (strMain=="08"){
			location.href="../hmMember/termsofuse.php";
		} else {
			location.href="../hmMember/rule.php";
		}
	} else if (strTop=="H"){
		if (strMain=="01"){
			location.href="../hmMedicaltown/academy.php?strNo1=1";
		} else if (strMain=="02"){
			location.href="../hmMedicaltown/academy.php?strNo1=1&strNo2=3";
		} else if (strMain=="03"){
			location.href="../hmMedicaltown/academy.php?strNo1=1&strNo2=4";
		} else if (strMain=="04"){
			location.href="../hmMedicaltown/academy.php?strNo1=1&strNo2=5";
		} else if (strMain=="05"){
			location.href="../hmMedicaltown/academy.php?strNo1=1&strNo2=6";
		} else if (strMain=="06"){
			location.href="../hmMedicaltown/academy.php?strNo1=1&strNo2=7";
		} else if (strMain=="07"){
			location.href="../hmMedicaltown/academy.php?strNo1=1&strNo2=8";
		} else if (strMain=="08"){
			location.href="../hmMedicaltown/academy.php?strNo1=1&strNo2=12";
		} else if (strMain=="09"){
			location.href="../hmMedicaltown/academy.php?strNo1=1&strNo2=13";
		} else if (strMain=="10"){
			location.href="../hmMedicaltown/academy.php?strNo1=1&strNo2=14";
		} else if (strMain=="11"){
			location.href="../hmMedicaltown/academy.php?strNo1=1&strNo2=17";
		} else if (strMain=="12"){
			location.href="../hmMedicaltown/academy.php?strNo1=18&strNo2=20";
		} else if (strMain=="13"){
			location.href="../hmMedicaltown/academy.php?strNo1=18&strNo2=27";
		} else if (strMain=="14"){
			location.href="../hmMedicaltown/academy.php?strNo1=18&strNo2=38";
		} else if (strMain=="15"){
			location.href="../hmMedicaltown/academy.php?strNo1=18&strNo2=42";
		} else if (strMain=="16"){
			location.href="../hmMedicaltown/academy.php?strNo1=44&strNo2=77";
		} else if (strMain=="17"){
			location.href="../hmMedicaltown/academy.php?strNo1=44&strNo2=78";
		} else if (strMain=="18"){
			location.href="../hmMedicaltown/academy.php?strNo1=44&strNo2=79";
		} else if (strMain=="19"){
			location.href="../hmMedicaltown/academy.php?strNo1=44&strNo2=87";
		} else if (strMain=="20"){
			location.href="../hmMedicaltown/academy.php?strNo1=44&strNo2=88";
		} else if (strMain=="21"){
			location.href="../hmMedicaltown/academy04.php?strNo1=91&strNo2=90";
		} else {
			location.href="../hmMedicaltown/academy.php?strNo1=1";
		}
	} else if (strTop=="I"){
		location.href="../../endopia/hmMain/main.php";
	} else if (strTop=="J"){
		if (strMain=="01"){
			location.href="../../endopia/hmProgram/medicalreport.php";
		} else if (strMain=="02"){
			location.href="../../endopia/hmProgram/scholarship.php";
		} else if (strMain=="03"){
			location.href="../../endopia/hmProgram/note_200606_01.php";
		} else {
			location.href="../../endopia/hmProgram/medicalreport.php";
		}
	} else if (strTop=="AA"){
		location.href="../../digestive/hmMain/main.php";
	} else if (strTop=="AB"){
		if (strMain=="01"){
			location.href="../../digestive/hmProduct/main.php";
		} else if (strMain=="02"){
			location.href="../../digestive/hmProduct/giCategory.php";
		} else if (strMain=="03"){
			location.href="../../digestive/hmProduct/etCategory.php";
		} else if (strMain=="04"){
			location.href="../../digestive/hmProduct/spCategory.php";
		} else if (strMain=="05"){
			location.href="../../digestive/hmProduct/contactProduct.php";
		} else {
			location.href="../../digestive/hmProduct/main.php";
		}
	} else if (strTop=="AC"){
		if (strMain=="01"){
			location.href="../../digestive/hmMedicaltown/channel.php?strNo1=65";
		} else if (strMain=="02"){
			location.href="../../digestive/hmMedicaltown/channel.php?strNo1=66";
		} else if (strMain=="03"){
			location.href="../../digestive/hmMedicaltown/channel.php?strNo1=67";
		} else if (strMain=="04"){
			location.href="../../digestive/hmMedicaltown/channel.php?strNo1=68";
		} else if (strMain=="05"){
			location.href="../../digestive/hmMedicaltown/channel.php?strNo1=75";
		} else if (strMain=="06"){
			location.href="../../digestive/hmMedicaltown/channel.php?strNo1=76";
		} else {
			location.href="../../digestive/hmMedicaltown/channel.php?strNo1=65";
		}
	} else if (strTop=="AD"){
		if (strMain=="01"){
			location.href="../../digestive/hmMedicaltown/academy.php?strNo1=1";
		} else if (strMain=="02"){
			location.href="../../digestive/hmMedicaltown/academy.php?strNo1=18";
		} else if (strMain=="03"){
			location.href="../../digestive/hmMedicaltown/academy.php?strNo1=44";
		} else if (strMain=="04"){
			location.href="../../digestive/hmMedicaltown/academy.php?strNo1=45";
		} else {
			location.href="../../digestive/hmMedicaltown/academy.php?strNo1=1";
		}
	} else if (strTop=="AE"){
		if (strMain=="01"){
			location.href="../../digestive/hmReport/hospital_200608_01.php";
		} else if (strMain=="02"){
			alert("ÁØºñÁßÀÔ´Ï´Ù.");
			return;
			/*
			location.href="../../digestive/hmReport/doctor.php";
			*/
		} else {
			location.href="../../digestive/hmReport/hospital_200608_01.php";
		}
	} else if (strTop=="AF"){
		if (strMain=="01"){
			location.href="../../digestive/hmData/noticeList.php?category=Notice";
		} else if (strMain=="02"){
			location.href="../../digestive/hmData/noticeList.php?category=News";
		} else if (strMain=="03"){
			location.href="../../digestive/hmData/seminarList.php?category=Info";
		} else if (strMain=="04"){
			location.href="../../digestive/hmData/seminarList.php?category=Field";
		} else if (strMain=="05"){
			location.href="../../digestive/hmData/eventList.php";
		} else if (strMain=="06"){
			location.href="../../digestive/hmBoard/bbs.php";
		} else if (strMain=="07"){
			location.href="../../digestive/hmData/downloadList.php";
		} else if (strMain=="08"){
			location.href="../../digestive/hmData/linkList.php";
		} else {
			location.href="../../digestive/hmData/noticeList.php?category=Notice";
		}
	} else if (strTop=="AG"){
		if (strMain=="01"){
			location.href="../../digestive/hmSupport/main.php";
		} else if (strMain=="02"){
			location.href="../../digestive/hmSupport/policy.php";
		} else if (strMain=="03"){
			location.href="../../digestive/hmSupport/agency.php";
		} else if (strMain=="04"){
			location.href="../../digestive/hmSupport/productWrite.php";
		} else if (strMain=="05"){
			location.href="../../digestive/hmSupport/productList.php";
		} else if (strMain=="06"){
			location.href="../../digestive/hmSupport/asMain.php";
		} else if (strMain=="07"){
			location.href="../../digestive/hmSupport/asWrite.php";
		} else if (strMain=="08"){
			location.href="../../digestive/hmSupport/asList.php";
		} else if (strMain=="09"){
			location.href="../../digestive/hmSupport/faq.php";
		} else if (strMain=="10"){
			location.href="../../digestive/hmSupport/contact.php";
		} else {
			location.href="../../digestive/hmSupport/main.php";
		}
	} else if (strTop=="AH"){
		if (strMain=="01"){
			location.href="../../endopia/hmProgram/scholarship.php";
		} else if (strMain=="02"){
			location.href="../../endopia/hmProgram/mtecintro.php";
		} else if (strMain=="03"){
			location.href="../../endopia/hmProgram/mtecguide.php";
		} else {
			location.href="../../endopia/hmProgram/scholarship.php";
		}
	} else {
		location.href="../hmMain/main.php";
	}
}

function MainMenuURL(strMain){
	if(strMain=="A"){
		location.href="../hmProduct/giRead.php?proCode1=LGI001&proCode2=MGI001&category3=Ancillary%20Lineup&proCode3=SGI025";
	}else if(strMain=="B"){
		location.href="../hmProduct/giRead.php?proCode1=LGI001&proCode2=MGI001&category3=Ancillary%20Lineup&proCode3=SGI023";
	}else if(strMain=="C"){
		location.href="../hmProduct/giRead.php?proCode1=LGI001&proCode2=MGI001&category3=Ancillary%20Lineup&proCode3=SGI024";
	}else if(strMain=="D"){
		location.href="../hmProduct/giRead.php?proCode1=LGI001&proCode2=MGI001&category3=Ancillary%20Lineup&proCode3=SGI031";
	}else{
		location.href="../hmProduct/giRead.php?proCode1=LGI001&proCode2=MGI001&category3=Ancillary%20Lineup&proCode3=SGI025";
	}
}