var menuArr01 = new Array(200);		// array

// array : 150

/*			about			*/
menuArr01[0] = new Array('1', 'Introduction', './index.php?zone=01&action=01','about');
menuArr01[1] = new Array('11', 'Invitation', './index.php?zone=01&action=01','about');
menuArr01[2] = new Array('12', 'Overview', './index.php?zone=01&action=02','about');
menuArr01[3] = new Array('13', 'Venue', './index.php?zone=01&action=03','about');

function dispMenu01(MenuCode) {
	
	var c_no = 0;

	for (i=0; i<MenuCode.length; i++) {

		SubCode = MenuCode.substring(0, i+1);
		for (j=0; j<menuArr01.length; j++) {
			if (menuArr01[j][0]==SubCode) {
				
				if (c_no == 0){
					document.write("<A HREF='./main.php3' target='_top'>Home</A>");
					c_no = c_no + 1;
				}
				
				if ((MenuCode!=SubCode) && (menuArr01[j][2].length > 0)) {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<a href='"+menuArr01[j][2]+"'>"+menuArr01[j][1]+"</a>");
				} else {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<b>"+menuArr01[j][1]+"</b>");
				}
				break;
			}
		}
	}
}

/*			conference			*/
var menuArr02 = new Array(200);		// array

menuArr02[0] = new Array('2', 'Conference Programmes', './index.php?zone=02&action=01','conf');

menuArr02[1] = new Array('21', 'Congress', './index.php?zone=02&action=01','conf');
menuArr02[2] = new Array('211', 'About the Congress', './index.php?zone=02&action=01','conf');
menuArr02[3] = new Array('212', 'The Congress Schedule', './index.php?zone=02&action=01','conf');
menuArr02[4] = new Array('213', 'Download Presentations', './index.php?zone=02&action=01','conf');

menuArr02[5] = new Array('22', 'Editors Forum', './index.php?zone=02&action=02','conf');
menuArr02[6] = new Array('221', 'About the Forum', './index.php?zone=02&action=02');
menuArr02[7] = new Array('222', 'The Forum Schedule', '../conf/conf2_02.php3','conf');
menuArr02[8] = new Array('223', 'Download Presentations', '../conf/conf2_03.php3','conf');

menuArr02[9] = new Array('23', 'Info Services Expo 2005', './index.php?zone=02&action=03','conf');
menuArr02[10] = new Array('231', 'About the Expo', './index.php?zone=02&action=03','conf');
menuArr02[11] = new Array('232', 'Exhibition Manual', './index.php?zone=02&action=03','conf');
menuArr02[12] = new Array('233', 'How to Apply', './index.php?zone=02&action=03','conf');

function dispMenu02(MenuCode) {
	
	var c_no = 0;

	for (i=0; i<MenuCode.length; i++) {

		SubCode = MenuCode.substring(0, i+1);
		for (j=0; j<menuArr02.length; j++) {
			if (menuArr02[j][0]==SubCode) {
				
				if (c_no == 0){
					document.write("<A HREF='./main.php3' target='_top'>Home</A>");
					c_no = c_no + 1;
				}
				
				if ((MenuCode!=SubCode) && (menuArr02[j][2].length > 0)) {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<a href='"+menuArr02[j][2]+"'>"+menuArr02[j][1]+"</a>");
				} else {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<b>"+menuArr02[j][1]+"</b>");
				}
				break;
			}
		}
	}
}

/*			Special Events				*/
var menuArr03 = new Array(200);		// array

menuArr03[0] = new Array('3', 'Social Events', './index.php?zone=03&action=01','spec');
menuArr03[1] = new Array('31', 'Welcome Reception', './index.php?zone=03&action=01','spec');
menuArr03[2] = new Array('32', 'Folk Village Party', './index.php?zone=03&action=02','spec');
menuArr03[3] = new Array('33', 'Gala Dinner', './index.php?zone=03&action=03','spec');
menuArr03[4] = new Array('34', 'Tours', './index.php?zone=03&action=04','spec');

function dispMenu03(MenuCode) {
	
	var c_no = 0;

	for (i=0; i<MenuCode.length; i++) {

		SubCode = MenuCode.substring(0, i+1);
		for (j=0; j<menuArr03.length; j++) {
			if (menuArr03[j][0]==SubCode) {
				
				if (c_no == 0){
					document.write("<A HREF='./main.php3' target='_top'>Home</A>");
					c_no = c_no + 1;
				}
				
				if ((MenuCode!=SubCode) && (menuArr03[j][2].length > 0)) {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<a href='"+menuArr03[j][2]+"'>"+menuArr03[j][1]+"</a>");
				} else {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<b>"+menuArr03[j][1]+"</b>");
				}
				break;
			}
		}
	}
}

/*			General Information				*/
var menuArr04 = new Array(200);		// array

menuArr04[0] = new Array('4', 'General Information', './index.php?zone=04&action=01','gene');
menuArr04[1] = new Array('41', 'About Korea', './index.php?zone=04&action=01','gene');
menuArr04[2] = new Array('42', 'About Seoul', './index.php?zone=04&action=02','gene');
menuArr04[3] = new Array('43', 'Press in Korea', './index.php?zone=04&action=03','gene');
menuArr04[4] = new Array('44', 'Useful Information', './index.php?zone=04&action=04','gene');

function dispMenu04(MenuCode) {
	
	var c_no = 0;

	for (i=0; i<MenuCode.length; i++) {

		SubCode = MenuCode.substring(0, i+1);
		for (j=0; j<menuArr04.length; j++) {
			if (menuArr04[j][0]==SubCode) {
				
				if (c_no == 0){
					document.write("<A HREF='./main.php3' target='_top'>Home</A>");
					c_no = c_no + 1;
				}
				
				if ((MenuCode!=SubCode) && (menuArr04[j][2].length > 0)) {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<a href='"+menuArr04[j][2]+"'>"+menuArr04[j][1]+"</a>");
				} else {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<b>"+menuArr04[j][1]+"</b>");
				}
				break;
			}
		}
	}
}

/*			etc...				*/
var menuArr05 = new Array(200);		// array

menuArr05[0] = new Array('5', 'Registration', './register.php','reg');
menuArr05[1] = new Array('51', 'Registration Policies', './register.php','reg');
menuArr05[2] = new Array('52', 'How to Register', '../reg/reg02.php3','reg');

menuArr05[3] = new Array('6', 'Hotels', './hotels.php','acc');
menuArr05[4] = new Array('61', 'Official Hotels', '../acc/acc01.php3','acc');
menuArr05[5] = new Array('62', 'Transportation', '../acc/reg02.php3','acc');

menuArr05[6] = new Array('7', 'Participants List', './participatans.php3','part');

function dispMenu05(MenuCode) {
	
	var c_no = 0;

	for (i=0; i<MenuCode.length; i++) {

		SubCode = MenuCode.substring(0, i+1);
		for (j=0; j<menuArr05.length; j++) {
			if (menuArr05[j][0]==SubCode) {
				
				if (c_no == 0){
					document.write("<A HREF='./main.php3' target='_top'>Home</A>");
					c_no = c_no + 1;
				}
				
				if ((MenuCode!=SubCode) && (menuArr05[j][2].length > 0)) {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<a href='"+menuArr05[j][2]+"'>"+menuArr05[j][1]+"</a>");
				} else {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<b>"+menuArr05[j][1]+"</b>");
				}
				break;
			}
		}
	}
}


/*			etc...				*/
var menuArr06 = new Array(200);		// array

menuArr06[0] = new Array('1', 'Contact Us', './contactus.php','etc');
menuArr06[1] = new Array('2', 'Conference Weblog', './index.php?zone=05&action=02','etc');
menuArr06[2] = new Array('3', 'Photo Gallery', './index.php?zone=05&action=03','etc');
menuArr06[3] = new Array('4', 'Guide to Website', './index.php?zone=05&action=04','acc');

function dispMenu06(MenuCode) {
	
	var c_no = 0;

	for (i=0; i<MenuCode.length; i++) {

		SubCode = MenuCode.substring(0, i+1);
		for (j=0; j<menuArr06.length; j++) {
			if (menuArr06[j][0]==SubCode) {
				
				if (c_no == 0){
					document.write("<A HREF='./main.php3' target='_top'>Home</A>");
					c_no = c_no + 1;
				}
				
				if ((MenuCode!=SubCode) && (menuArr06[j][2].length > 0)) {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<a href='"+menuArr06[j][2]+"'>"+menuArr06[j][1]+"</a>");
				} else {				
					document.write("<img src='./images/common/icon01.gif' border='0' align='absmiddle'>");
					document.write("<b>"+menuArr06[j][1]+"</b>");
				}
				break;
			}
		}
	}
}
