
	
	// ÇÑÁÙ¾²±â Åä±Û ÇÔ¼ö
	function ShowHideMenu(MenuName, ShowMenuID) {

		for( i = 0; i < '1';  i++ ) {
		
			menu=eval("document.all.itemvalbbs_block"+i+".style");
			
			if ( i == ShowMenuID ) {
				if (menu.display=="block")
				{
					menu.display="none";
				} else {
					menu.display="block";
				}
			} else {
				menu.display="none";
			}
		}
	}  
	function sms_proc() {
	
		hiddenFrm2.location.href = "/center/smsProc.jsp?xStr9992=/center/faq_list.jsp";
		
	}

function MainMenu(code) {
	var moveUrl;
	switch (code) {
		//¸ÞÀÎ
		case "0000" : 
			moveUrl = "/"; 
			break;
		//·Î±×ÀÎ
		case "0001" : 
			moveUrl = "/member/signin.html"; 
			break;
		//È¸¿ø°¡ÀÔ
		case "0002" : 
			moveUrl = "/member/registernewuser.html"; 
			break;
		//·Î±×¾Æ¿ô
		case "0011" : 
			moveUrl = "/admin/member/logout.php"; 
			break;
		//¸¶ÀÌÆäÀÌÁö
		case "0022" : 
			moveUrl = "/member/myprofile.html"; 
			break;
		
		//product
		case "0101" : 
			moveUrl = "/product/productoverview/overview.html"; 
			break;
		
		//demo
		case "0201" : 
			moveUrl = "/demo/movie/movie.html"; 
			break;
			
		//application
		case "0301" : 
			moveUrl = "/applications/applicationsoverview/overview.html"; 
			break;
			
		//what's news
		case "0401" : 
			moveUrl = "/whatsnew/latestdevelopment/latestdevelopment.html"; 
			break;
			
		//forum
		case "0501" : 
			moveUrl = "/forum/forumoverview/overview.html"; 
			break;
			
		//about us
		case "0601" : 
			moveUrl = "/aboutus/companyoverview/companyoverview.html"; 
			break;
			
		//academic
		case "0701" : 
			moveUrl = "/academic/academicprogramoverview/overview.html"; 
			break;
		case "0702" : 
			moveUrl = "/aboutus/contactus/contactus.html"; 
			break;
			
		//privacy
		case "0801" : 
			moveUrl = "/utility/privacy/privacy.html"; 
			break;
		//Site Terms
		case "0802" : 
			moveUrl = "/utility/siteterms/siteterms.html"; 
			break;
		//qna
		case "0803" : 
			moveUrl = "/utility/qna/qna_list.html"; 
			break;
		//faq
		case "0804" : 
			moveUrl = "/utility/faq/faq.html"; 
			break;
		//Feedback 
		case "0805" : 
			moveUrl = "/utility/feedback/feedback.html"; 
			break;
		//order form 
		case "0806" : 
			moveUrl = "/utility/orderform/orderform.html"; 
			break;
		//sitemap
		case "0807" : 
			moveUrl = "/utility/sitemap/sitemap.html"; 
			break;
		
		

/*			
		case "0101":
			moveUrl = "../service/service_info.php?v_menu_loc=1"; 
			break;
		case "0102":
			moveUrl = "#v_menu_loc=1"; 
			break;
		case "0103":
			moveUrl = "#v_menu_loc=1"; 
			break;
		case "0104":
			moveUrl = "../service/seller.php?v_menu_loc=1"; 
			break;
		case "0105":
			moveUrl = "../service/notice.php?v_menu_loc=1"; 
			break;

		case "0201":
			moveUrl = "../mall/index.php?v_menu_loc=2"; 
			break;

		case "0301":
			moveUrl = "../guide/guide_openvsmall.php?v_menu_loc=3"; 
			break;
		case "0302":
			moveUrl = "../guide/guide_openchoice.php?v_menu_loc=3"; 
			break;
		case "0303":
			moveUrl = "../guide/guide_powerseller.php?v_menu_loc=3"; 
			break;
		case "0304":
			moveUrl = "../guide/guide_openmarket.php?v_menu_loc=3"; 
			break;
*/		

		default:
			moveUrl = "#";
	}
    //if (code=="0102") {
    if (code=="9999") {
        noteWindow('../service/service_tour.html','1000','635','0','T');
    } else {
    	location.href=moveUrl;
    }
}

function MainEvent() {
	location.href="../event/request.php";
}

function MainDSS(code) {
	var moveUrl;
	switch (code) {
		case "001":
			moveUrl = "../service/service_info.php?v_menu_loc=1"; 
			break;
		case "002":
			moveUrl = "#v_menu_loc=1"; 
		default:
			moveUrl = "#";
	}
    if (code=="002") {
        noteWindow('../service/service_tour.html','1000','635','0','T');
    } else {
    	location.href=moveUrl;
    }
}

var newWin; 
function noteWindow(locationStr, winWidth, winHeight, scrollMode, positionMode) {
	var winTop  = 0;
	var winLeft = 0;
    if (positionMode=="C") {
	    winTop  = (parseInt(window.screen.height) - parseInt(winHeight)) / 2;
	    winLeft = (parseInt(window.screen.width)  - parseInt(winWidth))  / 2;
    }

	optionStr = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars="+scrollMode+",resizable=0,copyhistory=0,top="+winTop+",left="+winLeft+",width="+winWidth+",height="+winHeight;
    if (newWin) {
        newWin.close();
    }
	newWin = window.open(locationStr,'',optionStr);
	newWin.opener.name = this.name;
}

//Product - Product Overview
function t0111() {
	var moveUrl = "/product/productoverview/overview.html"; 
	location.href=moveUrl;
}
//Product - EV Map Builder Edition - Overview
function t0121() {
	var moveUrl = "/product/mapbuilder/mapbuilder_overview.html"; 
	location.href=moveUrl;
}
//Product - EV Editor Edition - Overview
function t0121() {
	var moveUrl = "/product/editor/editor_overview.html"; 
	location.href=moveUrl;
}
//Product - EV Editor Edition - Overview
function t0131() {
	var moveUrl = "/product/editor/editor_overview.html"; 
	location.href=moveUrl;
}
//Product - EV Server Edition - Overview
function t0141() {
	var moveUrl = "/product/server/server_overview.html"; 
	location.href=moveUrl;
}
//Product - EV Viewer Edition - Overview
function t0151() {
	var moveUrl = "/product/viewer/viewer_overview.html"; 
	location.href=moveUrl;
}

//Demo - Movie
function t0211() {
	var moveUrl = "/demo/movie/movie.html"; 
	location.href=moveUrl;
}
//Demo - Request Page
function t0221() {
	var moveUrl = "/demo/requestpage/requestpage.html"; 
	location.href=moveUrl;
}

//Applications - Applications Overview
function t0311() {
	var moveUrl = "/applications/applicationsoverview/overview.html"; 
	location.href=moveUrl;
}
//Applications - Entertainment
function t0321() {
	var moveUrl = "/applications/entertainment/entertainment.html"; 
	location.href=moveUrl;
}
//Applications - Military & Defense
function t0331() {
	var moveUrl = "/applications/militarydefense/militarydefense.html"; 
	location.href=moveUrl;
}
//Applications - Civil Planning
function t0341() {
	var moveUrl = "/applications/civilplanning/civilplanning.html"; 
	location.href=moveUrl;
}
//Applications - Telecom & Mobile
function t0351() {
	var moveUrl = "/applications/telecommobile/telecommobile.html"; 
	location.href=moveUrl;
}


