
//sitemap start
function menu(mm, num) {

	if(mm=='tm'){
		switch(num){
			case '1' : document.location.href="/"; break;			
			case '2' : document.location.href="/board/faq.html"; break;
			case '3' : document.location.href="/contact/reserve.html"; break;
		}				
	}
	
	if(mm=='mm1'){
		switch(num){
			case '1' : document.location.href="/lab/change.html"; break;
			case '2' : document.location.href="/lab/act.html"; break;
		}				
	}
	
	if(mm=='mm2'){
		switch(num){
			case '1' : document.location.href="/education/act.html"; break;
			case '2' : document.location.href="/education/psych.html"; break;
			case '3' : document.location.href="/education/mind.html"; break;
			case '4' : document.location.href="/education/change.html"; break;
		}				
	}
	
	if(mm=='mm3'){
		switch(num){
			case '1' : document.location.href="/contact/location.html"; break;
			case '2' : document.location.href="/contact/reserve.html"; break;
		}				
	}
	
	if(mm=='lm'){
		switch(num){
			case '1' : window.open("http://www.childmaumsarang.co.kr/"); break;
			case '2' : window.open("http://www.change.re.kr/"); break;
			case '3' : window.open("/sk/"); break;
		}				
	}
	
	if(mm=='m1'){
		switch(num){
			case '0' : document.location.href="/about/intro.html"; break;
			case '1' : document.location.href="/about/intro.html"; break;
			case '2' : document.location.href="/about/history.html"; break;
			case '3' : document.location.href="/about/staff.html"; break;
			case '4' : document.location.href="/about/cognitive.html"; break;
			case '5' : document.location.href="/about/location.html"; break;
			case '6' : document.location.href="/about/staff_act.html"; break;
		}				
	}
	
	if(mm=='m2'){
		switch(num){
			case '0' : document.location.href="/test/main.html"; break;
			case '1' : document.location.href="/test/main.html"; break;
			case '2' : document.location.href="/test/person.html"; break;
			case '3' : document.location.href="/test/family.html"; break;
			case '4' : document.location.href="/test/group.html"; break;
			case '5' : document.location.href="/test/company.html"; break;
			case '6' : document.location.href="/test/psych.html"; break;
    	}
	
	}
	if(mm=='m3'){
		switch(num){
			case '0' : document.location.href="/education/act.html"; break;
			case '1' : document.location.href="/education/act.html"; break;
			case '2' : document.location.href="/education/psych.html"; break;
			case '3' : document.location.href="/education/mind.html"; break;
			case '4' : document.location.href="/education/change.html"; break;
		}				
	}
	
	if(mm=='m4'){
		switch(num){
			case '0' : document.location.href="/lab/change.html"; break;
			case '1' : document.location.href="/lab/change.html"; break;
			case '2' : document.location.href="/lab/act.html"; break;
		}				
	}
	
	if(mm=='m5'){
		switch(num){
			case '0' : document.location.href="/contact/reserve.html"; break;
			case '1' : document.location.href="/contact/reserve.html"; break;
			case '2' : document.location.href="/contact/location.html"; break;
			case '3' : document.location.href="/contact/family.html"; break;
		}				
	}
	
	if(mm=='m6'){
		switch(num){
			case '0' : document.location.href="/board/notice.html"; break;
			case '1' : document.location.href="/board/notice.html"; break;
			case '2' : document.location.href="/board/psych.html"; break;
			case '3' : document.location.href="/board/faq.html"; break;
			case '4' : document.location.href="/board/pds.html"; break;
			case '5' : document.location.href="/board/staff_act.html"; break;
			case '6' : window.open("/sk/"); break;
		}				
	}
		
}


// sitemap end
