function menu(mnum) {
    switch (mnum) {
	    case 0:
		    location.href="index.php";
			break;
		
		case 11:
		    location.href="01.php?sub=1";
			break;
		case 12:
		    location.href="01.php?sub=2";
			break;
		case 13:
		    location.href="01.php?sub=3";
			break;
		case 14:
		    location.href="01.php?sub=4";
			break;
		case 15:
		    location.href="01.php?sub=5";
			break;	
		case 16:
		    location.href="01.php?sub=6";
			break;	


	    case 21:
		    location.href="02.php?sub=1";
			break;
		case 22:
		    location.href="02.php?sub=2";
			break;
		case 23:
		    location.href="02.php?sub=3";
			break;	
		case 24:
		    location.href="02.php?sub=4";
			break;
		case 25:
		    location.href="02.php?sub=5";
			break;	
		case 26:
		    location.href="02.php?sub=6";
			break;	


	    case 31:
		    location.href="03.php?sub=1";
			break;
		case 32:
		    location.href="03.php?sub=2";
			break;
		case 33:
		    location.href="03.php?sub=3";
			break;	
		case 34:
		    location.href="03.php?sub=4";
			break;
		case 35:
		    location.href="03.php?sub=5";
			break;	
		case 36:
		    location.href="03.php?sub=6";
			break;	


	    case 41:
		    location.href="04.php?sub=1";
			break;
		case 42:
		    location.href="04.php?sub=2";
			break;
		case 43:
		    location.href="04.php?sub=3";
			break;	
		case 44:
		    location.href="04.php?sub=4";
			break;
		case 45:
		    location.href="04.php?sub=5";
			break;	
		case 46:
		    location.href="04.php?sub=6";
			break;	


		case 51:
		    location.href="05.php?sub=1";
			break;
		case 52:
		    location.href="05.php?sub=2";
			break;
		case 53:
		    location.href="05.php?sub=3";
			break;
		case 54:
		    location.href="05.php?sub=4";
			break;


		// imsi
		case 61:
		    location.href="#";
			break;	
		case 62:
		    location.href="#";
			break;


		// member zone
	    case 81:
		    location.href="login.php";
			break;
		case 82:
		    location.href="member_article.php";
			break;	
		case 83:
		    location.href="mypage_member.php";
			break;		
		case 84:
		    location.href="08.php?sub=4";
			break;		
		case 85:
		    location.href="08.php?sub=5";
			break;		


	    case 91:
		    location.href="09.php?sub=1";
			break;
		case 92:
		    location.href="09.php?sub=2";
			break;	
		case 93:
		    location.href="09.php?sub=3";
			break;		
		case 94:
		    location.href="09.php?sub=4";
			break;		
	
								


	    case 101:
		    window.open('admin','_blank');
			break;
	
								
	}
}


