// ----------------------------------------------------
// ���α׷��� : Ȩ������ Top, Left, Footer ��Ŭ��� Js
// �Ҽ� : �м��������
// ����� : 
//      - Top �κ� ȣ�� : topInclude(��ġ��ȣ, �޴���ȣ);
//      - Left �κ� ȣ�� : leftInclude(��ġ��ȣ, �޴���ȣ, ����޴���ȣ);
//      - Footer �κ� ȣ�� : footerInclude(0);
// ----------------------------------------------------

// ----------------------------------------------------
// Acube Object Str
// ----------------------------------------------------
//var acubeCheckUrl = "devep.knou.ac.kr"; // ������� ������ �� �����ؾ��� URL(ep.knou.ac.kr)
//var acubeObjStr ="";
//acubeObjStr += '<object id="SSOCheck" width="0" height="0" classid="CLSID:9D67EBF0-AF1A-4BCE-BAC9-C84A9383E0B3"></object>';
//acubeObjStr += '<object id="objEnc" width="0" height="0" style="display:none;" classid="CLSID:03F49E0E-C43A-4037-BBD6-D681E998A08E" codeBase="http://'+acubeCheckUrl+'/EP/web/common/cabfiles/CM_CodeAx.cab#version=3,0,0,3"></object>';



// ----------------------------------------------------
// �� ����
// ----------------------------------------------------
var arrLeft = new Array(); 

// ----------------------------------------------------
// Top Html
// ----------------------------------------------------

// ----------------------------------------------------
// Left Html
// ----------------------------------------------------

			

// ----------------------------------------------------
// �α��� üũ
// ----------------------------------------------------
function homepageLoginCheck() {

    var result = false;
	var name = getCookie("knoucommon1");

	if(name != null) {
        result = true;
	}
	
	return result;
}

function getCookie(name)
{
	var blank='';
	var cname = name + '=';
	var dc = (document.cookie+';');
	if(dc.length > 0) {
		begin = dc.lastIndexOf(cname);
		if(begin==-1)
			begin=dc.lastIndexOf(name);
		if(dc.charAt(begin+name.length)==';')
			return '';
	
		if(begin != -1) {
			begin += cname.length;
			end = dc.indexOf(';', begin);
			if(end == -1) 
				end = dc.length;
			if(begin==end)
				return blank;
			return unescape(dc.substring(begin, end));
		}
	}
	return null;
}

function ClearCookie(){
	//window.open('http://ep.knou.ac.kr/EP/web/login/login_chk.jsp?logout=Y&unload=Y','','left=3000,top=3000');
	var now = new Date();
	now.setDate(now.getDate() - 1);
	document.cookie = "knouCookie=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();
	document.cookie = "knouName=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();
	document.cookie = "knouMail=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();

	document.cookie = "knoucommon1=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();
	document.cookie = "knoucommon2=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();
	document.cookie = "knoustudent=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();
	document.cookie = "knouemployee=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();
	document.cookie = "knouemployeedn=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();

	document.cookie = "knouIDGB=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();
	document.cookie = "knouIDDGB=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();
	document.cookie = "knouUid=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();
	document.cookie = "Knou_NewWorld_Info=; path=/; domain=knou.ac.kr; expires=" + now.toGMTString();

	location.reload();
	return;
}

//function homepageLoginCheck() {
//    var result = false;
//    if(SSOCheck.IsExist("knou.ac.kr")==1) {
//        result = true;
//    }
//    return result;
//}

function fnOpenLogin() {
	window.open('http://ep.knou.ac.kr/EP/web/login/acube_login_int_iner.jsp?strReturnUrl=' + location.href + '&strRtnFrame=Y','','width=500,height=380');
}

// ----------------------------------------------------
// Top ��Ŭ���
// ----------------------------------------------------
function topInclude(idx, sel) {
    //document.write(window.location);
    // ó���� Acube Object �� �����Ѵ�.
    //document.write(acubeObjStr);

	var flash_pos = '';
	
	if (idx == 0 || idx == 2 || idx == 3 || idx == 8)	// admin || pr || sitemap || usage
	{
		flash_pos = '0600';
	}
	else if (idx == 1) // intro
	{
		flash_pos = '0500';
	}
	else if (idx == 4)	// step01
	{
		flash_pos = '0100';
	}
	else if (idx == 5)	// step02
	{
		flash_pos = '0200';
	}
	else if (idx == 6)	// step03
	{
		flash_pos = '0300';
	}
	else if (idx == 7)	// step04
	{
		flash_pos = '0400';
	}


	document.write('<table width="875" border="0" cellspacing="0" cellpadding="0">');
	document.write('	<tr>');
	document.write('		<td>');
	document.write('			<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="875" height="240" id="navi">');
	document.write('				<param name="movie" value="../images/sub.swf?nPos=' + flash_pos + '" />');
	document.write('				<param name="quality" value="high" />');
	document.write('				<param name="menu" value="false">');
	document.write('				<embed src="../images/sub.swf?nPos=' + flash_pos + '" quality="high" width="866" height="241" name="navi" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('				<param name="wmode" value="transparent">');
	document.write('			</object>');
	document.write('		</td>');
	document.write('	</tr>');
	document.write('</table>');
	//document.write('	<div id="Layer2" style="position:absolute; width:0px; height0px; z-index:-1; left: 0px; top: 0px;visibility:hidden">');
	//document.write('	<table border="0" ellpading="0" cellspacing="0">');
	//document.write('	<tr>');
	//document.write('	<td>'+acubeObjStr+'</td>');
	//document.write('	</tr>');
	//document.write('	</table>');
	//document.write('	</div>');

	var login = false;
	if (homepageLoginCheck()) login = true;

	var aTOP_LINK_HREF  = new Array();
	var aTOP_LINK_OUT   = new Array();
	var aTOP_LINK_OVER = new Array();
	var aTOP_LINK_IMG   = new Array();
		
	//var flash_pos = '';
	
	if (idx == 0 || idx == 2 || idx == 3 || idx == 8)	// admin || pr || sitemap || usage
	{
		//flash_pos = '0600';
				
		aTOP_LINK_HREF[0] = '../main/HKhome.html';
		aTOP_LINK_HREF[1] = 'JavaScript:fnOpenLogin();';
		aTOP_LINK_HREF[2] = 'http://ep.knou.ac.kr';
		aTOP_LINK_HREF[3] = '../intro/HKIntro.html';
		aTOP_LINK_HREF[4] = '../pr/HKNoticeList.html';
		aTOP_LINK_HREF[5] = 'http://portal.knou.ac.kr/cybersd/sangdam/ep/index.jsp';
		aTOP_LINK_HREF[6] = '../usage/HKGmemberinfor.html';
		aTOP_LINK_HREF[7] = '../sitemap/HKGSitemap.html';
		
		aTOP_LINK_OUT[0] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[2] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[3] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[4] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[5] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[6] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[7] = 'MM_swapImgRestore()';
		
		aTOP_LINK_OVER[0] = 'MM_swapImage(\'Image1\',\'\',\'images/global_step06_01r.gif\',1)';
		aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step06_02r.gif\',1)';
		aTOP_LINK_OVER[2] = 'MM_swapImage(\'Image9\',\'\',\'images/global_step06_09r.gif\',1)';
		aTOP_LINK_OVER[3] = 'MM_swapImage(\'Image3\',\'\',\'images/global_step06_03r.gif\',1)';
		aTOP_LINK_OVER[4] = 'MM_swapImage(\'Image4\',\'\',\'images/global_step06_04r.gif\',1)';
		aTOP_LINK_OVER[5] = 'MM_swapImage(\'Image5\',\'\',\'images/global_step06_05r.gif\',1)';
		aTOP_LINK_OVER[6] = 'MM_swapImage(\'Image6\',\'\',\'images/global_step06_06r.gif\',1)';
		aTOP_LINK_OVER[7] = 'MM_swapImage(\'Image7\',\'\',\'images/global_step06_07r.gif\',1)';
		
		aTOP_LINK_IMG[0] = '<img src="images/global_step06_01.gif" name="Image1" width="20" height="25" border="0">';
		aTOP_LINK_IMG[1] = '<img src="images/global_step06_02.gif" name="Image2" width="39" height="25" border="0">';
		aTOP_LINK_IMG[2] = '<img src="images/global_step06_09.gif" name="Image9" border="0">';
		aTOP_LINK_IMG[3] = '<img src="images/global_step06_03.gif" name="Image3" border="0">';
		aTOP_LINK_IMG[4] = '<img src="images/global_step06_04.gif" name="Image4" width="70" height="25" border="0">';
		aTOP_LINK_IMG[5] = '<img src="images/global_step06_05.gif" name="Image5" width="58" height="25" border="0">';
		aTOP_LINK_IMG[6] = '<img src="images/global_step06_06.gif" name="Image6" border="0">';
		aTOP_LINK_IMG[7] = '<img src="images/global_step06_07.gif" name="Image7" width="48" height="25" border="0">';
		
		if (login) // �α��� �� ó��
		{
			aTOP_LINK_HREF[1] = 'JavaScript:ClearCookie();';
			aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';	
			aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step06_02r_out.gif\',1)	';
			aTOP_LINK_IMG[1] = '<img src="images/global_step06_02_out.gif" name="Image2" width="48" height="25" border="0">';			
		}
	}
	else if (idx == 1) // intro
	{
		//flash_pos = '0500';
		
		aTOP_LINK_HREF[0] = '../main/HKhome.html';
		aTOP_LINK_HREF[1] = 'JavaScript:fnOpenLogin();';
		aTOP_LINK_HREF[2] = 'http://ep.knou.ac.kr';
		aTOP_LINK_HREF[3] = '../intro/HKIntro.html';
		aTOP_LINK_HREF[4] = '../pr/HKNoticeList.html';
		aTOP_LINK_HREF[5] = 'http://portal.knou.ac.kr/cybersd/sangdam/ep/index.jsp';
		aTOP_LINK_HREF[6] = '../usage/HKGmemberinfor.html';
		aTOP_LINK_HREF[7] = '../sitemap/HKGSitemap.html';
		
		aTOP_LINK_OUT[0] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[2] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[3] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[4] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[5] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[6] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[7] = 'MM_swapImgRestore()';
		
		aTOP_LINK_OVER[0] = 'MM_swapImage(\'Image1\',\'\',\'images/global_step05_01r.gif\',1)';
		aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step05_02r.gif\',1)';
		aTOP_LINK_OVER[2] = 'MM_swapImage(\'Image9\',\'\',\'images/global_step05_09r.gif\',1)';
		aTOP_LINK_OVER[3] = 'MM_swapImage(\'Image3\',\'\',\'images/global_step05_03r.gif\',1)';
		aTOP_LINK_OVER[4] = 'MM_swapImage(\'Image4\',\'\',\'images/global_step05_04r.gif\',1)';
		aTOP_LINK_OVER[5] = 'MM_swapImage(\'Image5\',\'\',\'images/global_step05_05r.gif\',1)';
		aTOP_LINK_OVER[6] = 'MM_swapImage(\'Image6\',\'\',\'images/global_step05_06r.gif\',1)';
		aTOP_LINK_OVER[7] = 'MM_swapImage(\'Image7\',\'\',\'images/global_step05_07r.gif\',1)';
				
		aTOP_LINK_IMG[0] = '<img src="images/global_step05_01.gif" name="Image1" width="20" height="25" border="0">';
		aTOP_LINK_IMG[1] = '<img src="images/global_step05_02.gif" name="Image2" width="39" height="25" border="0">';
		aTOP_LINK_IMG[2] = '<img src="images/global_step05_09.gif" name="Image9" border="0">';
		aTOP_LINK_IMG[3] = '<img src="images/global_step05_03.gif" name="Image3" border="0">';
		aTOP_LINK_IMG[4] = '<img src="images/global_step05_04.gif" name="Image4" width="70" height="25" border="0">';
		aTOP_LINK_IMG[5] = '<img src="images/global_step05_05.gif" name="Image5" width="58" height="25" border="0">';
		aTOP_LINK_IMG[6] = '<img src="images/global_step05_06.gif" name="Image6" border="0">';
		aTOP_LINK_IMG[7] = '<img src="images/global_step05_07.gif" name="Image7" width="48" height="25" border="0">';
		
		if (login) // �α��� �� ó��
		{
			aTOP_LINK_HREF[1] = 'JavaScript:ClearCookie();';
			aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';	
			aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step05_02r_out.gif\',1)';
			aTOP_LINK_IMG[1] = '<img src="images/global_step05_02_out.gif" name="Image2" width="48" height="25" border="0">';			
		}		
	}
	else if (idx == 4)	// step01
	{
		//flash_pos = '0100';
		
		if (sel == 0) flash_pos = '0101';
		else if (sel == 1) flash_pos = '0102';
		else if (sel == 2) flash_pos = '0103';
		else if (sel == 3) flash_pos = '0104';		
		else if (sel == 4) flash_pos = '0105';		
		else if (sel == 5) flash_pos = '0106';				
				
		aTOP_LINK_HREF[0] = '../main/HKhome.html';
		aTOP_LINK_HREF[1] = 'JavaScript:fnOpenLogin();';
		aTOP_LINK_HREF[2] = 'http://ep.knou.ac.kr';
		aTOP_LINK_HREF[3] = '../intro/HKIntro.html';
		aTOP_LINK_HREF[4] = '../pr/HKNoticeList.html';
		aTOP_LINK_HREF[5] = 'http://portal.knou.ac.kr/cybersd/sangdam/ep/index.jsp';
		aTOP_LINK_HREF[6] = '../usage/HKGmemberinfor.html';
		aTOP_LINK_HREF[7] = '../sitemap/HKGSitemap.html';
		
		aTOP_LINK_OUT[0] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[2] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[3] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[4] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[5] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[6] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[7] = 'MM_swapImgRestore()';
		
		aTOP_LINK_OVER[0] = 'MM_swapImage(\'Image1\',\'\',\'images/global_step01_01r.gif\',1)';
		aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step01_02r.gif\',1)';
		aTOP_LINK_OVER[2] = 'MM_swapImage(\'Image9\',\'\',\'images/global_step01_09r.gif\',1)';
		aTOP_LINK_OVER[3] = 'MM_swapImage(\'Image3\',\'\',\'images/global_step01_03r.gif\',1)';
		aTOP_LINK_OVER[4] = 'MM_swapImage(\'Image4\',\'\',\'images/global_step01_04r.gif\',1)';
		aTOP_LINK_OVER[5] = 'MM_swapImage(\'Image5\',\'\',\'images/global_step01_05r.gif\',1)';
		aTOP_LINK_OVER[6] = 'MM_swapImage(\'Image6\',\'\',\'images/global_step01_06r.gif\',1)';
		aTOP_LINK_OVER[7] = 'MM_swapImage(\'Image7\',\'\',\'images/global_step01_07r.gif\',1)';
		
		aTOP_LINK_IMG[0] = '<img src="images/global_step01_01.gif" name="Image1" width="20" height="25" border="0">';
		aTOP_LINK_IMG[1] = '<img src="images/global_step01_02.gif" name="Image2" width="39" height="25" border="0">';
		aTOP_LINK_IMG[2] = '<img src="images/global_step01_09.gif" name="Image9" border="0">';
		aTOP_LINK_IMG[3] = '<img src="images/global_step01_03.gif" name="Image3" border="0">';
		aTOP_LINK_IMG[4] = '<img src="images/global_step01_04.gif" name="Image4" width="70" height="25" border="0">';
		aTOP_LINK_IMG[5] = '<img src="images/global_step01_05.gif" name="Image5" width="58" height="25" border="0">';
		aTOP_LINK_IMG[6] = '<img src="images/global_step01_06.gif" name="Image6" border="0">';
		aTOP_LINK_IMG[7] = '<img src="images/global_step01_07.gif" name="Image7" width="48" height="25" border="0">';
		
		if (login) // �α��� �� ó��
		{
			aTOP_LINK_HREF[1] = 'JavaScript:ClearCookie();';
			aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';	
			aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step01_02r_out.gif\',1)	';
			aTOP_LINK_IMG[1] = '<img src="images/global_step01_02_out.gif" name="Image2" width="48" height="25" border="0">';			
		}
	}
	else if (idx == 5)	// step02
	{
		//flash_pos = '0200';
		
		if (sel == 0) flash_pos = '0201';
		else if (sel == 1) flash_pos = '0202';
		else if (sel == 2) flash_pos = '0203';
		else if (sel == 3) flash_pos = '0204';		
		else if (sel == 4) flash_pos = '0205';		
		else if (sel == 5) flash_pos = '0206';
		else if (sel == 6) flash_pos = '0207';
		else if (sel == 7) flash_pos = '0208';				
				
		aTOP_LINK_HREF[0] = '../main/HKhome.html';
		aTOP_LINK_HREF[1] = 'JavaScript:fnOpenLogin();';
		aTOP_LINK_HREF[2] = 'http://ep.knou.ac.kr';
		aTOP_LINK_HREF[3] = '../intro/HKIntro.html';
		aTOP_LINK_HREF[4] = '../pr/HKNoticeList.html';
		aTOP_LINK_HREF[5] = 'http://portal.knou.ac.kr/cybersd/sangdam/ep/index.jsp';
		aTOP_LINK_HREF[6] = '../usage/HKGmemberinfor.html';
		aTOP_LINK_HREF[7] = '../sitemap/HKGSitemap.html';
		
		aTOP_LINK_OUT[0] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[2] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[3] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[4] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[5] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[6] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[7] = 'MM_swapImgRestore()';
		
		aTOP_LINK_OVER[0] = 'MM_swapImage(\'Image1\',\'\',\'images/global_step02_01r.gif\',1)';
		aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step02_02r.gif\',1)';
		aTOP_LINK_OVER[2] = 'MM_swapImage(\'Image9\',\'\',\'images/global_step02_09r.gif\',1)';
		aTOP_LINK_OVER[3] = 'MM_swapImage(\'Image3\',\'\',\'images/global_step02_03r.gif\',1)';
		aTOP_LINK_OVER[4] = 'MM_swapImage(\'Image4\',\'\',\'images/global_step02_04r.gif\',1)';
		aTOP_LINK_OVER[5] = 'MM_swapImage(\'Image5\',\'\',\'images/global_step02_05r.gif\',1)';
		aTOP_LINK_OVER[6] = 'MM_swapImage(\'Image6\',\'\',\'images/global_step02_06r.gif\',1)';
		aTOP_LINK_OVER[7] = 'MM_swapImage(\'Image7\',\'\',\'images/global_step02_07r.gif\',1)';
		
		aTOP_LINK_IMG[0] = '<img src="images/global_step02_01.gif" name="Image1" width="20" height="25" border="0">';
		aTOP_LINK_IMG[1] = '<img src="images/global_step02_02.gif" name="Image2" width="39" height="25" border="0">';
		aTOP_LINK_IMG[2] = '<img src="images/global_step02_09.gif" name="Image9" border="0">';
		aTOP_LINK_IMG[3] = '<img src="images/global_step02_03.gif" name="Image3" border="0">';
		aTOP_LINK_IMG[4] = '<img src="images/global_step02_04.gif" name="Image4" width="70" height="25" border="0">';
		aTOP_LINK_IMG[5] = '<img src="images/global_step02_05.gif" name="Image5" width="58" height="25" border="0">';
		aTOP_LINK_IMG[6] = '<img src="images/global_step02_06.gif" name="Image6" border="0">';
		aTOP_LINK_IMG[7] = '<img src="images/global_step02_07.gif" name="Image7" width="48" height="25" border="0">';
		
		if (login) // �α��� �� ó��
		{
			aTOP_LINK_HREF[1] = 'JavaScript:ClearCookie();';
			aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';	
			aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step02_02r_out.gif\',1)	';
			aTOP_LINK_IMG[1] = '<img src="images/global_step02_02_out.gif" name="Image2" width="48" height="25" border="0">';			
		}
	}
	else if (idx == 6)	// step03
	{
		//flash_pos = '0300';
		
		if (sel == 0) flash_pos = '0301';
		else if (sel == 1) flash_pos = '0302';
		else if (sel == 2) flash_pos = '0303';
		else if (sel == 3) flash_pos = '0304';		
		else if (sel == 4) flash_pos = '0305';		
		else if (sel == 5) flash_pos = '0306';
		else if (sel == 6) flash_pos = '0307';
		else if (sel == 7) flash_pos = '0308';				
				
		aTOP_LINK_HREF[0] = '../main/HKhome.html';
		aTOP_LINK_HREF[1] = 'JavaScript:fnOpenLogin();';
		aTOP_LINK_HREF[2] = 'http://ep.knou.ac.kr';
		aTOP_LINK_HREF[3] = '../intro/HKIntro.html';
		aTOP_LINK_HREF[4] = '../pr/HKNoticeList.html';
		aTOP_LINK_HREF[5] = 'http://portal.knou.ac.kr/cybersd/sangdam/ep/index.jsp';
		aTOP_LINK_HREF[6] = '../usage/HKGmemberinfor.html';
		aTOP_LINK_HREF[7] = '../sitemap/HKGSitemap.html';
		
		aTOP_LINK_OUT[0] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[2] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[3] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[4] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[5] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[6] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[7] = 'MM_swapImgRestore()';
		
		aTOP_LINK_OVER[0] = 'MM_swapImage(\'Image1\',\'\',\'images/global_step03_01r.gif\',1)';
		aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step03_02r.gif\',1)';
		aTOP_LINK_OVER[2] = 'MM_swapImage(\'Image9\',\'\',\'images/global_step03_09r.gif\',1)';
		aTOP_LINK_OVER[3] = 'MM_swapImage(\'Image3\',\'\',\'images/global_step03_03r.gif\',1)';
		aTOP_LINK_OVER[4] = 'MM_swapImage(\'Image4\',\'\',\'images/global_step03_04r.gif\',1)';
		aTOP_LINK_OVER[5] = 'MM_swapImage(\'Image5\',\'\',\'images/global_step03_05r.gif\',1)';
		aTOP_LINK_OVER[6] = 'MM_swapImage(\'Image6\',\'\',\'images/global_step03_06r.gif\',1)';
		aTOP_LINK_OVER[7] = 'MM_swapImage(\'Image7\',\'\',\'images/global_step03_07r.gif\',1)';
		
		aTOP_LINK_IMG[0] = '<img src="images/global_step03_01.gif" name="Image1" width="20" height="25" border="0">';
		aTOP_LINK_IMG[1] = '<img src="images/global_step03_02.gif" name="Image2" width="39" height="25" border="0">';
		aTOP_LINK_IMG[2] = '<img src="images/global_step03_09.gif" name="Image9" border="0">';
		aTOP_LINK_IMG[3] = '<img src="images/global_step03_03.gif" name="Image3" border="0">';
		aTOP_LINK_IMG[4] = '<img src="images/global_step03_04.gif" name="Image4" width="70" height="25" border="0">';
		aTOP_LINK_IMG[5] = '<img src="images/global_step03_05.gif" name="Image5" width="58" height="25" border="0">';
		aTOP_LINK_IMG[6] = '<img src="images/global_step03_06.gif" name="Image6" border="0">';
		aTOP_LINK_IMG[7] = '<img src="images/global_step03_07.gif" name="Image7" border="0">';
		
		if (login) // �α��� �� ó��
		{
			aTOP_LINK_HREF[1] = 'JavaScript:ClearCookie();';
			aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';	
			aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step03_02r_out.gif\',1)	';
			aTOP_LINK_IMG[1] = '<img src="images/global_step03_02_out.gif" name="Image2" width="48" height="25" border="0">';			
		}
	}
	else if (idx == 7)	// step04
	{
		//flash_pos = '0400';
		
		if (sel == 0) flash_pos = '0401';
		else if (sel == 1) flash_pos = '0402';
		else if (sel == 2) flash_pos = '0403';
		else if (sel == 3) flash_pos = '0404';		
		else if (sel == 4) flash_pos = '0405';		
		else if (sel == 5) flash_pos = '0406';
		else if (sel == 6) flash_pos = '0407';
		else if (sel == 7) flash_pos = '0408';				
				
		aTOP_LINK_HREF[0] = '../main/HKhome.html';
		aTOP_LINK_HREF[1] = 'JavaScript:fnOpenLogin();';
		aTOP_LINK_HREF[2] = 'http://ep.knou.ac.kr';
		aTOP_LINK_HREF[3] = '../intro/HKIntro.html';
		aTOP_LINK_HREF[4] = '../pr/HKNoticeList.html';
		aTOP_LINK_HREF[5] = 'http://portal.knou.ac.kr/cybersd/sangdam/ep/index.jsp';
		aTOP_LINK_HREF[6] = '../usage/HKGmemberinfor.html';
		aTOP_LINK_HREF[7] = '../sitemap/HKGSitemap.html';
		
		aTOP_LINK_OUT[0] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[2] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[3] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[4] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[5] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[6] = 'MM_swapImgRestore()';
		aTOP_LINK_OUT[7] = 'MM_swapImgRestore()';
		
		aTOP_LINK_OVER[0] = 'MM_swapImage(\'Image1\',\'\',\'images/global_step04_01r.gif\',1)';
		aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step04_02r.gif\',1)';
		aTOP_LINK_OVER[2] = 'MM_swapImage(\'Image9\',\'\',\'images/global_step04_09r.gif\',1)';
		aTOP_LINK_OVER[3] = 'MM_swapImage(\'Image3\',\'\',\'images/global_step04_03r.gif\',1)';
		aTOP_LINK_OVER[4] = 'MM_swapImage(\'Image4\',\'\',\'images/global_step04_04r.gif\',1)';
		aTOP_LINK_OVER[5] = 'MM_swapImage(\'Image5\',\'\',\'images/global_step04_05r.gif\',1)';
		aTOP_LINK_OVER[6] = 'MM_swapImage(\'Image6\',\'\',\'images/global_step04_06r.gif\',1)';
		aTOP_LINK_OVER[7] = 'MM_swapImage(\'Image7\',\'\',\'images/global_step04_07r.gif\',1)';
		
		aTOP_LINK_IMG[0] = '<img src="images/global_step04_01.gif" name="Image1" width="20" height="25" border="0">';
		aTOP_LINK_IMG[1] = '<img src="images/global_step04_02.gif" name="Image2" width="39" height="25" border="0">';
		aTOP_LINK_IMG[2] = '<img src="images/global_step04_09.gif" name="Image9" border="0">';
		aTOP_LINK_IMG[3] = '<img src="images/global_step04_03.gif" name="Image3" border="0">';
		aTOP_LINK_IMG[4] = '<img src="images/global_step04_04.gif" name="Image4" width="70" height="25" border="0">';
		aTOP_LINK_IMG[5] = '<img src="images/global_step04_05.gif" name="Image5" width="58" height="25" border="0">';
		aTOP_LINK_IMG[6] = '<img src="images/global_step04_06.gif" name="Image6" border="0">';
		aTOP_LINK_IMG[7] = '<img src="images/global_step04_07.gif" name="Image7" border="0">';
		
		if (login) // �α��� �� ó��
		{
			aTOP_LINK_HREF[1] = 'JavaScript:ClearCookie();';
			aTOP_LINK_OUT[1] = 'MM_swapImgRestore()';	
			aTOP_LINK_OVER[1] = 'MM_swapImage(\'Image2\',\'\',\'images/global_step04_02r_out.gif\',1)	';
			aTOP_LINK_IMG[1] = '<img src="images/global_step04_02_out.gif" name="Image2" width="48" height="25" border="0">';			
		}
	}	
	
	if (!login)
	{
		document.write('<div id="Layer1" style="position:absolute; width:450px; height:27px; z-index:-1; left: 458px; top: 0px;">');
	}
	else
	{
		document.write('<div id="Layer1" style="position:absolute; width:450px; height:27px; z-index:-1; left: 449px; top: 0px;">');
	}
	document.write('	<table width="435" height="25" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed ">');
	document.write('		<tr>');
	document.write('			<td nowrap>');
	document.write('<a href="' + aTOP_LINK_HREF[0] + '" onMouseOut="' + aTOP_LINK_OUT[0] + '" onMouseOver="' + aTOP_LINK_OVER[0] + '">' + aTOP_LINK_IMG[0] + '</a>');
	document.write('<a href="' + aTOP_LINK_HREF[1] + '" onMouseOut="' + aTOP_LINK_OUT[1] + '" onMouseOver="' + aTOP_LINK_OVER[1] + '">' + aTOP_LINK_IMG[1] + '</a>');
	document.write('<a href="' + aTOP_LINK_HREF[2] + '" target="_top" onMouseOut="' + aTOP_LINK_OUT[2] + '" onMouseOver="' + aTOP_LINK_OVER[2] + '">' + aTOP_LINK_IMG[2] + '</a>');
	document.write('<a href="' + aTOP_LINK_HREF[3] + '" onMouseOut="' + aTOP_LINK_OUT[3] + '" onMouseOver="' + aTOP_LINK_OVER[3] + '">' + aTOP_LINK_IMG[3] + '</a>');
	document.write('<a href="' + aTOP_LINK_HREF[4] + '" onMouseOut="' + aTOP_LINK_OUT[4] + '" onMouseOver="' + aTOP_LINK_OVER[4] + '">' + aTOP_LINK_IMG[4] + '</a>');
	document.write('<a href="' + aTOP_LINK_HREF[5] + '" target="_blank" onMouseOut="' + aTOP_LINK_OUT[5] + '" onMouseOver="' + aTOP_LINK_OVER[5] + '">' + aTOP_LINK_IMG[5] + '</a>');
	document.write('<a href="' + aTOP_LINK_HREF[6] + '" onMouseOut="' + aTOP_LINK_OUT[6] + '" onMouseOver="' + aTOP_LINK_OVER[6] + '">' + aTOP_LINK_IMG[6] + '</a>');
	document.write('<a href="' + aTOP_LINK_HREF[7] + '" onMouseOut="' + aTOP_LINK_OUT[7] + '" onMouseOver="' + aTOP_LINK_OVER[7] + '">' + aTOP_LINK_IMG[7] + '</a>');
	document.write('<img src="images/bar.gif" width="3" height="25">');
	document.write('</td>');
	document.write('		</tr>');
	document.write('	</table>');
	document.write('</div>');
}

// ----------------------------------------------------
// Left ��Ŭ���
// ----------------------------------------------------

function leftInclude(idx, sel, sel2) {
	if (idx == 0) // about
	{
		document.write('&nbsp;&nbsp;&nbsp;&nbsp;<img src=images/hk_admin_tit.gif> <Br>');
		document.write('<Br>');
		document.write('<table border=0 cellpadding=0 cellspacing=0 align=center width=170>');
		document.write('	<tr>');
		document.write('		<td background=images/hk_admin_leftBg.gif width=170 height=26 style="padding:2 0 0 25"><a href="HKAdMediaList.html">��п� ��ģ ��۴�</a></td>');
		document.write('	</tr>');
		
		if (sel == 0)
		{
			document.write('	<tr>');
			document.write('		<td width=170 height=22 style="padding:7 0 0 25"><a href="HKAdMediaList.html">- �Խ��Ǻ���</a></td>');
			document.write('	</tr>');
			document.write('	<tr>');
			document.write('		<td width=170 height=22 style="padding:0 0 7 25"><a href="HKAdMediaExList.html">- �Խ������� ������</a></td>');
			document.write('	</tr>');
		}
		else
		{
			document.write('	<tr height=5>');
			document.write('		<td></td>');
			document.write('	</tr>');
		}
		
		document.write('	<tr>');
		document.write('		<td background=images/hk_admin_leftBg.gif width=170 height=26 style="padding:2 0 0 25"><a href="HKAdPeonewsList.html">�Ŀ���۴���</a></td>');
		document.write('	</tr>');
		
		if (sel == 1)
		{
			document.write('	<tr>');
			document.write('		<td width=170 height=22 style="padding:7 0 0 25"><a href="HKAdPeonewsList.html">- �Խ��Ǻ���</a></td>');
			document.write('	</tr>');
			document.write('	<tr>');
			document.write('		<td width=170 height=22 style="padding:0 0 7 25"><a href="HKAdPeonewsExList.html">- �Խ������� ������</a></td>');
			document.write('	</tr>');
		}
		else
		{
			document.write('	<tr height=5>');
			document.write('		<td></td>');
			document.write('	</tr>');
		}
		
		document.write('	<tr>');
		document.write('		<td background=images/hk_admin_leftBg.gif width=170 height=26 style="padding:2 0 0 25"><a href="HKAdWebzineList.html">��۴� �����ҽ�</a></td>');
		document.write('	</tr>');
		
		if (sel == 2)
		{
			document.write('	<tr>');
			document.write('		<td width=170 height=22 style="padding:7 0 0 25"><a href="HKAdWebzineList.html">- �Խ��Ǻ���</a></td>');
			document.write('	</tr>');
			document.write('	<tr>');
			document.write('		<td width=170 height=22 style="padding:0 0 7 25"><a href="HKAdWebzineExList.html">- �Խ������� ������</a></td>');
			document.write('	</tr>');
		}
		else
		{
			document.write('	<tr height=5>');
			document.write('		<td></td>');
			document.write('	</tr>');
		}
		
		document.write('	<tr>');
		document.write('		<td background=images/hk_admin_leftBg.gif width=170 height=26 style="padding:2 0 0 25"><a href="HKAdIcamimgList.html">���� ������</a></td>');
		document.write('	</tr>');
		
		if (sel == 3)
		{
			document.write('	<tr>');
			document.write('		<td width=170 height=22 style="padding:7 0 0 25"><a href="HKAdIcamimgList.html">- ķ�۽����</a></td>');
			document.write('	</tr>');
			document.write('	<tr>');
			document.write('		<td width=170 height=22 style="padding:0 0 7 25"><a href="HKAdCameventList.html">- �������</a></td>');
			document.write('	</tr>');
		}
		else
		{
			document.write('	<tr height=5>');
			document.write('		<td></td>');
			document.write('	</tr>');
		}
		
		document.write('	<tr>');
		document.write('		<td background=images/hk_admin_leftBg.gif width=170 height=26 style="padding:2 0 0 25"><a href="HKAdEmailclubList.html">�̸��� Ŭ��</a></td>');
		document.write('	</tr>');
		document.write('	<tr height=5>');
		document.write('		<td></td>');
		document.write('	</tr>');
		document.write('	<tr>');
		document.write('		<td background=images/hk_admin_leftBg.gif width=170 height=26 style="padding:2 0 0 25"><a href="HKAdAbsurdityList.html">�񸮽Ű?��</a></td>');
		document.write('	</tr>');
		document.write('</table>');
	}
	else if (idx == 1) // intro
	{
		var flash_pos = '';
		
		if (sel == 0)
		{
			flash_pos = '0100';
		}
		else if (sel == 1)
		{
			flash_pos = '0200';
		}
		else if (sel == 2)
		{   flash_pos = '0300';
			
		}
		else if (sel == 3)
		{
			if (sel2 == 0) flash_pos = '0401';
			else if (sel2 == 1) flash_pos = '0402';
			else if (sel2 == 2) flash_pos = '0403';
			
		}
		else if (sel == 4)
		{
			flash_pos = '0500';
			if (sel2 == 0) flash_pos = '0501';
			else if (sel2 == 1) flash_pos = '0502';
		}
		else if (sel == 5)
		{
			flash_pos = '0600';
			if (sel2 == 0) flash_pos = '0601';
			else if (sel2 == 1) flash_pos = '0602';
		}
		else if (sel == 6)
		{
			flash_pos = '0700';
		}
		else if (sel == 7)
		{
			flash_pos = '0800';
		}
		else if (sel == 8)
		{
			if (sel2 == 0) flash_pos = '0901';
			else if (sel2 == 1) flash_pos = '0902';
		}
		else if (sel == 9)
		{
			if (sel2 == 0) flash_pos = '1001';
			else if (sel2 == 1) flash_pos = '1002';
		}
		
		document.write('<table width="185" height="458" border="0" align="center" cellpadding="0" cellspacing="0">');
		document.write('	<tr>');
		document.write('		<td>');
		document.write('			<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="179" height="450" id="navi">');
		document.write('				<param name="movie" value="../images/lm06_intro.swf?nPos=' + flash_pos + '" />');
		document.write('				<param name="quality" value="high" />');
		document.write('				<param name="menu" value="false">');
		document.write('				<embed src="../images/lm06_intro.swf?nPos=' + flash_pos + '" quality="high" width="179" height="450" name="navi" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
		document.write('			</object>');
		document.write('		</td>');
		document.write('		<td width="6" valign="bottom"><img src="images/hk_menu_right01.gif" width="6" height="152"></td>');
		document.write('	</tr>');
		document.write('	<tr valign="top">');
		document.write('		<td height="8" colspan="2"><img src="images/hk_menu_bottom.gif" width="185" height="7"></td>');
		document.write('	</tr>');
		document.write('</table>');
	
	}
	else if (idx == 2)
	{
		var flash_pos = '';
		
		if (sel == 0)
		{
			flash_pos = '0100';
			if (sel2 == 0) flash_pos = '0101';
			else if (sel2 == 1) flash_pos = '0102';
			else if (sel2 == 2) flash_pos = '0103';			
			else if (sel2 == 3) flash_pos = '0104';
			else if (sel2 == 4) flash_pos = '0105';			
		}
		else if (sel == 1)
		{
			flash_pos = '0200';
			if (sel2 == 0) flash_pos = '0201';
			else if (sel2 == 1) flash_pos = '0202';
			
		}
		else if (sel == 2)
		{
			if (sel2 == 0) flash_pos = '0301';
			else if (sel2 == 1) flash_pos = '0302';
			else if (sel2 == 2) flash_pos = '0303';
			else if (sel2 == 3) flash_pos = '0304';
		}
		else if (sel == 3)
		{
			if (sel2 == 0) flash_pos = '0401';
			else if (sel2 == 1) flash_pos = '0402';
		}
		else if (sel == 4)
		{
			flash_pos = '0500';
			if (sel2 == 0) flash_pos = '0501';
			else if (sel2 == 1) flash_pos = '0502';
			else if (sel2 == 2) flash_pos = '0503';
			else if (sel2 == 3) flash_pos = '0504';
			else if (sel2 == 4) flash_pos = '0505';
			else if (sel2 == 5) flash_pos = '0506';						
			else if (sel2 == 6) flash_pos = '0507';			
			else if (sel2 == 7) flash_pos = '0508';						
		}
		else if (sel == 5)
		{
			flash_pos = '0600';
			if (sel2 == 0) flash_pos = '0601';
			else if (sel2 == 1) flash_pos = '0602';
			else if (sel2 == 2) flash_pos = '0603';			
		}
		else if (sel == 6)
		{
			flash_pos = '0700';
		}
		else if (sel == 7)
		{
			if (sel2 == 0) flash_pos = '0801';
			else if (sel2 == 1) flash_pos = '0802';
		}
				
		document.write('<table width="185" height="458" border="0" align="center" cellpadding="0" cellspacing="0"> ');
		document.write('   <tr> ');
		document.write('     <td><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="179" height="450" id="lm05_hongbo"> ');
		document.write('         <param name="movie" value="../images/lm05_hongbo.swf?nPos=' + flash_pos + '" /> ');
		document.write('         <param name="quality" value="high" />');
		document.write('  <param name="menu" value="false"> ');
		document.write('         <embed src="../images/lm05_hongbo.swf?nPos=' + flash_pos + '" quality="high" width="179" height="450" name="lm05_hongbo" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> ');
		document.write('       </object></td> ');
		document.write('     <td width="6" valign="bottom"><img src="images/hk_menu_right01.gif" width="6" height="152"></td> ');
		document.write('   </tr> ');
		document.write('   <tr valign="top"> ');
		document.write('     <td height="8" colspan="2"><img src="images/hk_menu_bottom.gif" width="185" height="7"></td> ');
		document.write('   </tr> ');
		document.write(' </table> ');
	}
	else if (idx == 4) // step01
	{
		var flash_pos = '';
		
		if (sel == 0) flash_pos = '0100';
		else if (sel == 1) flash_pos = '0201';
		else if (sel == 2) flash_pos = '0300';
		else if (sel == 3) flash_pos = '0400';
		else if (sel == 4) flash_pos = '0500';
		else if (sel == 5) flash_pos = '0600';

		document.write('<table width="185" height="458" border="0" align="center" cellpadding="0" cellspacing="0">');
		document.write('	<tr>');
		document.write('		<td>');
		document.write('			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="179" height="450">');
		document.write('				<param name="movie" value="../images/lm01_step01.swf?nPos=' + flash_pos + '">');
		document.write('				<param name="quality" value="high">');
		document.write('				<param name="menu" value="false">');
		document.write('				<embed src="../images/lm01_step01.swf?nPos=' + flash_pos + '" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="179" height="450"></embed>');
		document.write('			</object>');
		document.write('		</td>');
		document.write('		<td width="6" valign="bottom"><img src="images/hk_menu_right01.gif" width="6" height="152"></td>');
		document.write('	</tr>');
		document.write('	<tr valign="top">');
		document.write('		<td height="8" colspan="2"><img src="images/hk_menu_bottom.gif" width="185" height="7"></td>');
		document.write('	</tr>');
		document.write('</table>');
	}
	else if (idx == 5) // step02
	{
		var flash_pos = '';
		
		if (sel == 0) flash_pos = '0100';
		else if (sel == 1) flash_pos = '0200';
		else if (sel == 2) 
		{
			if (sel2 == 0) flash_pos = '0301';
			else if (sel2 == 1) flash_pos = '0302';
		}
		else if (sel == 3) flash_pos = '0400';
		else if (sel == 4) flash_pos = '0500';
		else if (sel == 5) flash_pos = '0600';
		else if (sel == 6) flash_pos = '0700';
		else if (sel == 7) flash_pos = '0800';
						
	
		document.write('<table width="185" height="458" border="0" align="center" cellpadding="0" cellspacing="0">');
		document.write('	<tr>');
		document.write('		<td>');
		document.write('			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="179" height="450">');
		document.write('				<param name="movie" value="../images/lm02_step02.swf?nPos=' + flash_pos + '">');
		document.write('				<param name="quality" value="high">');
		document.write('				<param name="menu" value="false">');
		document.write('				<embed src="../images/lm02_step02.swf?nPos=' + flash_pos + '" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="179" height="450"></embed>');
		document.write('			</object>');
		document.write('		</td>');
		document.write('		<td width="6" valign="bottom"><img src="images/hk_menu_right01.gif" width="6" height="152"></td>');
		document.write('	</tr>');
		document.write('	<tr valign="top">');
		document.write('		<td height="8" colspan="2"><img src="images/hk_menu_bottom.gif" width="185" height="7"></td>');
		document.write('	</tr>');
		document.write('</table>');
	}
	else if (idx == 6) // step03
	{
		var flash_pos = '';
		
		if (sel == 0) 
		{
			flash_pos = '0100';
			if (sel2 == 0) flash_pos = '0101';
			else if (sel2 == 1) flash_pos = '0102';			
			else if (sel2 == 2) flash_pos = '0103';			
			else if (sel2 == 3) flash_pos = '0104';			
			else if (sel2 == 4) flash_pos = '0105';			
			else if (sel2 == 5) flash_pos = '0106';			
			else if (sel2 == 6) flash_pos = '0107';			
		}
		else if (sel == 1) 
		{
			flash_pos = '0200';
			if (sel2 == 0) flash_pos = '0201';
			else if (sel2 == 1) flash_pos = '0202';			
			else if (sel2 == 2) flash_pos = '0203';			
			else if (sel2 == 3) flash_pos = '0204';
			else if (sel2 == 4) flash_pos = '0205';			
			else if (sel2 == 5) flash_pos = '0206';			
			else if (sel2 == 6) flash_pos = '0207';			
		}
		else if (sel == 2) flash_pos = '0300';
		else if (sel == 3) flash_pos = '0400';
		else if (sel == 4) flash_pos = '0500';
		else if (sel == 5) flash_pos = '0600';
		else if (sel == 6) flash_pos = '0700';
		else if (sel == 7) flash_pos = '0800';
						
		document.write('<table width="185" height="458" border="0" align="center" cellpadding="0" cellspacing="0">');
		document.write('  <tr>');
		document.write('    <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="179" height="450">');
		document.write('      <param name="movie" value="../images/lm03_step03.swf?nPos=' + flash_pos + '">');
		document.write('      <param name="quality" value="high">');
		document.write('	  <param name="menu" value="false">');
		document.write('      <embed src="../images/lm03_step03.swf?nPos=' + flash_pos + '" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="179" height="450"></embed>');
		document.write('    </object></td>');
		document.write('    <td width="6" valign="bottom"><img src="images/hk_menu_right01.gif" width="6" height="152"></td>');
		document.write('  </tr>');
		document.write('  <tr valign="top">');
		document.write('    <td height="8" colspan="2"><img src="images/hk_menu_bottom.gif" width="185" height="7"></td>');
		document.write('    </tr>');
		document.write('</table>');
	}
	else if (idx == 7) // step04
	{
		var flash_pos = '';
		
		if (sel == 0) flash_pos = '0100';
		else if (sel == 1) flash_pos = '0200';
		else if (sel == 2) flash_pos = '0300';
		else if (sel == 3) flash_pos = '0400';
		else if (sel == 4) flash_pos = '0500';
		else if (sel == 5) flash_pos = '0600';
		else if (sel == 6) 
		{
			flash_pos = '0700';
			if (sel2 == 0) flash_pos = '0701';
			else if (sel2 == 1) flash_pos = '0702';
		}
		else if (sel == 7) flash_pos = '0800';

		document.write('<table width="185" height="458" border="0" align="center" cellpadding="0" cellspacing="0">');
		document.write('    <tr>');
		document.write('        <td>');
		document.write('            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="179" height="450">');
		document.write('                <param name="movie" value="../images/lm04_step04.swf?nPos=' + flash_pos + '">');
		document.write('                <param name="quality" value="high">');
		document.write('                <param name="menu" value="false">');
		document.write('                <embed src="../images/lm04_step04.swf?nPos=' + flash_pos + '" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="179" height="450"></embed>');
		document.write('            </object>');
		document.write('        </td>');
		document.write('        <td width="6" valign="bottom"><img src="images/hk_menu_right01.gif" width="6" height="152"></td>');
		document.write('    </tr>');
		document.write('    <tr valign="top">');
		document.write('        <td height="8" colspan="2"><img src="images/hk_menu_bottom.gif" width="185" height="7"></td>');
		document.write('    </tr>');
		document.write('</table>');
	}
	else if (idx == 8) // usage
	{
		var flash_pos = '0000';

		if (sel == 0) flash_pos = '0100';
		else if (sel == 1) flash_pos = '0200';
		else if (sel == 2) flash_pos = '0300';
		else if (sel == 3) flash_pos = '0400';
		else if (sel == 4) flash_pos = '0500';

		document.write('<table width="185" height="458" border="0" align="center" cellpadding="0" cellspacing="0">');
		document.write('	<tr>');
		document.write('		<td>');
		document.write('			<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="179" height="450" id="lm07_usage">');
		document.write('				<param name="movie" value="../images/lm07_usage.swf?nPos=' + flash_pos + '" />');
		document.write('				<param name="quality" value="high" />');
		document.write('				<param name="menu" value="false">');
		document.write('				<embed src="../images/lm07_usage.swf?nPos=' + flash_pos + '" quality="high" width="179" height="450" name="lm07_usage" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
		document.write('			</object>');
		document.write('		</td>');
		document.write('		<td width="6" valign="bottom"><img src="images/hk_menu_right01.gif" width="6" height="152"></td>');
		document.write('	</tr>');
		document.write('	<tr valign="top">');
		document.write('		<td height="8" colspan="2"><img src="images/hk_menu_bottom.gif" width="185" height="7"></td>');
		document.write('	</tr>');
		document.write('</table>');
	}	
}

// ----------------------------------------------------
// Footer ��Ŭ���
// ----------------------------------------------------
function footerInclude(idx) {
	document.write('<img src="images/hk_footnotenew02.gif" width="875" height="86" border="0" usemap="#Map">');
	document.write('<map name="Map">');
	document.write('	<area shape="rect" coords="551, 3, 592, 24" href="../usage/HKGmemberinfor.html" onfocus="this.blur()">');
	document.write('	<area shape="rect" coords="601, 3, 676, 24" href="javascript:openPop02(\'../usage/HKPrivacy.html\',\'pop\',622,550,\'\')" onfocus="this.blur()">');
	document.write('	<area shape="rect" coords="686, 3, 727, 24" href="../intro/HKOffitelenumList.html" onfocus="this.blur()">');
	document.write('	<area shape="rect" coords="736, 3, 793, 24" href="javascript:openPop02(\'/common/HKCenter.do\',\'pop\',622,550,\'\')" >');
	document.write('	<area shape="rect" coords="802, 3, 868, 24" href="http://www.knou.ac.kr/main/popup/th001.hwp">');
	document.write('</map>');
}



