var URL="http://www.imagetree.co.kr";
function topMenu(num){
	if(num==1){
		location.href=URL+"/member/member_login.htm";
	}else if(num==2){
		location.href=URL+"/member/member_info_edit.htm";
	}else if(num==3){
		location.href=URL+"/member/member_join.htm";
	}else if(num==4){
		location.href=URL+"/sitemap.htm";
	}else if(num=5){
		location.href="mailto:webmaster@imagetree.co.kr";
	}
}
function home(){
	location.href=URL+"/index.htm";
}

function logout(){
  location.href=URL+"/log_out.php";
}

function mainMenu(num){
	if(num==1){
		location.href=URL+"/company/introduction.htm";
	}else if(num==2){
		location.href=URL+"/service/image_research.htm";
	}else if(num==3){
		location.href=URL+"/portfolio/portfolio_list.htm";
	}else if(num==4){
		location.href=URL+"/expert_academy/planning_expert.htm";
	}else if(num==5){
		location.href=URL+"/communication/faq.htm";
	}
}
function viewNotice(){
	notice.style.visibility="visible";
	academy.style.visibility="visible";
}
function viewAD(){
	adv.style.visibility="visible";
}

function moreNotice(){
	location.href="company/notice.htm"
}
function moreAcademy(){
	location.href="company/column.htm"
}

function sub01(num){
	if(num==1){
		location.href=URL+"/company/introduction.htm";
	}else if(num==2){
		location.href=URL+"/company/business_field.htm";
	}else if(num==3){
		location.href=URL+"/company/imagetree_inside.htm";
	}else if(num==4){
		location.href=URL+"/company/president_profile.htm";
	}else if(num==5){
		location.href=URL+"/company/notice.htm";
	}else if(num==6){
		location.href=URL+"/company/company_location.htm";
	}else if(num==7){
	    location.href=URL+"/company/column.htm";
	}
}
function sub02(num){
	if(num==1){
		location.href=URL+"/service/image_research.htm";
	}else if(num==2){
		location.href=URL+"/service/design_research.htm";
	}else if(num==3){
		location.href=URL+"/service/image_consulting.htm";
	}else if(num==4){
		location.href=URL+"/service/imagetree_consulting.htm";
	}else if(num==5){
		location.href=URL+"/service/image_marketing.htm";
	}else if(num==6){
		location.href=URL+"/service/imagetree_m_edu.htm";
	}else if(num==7){
		location.href=URL+"/service/education_coaching.htm";
    }else if(num==8){
		location.href=URL+"/service/education_coaching2.htm";
	}else if(num==9){
		location.href=URL+"/service/education_coaching3.htm";
	}else if(num==10){
		location.href=URL+"/service/education_coaching4.htm";
	}
}
function sub03(num){
	if(num==1){
		location.href=URL+"/portfolio/portfolio_list.htm";
	}else if(num==2){
		location.href=URL+"/portfolio/portfolio_story.htm";
	}
}
function sub04(num){
	if(num==1){
		location.href=URL+"/expert_academy/planning_expert.htm";
	}else if(num==2){
		location.href=URL+"/expert_academy/expert_loadmap.htm";
	}else if(num==3){
		location.href=URL+"/expert_academy/expert_academy.htm";
	}else if(num==4){
		location.href=URL+"/expert_academy/dsp_vod.htm";
	}
}
function sub05(num){
	if(num==1){
		location.href=URL+"/communication/faq.htm";
	}else if(num==2){
		location.href=URL+"/communication/service_inquiry_pre.htm";
	}else if(num==3){
		location.href=URL+"/communication/estimate_inquiry_pre.htm";
	}else if(num==4){
		location.href=URL+"/communication/dsp_academy_inquiry_pre.htm";
	}
}

function familySite(num){
	if(num=="01"){
		window.open("http://planup.co.kr","familySite");
	}else if(num=="02"){
		window.open("http://www.bizcreative.co.kr","familySite");
	}else if(num=="03"){
		window.open("http://www.plantank.co.kr","familySite");
	}else if(num=="04"){
		window.open("http://www.imagetree.co.kr","familySite");
	}else if(num=="05"){
		window.open("http://www.planfactory.co.kr","familySite");
	}
}

function sMenu(num){
	if(num=="01"){
		location.href=URL+"/expert_academy/lecture_form.htm";
	}else if(num=="02"){
		location.href=URL+"/expert_academy/curriculum.htm";
	}else if(num=="03"){
		location.href=URL+"/expert_academy/instructor_introduction.htm";
	}else if(num=="04"){
		location.href=URL+"/expert_academy/calendar.htm";
	}else if(num=="05"){
		location.href=URL+"/expert_academy/lecture_request_pre.htm";
	}else if(num=="06"){
		location.href=URL+"/expert_academy/study_room.htm";
	}else if(num=="07"){
		location.href=URL+"/expert_academy/study_community.htm";
	}else if(num=="08"){
		location.href=URL+"/expert_academy/student_galley.htm";
	}else if(num=="09"){
		location.href=URL+"/expert_academy/student_career.htm";
	}else if(num=="10"){
		location.href=URL+"/expert_academy/calendar_1.htm";
	}else if(num=="11"){
		location.href=URL+"/expert_academy/dsp_vod.htm";
	}else if(num=="12"){
		location.href=URL+"/expert_academy/student_career.htm";
	}else if(num=="13"){
		location.href=URL+"/expert_academy/dsp_vod_mylecture2.htm";
	}else if(num=="14"){
		location.href=URL+"/expert_academy/dsp_vod_mylecture5.htm";
	}else if(num=="15"){
		location.href=URL+"/expert_academy/expert_academy_a.htm";
	}
}

function mem01(num){
	if(num=="01"){
		location.href=URL+"/member/member_join.htm";
	}else if(num=="02"){
		location.href=URL+"/member/id_pw_search.htm";
    }else if(num=="03"){
		location.href=URL+"/member/member_section.htm";
	}
}

function mmem01(num){
	if(num=="01"){
		location.href=URL+"/member/member_info_edit.htm";
	}else if(num=="02"){
		location.href=URL+"/member/member_withdrawal.htm";
	}else if(num=="03"){
		location.href=URL+"/member/tex_account.htm";
	}
}