function main00() 		{location.href = '/index.php?part=00';}

/************************
 * Main menu Link
*************************/
//¸ÞÀÎ ¸Þ´º ¸µÅ©
function main01()		{location.href = '/SUB01/sub01.html?part=01&pageNum=1';}
function main02()		{location.href = '/bbs/board.php?bo_table=02_notice&pageNum=1';}
function main03()		{location.href = '/SUB03/sub03_01.html?part=03&pageNum=1';}
function main04()		{location.href = '/SUB04/sub04_01.html?part=04&pageNum=1';}
function main05()		{location.href = '/bbs/board.php?bo_table=05_student&pageNum=1';}
function main06()		{location.href = '/SUB06/sub06_02.html?part=06&pageNum=1';}


/************************
 * Sub menu Link 
*************************/
// ÇÐ±³ ¼Ò°³ 
function sub0101()		{location.href = '/SUB01/sub01.html?part=01&pageNum=1';}
function sub0102()		{location.href = '/SUB01/sub01_01.html?part=01&pageNum=2';}
function sub0103()		{location.href = '/SUB01/sub01_02.html?part=01&pageNum=3';}
function sub0104()		{location.href = '/SUB01/sub01_03.html?part=01&pageNum=4';}
function sub0105()		{location.href = '/SUB01/sub01_04.html?part=01&pageNum=5';}
function sub0106()		{location.href = '/SUB01/sub01_05.html?part=01&pageNum=6';}
function sub0107()		{location.href = '/SUB01/sub01_06.html?part=01&pageNum=7';}
function sub0108()		{location.href = '/SUB01/sub01_07.html?part=01&pageNum=8';}
function sub0109()		{location.href = '/SUB01/sub01_08.html?part=01&pageNum=9';}

// ÇÐ±³ ¼Ò½Ä
function sub0201()		{location.href ='/bbs/board.php?bo_table=02_notice&pageNum=1';}
function sub0202()		{location.href = '/bbs/board.php?bo_table=02_event&pageNum=2';}
function sub0203()		{location.href = '/bbs/board.php?bo_table=02_schedule&pageNum=3';}   
function sub0204()		{location.href = '/bbs/board.php?bo_table=02_homeLetter&pageNum=4';} 
function sub0205()		{location.href = '/bbs/board.php?bo_table=02_prize&pageNum=5';}           
function sub0206()		{location.href = '/bbs/board.php?bo_table=02_executive&pageNum=6';}   
function sub0207()		{location.href = '/bbs/board.php?bo_table=02_monthMenu&pageNum=7';}
function sub0208()		{location.href = '/SUB02/sub02_08.html?part=02&pageNum=8';}       

// ÇÐ°ú ¼Ò°³
function sub0301()		{location.href = '/SUB03/sub03_01.html?part=03&pageNum=1&subNum=1';}  
function sub0302()		{location.href = '/SUB03/sub03_01_01.html?part=03&pageNum=1&subNum=2';}  
function sub0303()		{location.href = '/SUB03/sub03_01_02.html?part=03&pageNum=1&subNum=3';}  
function sub0304()		{location.href = '/bbs/board.php?bo_table=03_qna01&pageNum=1&subNum=4';}
function sub0305()		{location.href = '/bbs/board.php?bo_table=03_event01&pageNum=1&subNum=5';}
function sub0306()		{location.href = '/bbs/board.php?bo_table=03_data01&pageNum=1&subNum=6';}
function sub0307()		{location.href = '/SUB03/sub03_02.html?part=03&pageNum=2&subNum=1';}  
function sub0308()		{location.href = '/SUB03/sub03_02_01.html?part=03&pageNum=2&subNum=2';}  
function sub0309()		{location.href = '/SUB03/sub03_02_02.html?part=03&pageNum=2&subNum=3';}
function sub0310()		{location.href = '/bbs/board.php?bo_table=03_qna02&pageNum=2&subNum=4';}
function sub0311()		{location.href = '/bbs/board.php?bo_table=03_event02&pageNum=2&subNum=5';}
function sub0312()		{location.href = '/bbs/board.php?bo_table=03_data02&pageNum=2&subNum=6';}
function sub0313()		{location.href = '/SUB03/sub03_03.html?part=03&pageNum=3&subNum=1';}
function sub0314()		{location.href = '/SUB03/sub03_03_01.html?part=03&pageNum=3&subNum=2';}
function sub0315()		{location.href = '/SUB03/sub03_03_02.html?part=03&pageNum=3&subNum=3';}
function sub0316()		{location.href = '/bbs/board.php?bo_table=03_qna03&pageNum=3&subNum=4';}
function sub0317()		{location.href = '/bbs/board.php?bo_table=03_event03&pageNum=3&subNum=5';}
function sub0318()		{location.href = '/bbs/board.php?bo_table=03_data03&pageNum=3&subNum=6';}


// ÇÐ»ý¸¶´ç
function sub0401()		{location.href = '/SUB04/sub04_01.html?part=04&pageNum=1';}
function sub0402()		{location.href = '/SUB04/sub04_02.html?part=04&pageNum=2';}
function sub0403()		{location.href = '/SUB04/sub04_03.html?part=04&pageNum=3';}
function sub0404()		{location.href = '/SUB04/sub04_04.html?part=04&pageNum=4';}
function sub0405()		{location.href = '/SUB04/sub04_05.html?part=04&pageNum=5';}
function sub0406()		{location.href = '/cafe/Category.php?zC=ÇÐ±Þ&part=04&pageNum=6';}
function sub0407()		{location.href = '/cafe/Category.php?zC=µ¿¾Æ¸®&part=04&pageNum=7';}

// °Ô½ÃÆÇ/ÀÚ·á½Ç
function sub0501()		{location.href = '/bbs/board.php?bo_table=05_student&pageNum=1';}
function sub0502()		{location.href = '/bbs/board.php?bo_table=05_admission&pageNum=2';}
function sub0503()		{location.href = '/bbs/board.php?bo_table=05_entExam&pageNum=3';}
function sub0504()		{location.href = '/bbs/board.php?bo_table=05_secret&pageNum=4';}
function sub0505()		{location.href = '/bbs/board.php?bo_table=05_graduate&pageNum=5';}
function sub0506()		{location.href = '/bbs/board.php?bo_table=05_perform&pageNum=6';}
function sub0507()		{location.href = '/bbs/board.php?bo_table=05_media&pageNum=7';}
function sub0508()		{location.href = '/bbs/board.php?bo_table=05_teacherNotice&pageNum=8';}
function sub0509()		{location.href = '/bbs/board.php?bo_table=05_counsel&pageNum=9';}
function sub0510()		{location.href = '/bbs/board.php?bo_table=05_parent&pageNum=10';}

// ÀÔÇÐ/ÁøÇÐ
function sub0601()		{location.href = '/SUB06/sub06_02.html?part=06&pageNum=1';}
function sub0602()		{location.href = '/SUB06/sub06_03.html?part=06&pageNum=2';}
function sub0603()		{location.href = '/SUB06/sub06_04.html?part=06&pageNum=3';}
function sub0604()		{location.href = '/SUB06/sub06_05.html?part=06&pageNum=4';}
function sub0605()		{location.href = '/SUB06/sub06_06.html?part=06&pageNum=5';}
function sub0606()		{location.href = '/bbs/board.php?bo_table=06_helper01&pageNum=6';}
function sub0607()		{location.href = '/bbs/board.php?bo_table=06_helper02&pageNum=7';}

// File Download
function down01()		{location.href = 'http://www.sopa.hs.kr/DOWNLOAD/yogang2010.hwp';}
function down02()		{location.href = '/DOWNLOAD/02.hwp';}
function down03()		{location.href = '/DOWNLOAD/03.hwp';}

// ·Î±×ÀÎ, ·Î±×¾Æ¿ô
function login()				{location.href = 'http://sopa.hs.kr/bbs/login.php';}
function logout()			{location.href = 'http://sopa.hs.kr/bbs/logout.php';}

// È¸¿ø°¡ÀÔ
function register()		{location.href = '/bbs/register.php';}
// È¸¿øÁ¤º¸ ¼öÁ¤
function memerinfo()	{location.href = '/bbs/member_confirm.php?url=register_form.php'; }

// »çÀÌÆ®¸Ê
function sitemap()		{location.href = '/SUB99/sitemap.php';}



/************************
 * ±âÅ¸ Ã³¸® ÇÔ¼ö
*************************/
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
             



//////////////////////////////////////
// IE Embed patch
//
// @author iezn@iezn.com
// @homepage http://iezn.com
// @create date 2006.04.19
// @last modify 2007.02.15
// @version 0.42
// ¹èÆ÷½Ã À§³»¿ëÀ» Æ÷ÇÔÇØ ÁÖ½Ã±â ¹Ù¶ø´Ï´Ù
//////////////////////////////////////
/**
* embed ÆÐÄ¡ Àû¿ë ÄÁÅ×ÀÌ³Ê
* nullÀÎ°æ¿ì document °ªÀ» ±âº»À¸·Î ÇÕ´Ï´Ù
* id°ªÀ» ¼³Á¤ÇÑ°æ¿ì ¼³Á¤¹üÀ§ ³»¿¡¸¸ Àû¿ëÀÌ µË´Ï´Ù
* 
* º»¹®ÀÌ³ª ÀÏºÎ ³ëµå¿¡¸¸ Àû¿ëÇÒ°æ¿ì ÇØ´ç ³ëµåÀÇ id °ªÀ» ÀÔ·ÂÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù
* ¿¹)
* var __embed_target_id = "contents";
* ·Î Ã³¸®ÇÑ°æ¿ì body ³»¿¡ <ÅÂ±× id="contents">ÇÃ·¡½¬,µ¿¿µ»ó...</ÅÂ±×>
* ¾È¿¡ ³»¿ë¿¡¸¸ ÆÐÄ¡°¡ Àû¿ëµË´Ï´Ù
*/
if(typeof(__embed_target_id)=='undefined'){
	var __embed_target_id = null;
}

/**
* embed ÆÐÄ¡¸¦ Àû¿ëÇÒ ÅÂ±×¸¦ ¼³Á¤ÇÕ´Ï´Ù
* ±âº»°ªÀº object,eembed,appelt ÅÂ±×ÀÔ´Ï´Ù
* false °ªÀÎ°æ¿ì ÆÐÄ¡¿¡¼­ Á¦¿ÜµË´Ï´Ù
*/
if(typeof(__embed_tags)=='undefined'){
	var __embed_tags = {object:true,embed:true,applet:false}
}

/**
* ÇÃ·¡½¬ÆÄÀÏÁß flashvars ¸¦ »ç¿ëÇÒ°æ¿ì ÇØ´ç ÇÃ·¡½¬ÀÇ ¿ÀºêÁ§Æ®¾ÆÀÌµð:true °ªÀ¸·Î object¸¦ µî·ÏÇØ ÁÖ¼¼¿ä
*/
var __flash_force_objs = {};
if(navigator.userAgent.toLowerCase().indexOf('opera')==-1){//opera out
	if(document.attachEvent){
		document.write('<style type="text/css">');
		document.write('object,embed{display:none;}');
		document.write('</style>');
		document.attachEvent('onreadystatechange',
			function (){				
				if(__embed_target_id===null){
					var __target = document;
				}else{
					var __target = document.getElementById(__embed_target_id);
				}
				if (document.readyState == "complete"){
					function _replace(obj){
						var obj_re = document.createElement(obj.outerHTML);					
						obj_re.style.display='inline';
						obj.parentNode.replaceChild(obj_re,obj);
					}
					function _inner(obj){
						obj.style.display='inline';					
						var html = obj.outerHTML;
						var classid = obj.classid.toLowerCase();
						if(classid=='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' && typeof(__flash_force_objs[obj.id])=='undefined'){//flash ÀÎ°æ¿ì
							obj.insertAdjacentHTML('beforeBegin',html);
							obj.parentNode.removeChild(obj);
						}else if(classid=='clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b'){
							//ÄüÅ¸ÀÓ

						}else{
							//º¯°æÇÏ°íÀÚÇÏ´Â ActiveX classid ¸¦ Ãß°¡ÇÏ½Ã±â ¹Ù¶ø´Ï´Ù
							if(classid=='clsid:6bf52a52-394a-11d3-b153-00c04f79faa6' || //media 7
							classid=='clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95' || //6.4
							classid=='clsid:6bf52a52-394a-11d3-b153-00c04f79faa6' ||
							classid=='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'
							){
								embed_pos = html.indexOf('embed');
								if(embed_pos!=-1){//embed °¡ Á¸ÀçÇÏ´Â°æ¿ì
									var embed = '<'+html.substr(embed_pos);
									embed = embed.substr(0,embed.length-9);
									obj.insertAdjacentHTML('beforeBegin',embed);
									obj.parentNode.removeChild(obj);
								}else{
									//object·Î¸¸ µÇ¾î ÀÖ´Â°æ¿ì µ¿¿µ»ó ºÎºÐ¸¸ ÆÐÄ¡ÇÑ´Ù
									var embed = document.createElement('embed');
									if(obj.id){
										embed.id = obj.id;
									}
									var total = obj.childNodes.length;
									//embed.setAttribute('autostart',0);
									if(obj.width){
										embed.setAttribute('width',obj.width);
									}
									if(obj.height){
										embed.setAttribute('height',obj.height);
									}
									for(var k=0;k<total;k++){
										n = obj.childNodes.item(k).getAttribute("name");
										v = obj.childNodes.item(k).getAttribute("value");
										if(n=='URL' || n=='url' || n=='FileName'){
											n = 'src';
										}
										embed.setAttribute(n,v);
									}
									if(embed.getAttribute('src')){
										embed.style.display = 'inline';
										obj.parentNode.replaceChild(embed,obj);
									}else{
										//ÆÄÀÏ¿¢¼¼½º object°¡ ¾Æ´Ñ°æ¿ì´Â À¯ÁöÇÑ´Ù								
									}
								}
							}
						}
					}

					if(__embed_tags.object===true){
						var objs = __target.getElementsByTagName('object');
						var i = objs.length;
						while(i-->0){
							_inner(objs[i]);
						}
					}
					if(__embed_tags.embed===true){
						var objs = __target.getElementsByTagName('embed');
						var i = objs.length;
						while(i-->0){
							_replace(objs[i])
						}
					}

					if(__embed_tags.applet===true){
						var objs = __target.getElementsByTagName('applet');
						var i = objs.length;
						while(i-->0){
							_replace(objs[i])
						}
					}
				}
			}
		);
	}
}
