function topMenu(title,link){
	this.title = title;
	this.link = link;
}

var arryTopMenu = new Array(
	new Array(
		new topMenu("Home","/index.asp")
	)

	,new Array(
		new topMenu("About Sejong","../about/about01.html")
		,new topMenu("Message from the Deans","../about/about01.html")
		,new topMenu("Facts and Figures","../about/about02.html")
		,new topMenu("Sejong Beginnings","../about/about03.html")
		,new topMenu("Mission","../about/about04.html")
		,new topMenu("Educational Goals","../about/about05.html")
	)


	,new Array(
		new topMenu("Academic programs","../academic/academic02_05.html")
	    ,new topMenu("Undergraduate","../academic/academic02_05.html")
		,new topMenu("MBA ","../academic/academic01.html")
		,new topMenu("MAB","../academic/academic04.html")
		,new topMenu("MAF","../academic/academic03.html")
		,new topMenu("Ph.D.","../academic/academic05.html")
		,new topMenu("MS","../academic/academic06.html")	



	)

	,new Array(
		new topMenu("Admissions","../admissions/admissions01.html")
        ,new topMenu("Graduate","../admissions/admissions01.html")
		,new topMenu("Undergraduate ","../admissions/admissions02.html")
		,new topMenu("Ph.D.","../admissions/admissions03.html")


	)

	,new Array(
		new topMenu("Faculty","../faculty/faculty01.html")
		,new topMenu("Faculty Profile","../faculty/faculty01.html")
		,new topMenu("Syracuse Faculty","../faculty/faculty03.html")
		,new topMenu("Research Centers","../faculty/faculty02.html")
		,new topMenu("Research","../faculty/faculty04.html")
	)

	,new Array(
		new topMenu("Sejong Community","../community/community01.html")
		,new topMenu("Student","../community/community01.html")
		,new topMenu("Alumni","../community/community02.html")
		,new topMenu("Partners","../community/community03.html")
		,new topMenu("Bulletin board","../board/board_list.asp")
	)


	,new Array(
		new topMenu("Resource & Service","../resource/resource01.html")
		,new topMenu("Library","../resource/resource01.html")
		,new topMenu("Career Placement Center","../resource/resource02.html")
		,new topMenu("Housing","../resource/resource03.html")
	)

	,new Array(
		new topMenu("Bulletin Board","../board/board_list.asp")
	)


	,new Array(
		new topMenu("contact us","mailto:ssmba@sejong.ac.kr")
	)

	,new Array(
		new topMenu("sejong university","http://www.sejong.ac.kr/")
	)


);

function goSubURL(idx,sidx){
//	alert(arryTopMenu[idx][sidx].link);
	if (arryTopMenu[idx][sidx].title == "ETP" ){
  	window.open(arryTopMenu[idx][sidx].link,'_blank');
	} else {
		document.location.href = arryTopMenu[idx][sidx].link;
	}

}

function drawMenu(idx,idy){
// idx ¹øÈ£¿¡ µû¸¥ ¸Þ´º
// 0:Hme/Common, 1:About Sejong, 2:Academic programs, 3:Admissions, 4:Faculty/Research, 5:Sejong Community, 6:Resource & Service

document.write("<table border=0 cellpadding=0 cellspacing=0 width=830>");
document.write("	<tr><td height=10></td></tr>");

/*
	document.write("	<tr>");
	document.write("		<td align=right>");
	document.write("			<a href=/sitemap/index.html><img src=/img/common/btn_sitemap02.gif border=0></a><a href=mailto:ssmba@sejong.ac.kr><img src=/img/common/btn_contactus02.gif border=0></a><a href=http://www.sejong.ac.kr target=_blank><img src=/img/common/btn_sejong02.gif border=0></a>");
	document.write("		</td>");
	document.write("	</tr>");
*/

document.write("	<tr>");
document.write("		<td>");

/*
document.write("			<img src=/img/common/menu.gif border=0 usemap=#menu><br>");
document.write("			<map name=menu>");
document.write("			<area shape=rect coords='0,6,180,53' href=/index.html>");
document.write("			<area shape=rect coords='193,8,290,53' href=/about/index.html>");
document.write("			<area shape=rect coords='292,8,408,53' href=/academic/index.html>");
document.write("			<area shape=rect coords='410,8,488,53' href=/admissions/index.html>");
document.write("			<area shape=rect coords='490,8,598,53' href=/faculty/index.html>");
document.write("			<area shape=rect coords='600,8,713,53' href=/community/index.html>");
document.write("			<area shape=rect coords='715,8,830,53' href=/resource/index.html>");
document.write("			</map>");
*/


document.write("			<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='830' height='100' id='main_menu'>");
document.write("			<param name=movie value='../flash/navigation.swf?idx=" + idx + "&idy=" + idy +"'>");
document.write("			<param name=quality value=high>");
document.write("			<param name=bgcolor value=#ffffff>");
//document.write("			<param name=wmode value=transparent>");
document.write("			<EMBED src='../flash/navigation.swf?idx=" + idx + "&idy=" + idy +"' quality=high bgcolor=#ffffff  width='830' height='100' name='main_menu' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></EMBED>");
document.write("			</OBJECT>");


document.write("		</td>");
document.write("	</tr>");
document.write("	<tr><td height=20></td></tr>");
document.write("</table>");
}
