<!--
/*



function MM_findObj(n, d) {
  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 && document.getElementById) x=document.getElementById(n); return x;
}


function MM_showHideLayers() {
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_preloadImages() {
  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_swapImgRestore() {
  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_swapImage() {
  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];}
}



function Tabs(n) {
	for(i=1; i<=4; i++){
		document.all["news_tab" + i].style.display = "none" ;
		document.all["news" + i].style.display = "none" ;
	}

	document.all["news_tab" + n].style.display = "" ;
	document.all["news" + n].style.display = "" ;
}

function Tab(n) {
	for(j=1; j<=4; j++){
		document.all["new_tab" + j].style.display = "none";
		document.all["new" + j].style.display = "none";
	}

	document.all["new_tab" + n].style.display = "" ;
	document.all["new" + n].style.display = "" ;
}


function InfoFaq01View(obj){
	for(i=0;i<document.all.popLayer01.length;i++)
	{
		if(i == obj) {
		if(document.all.popLayer01[i].style.display == "block") {
				document.all.popLayer01[i].style.display = "none";
			} else {
				document.all.popLayer01[i].style.display = "block";
			}
		}
	}
}

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_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}



//left menu ¼­ºê¸Þ´º¾ó º¸¿©ÁÖ±â//
	var cur;

	function direction_menu(a,b){
		TreeMenu(a , b)
		window.location.href=b

	}

	function TreeMenu(currMenu , Name) {
		if ( !cur || cur == currMenu ){
			menuview(currMenu);

		}else{
			menuview(cur);
			menuview(currMenu);
		}

		//self.location.href =Name + "&menu2=" ;
	}

	function menuview(currMenu){
		//DelCookie("menu","",1);
		setCookie("menu",currMenu)
		var cape=escape(currMenu)
		if (cape  != 'undefined'){
			if (document.all) {
				thisMenu = eval("document.all." + currMenu + ".style")

				if (thisMenu.display == "block") {
					thisMenu.display = "none"

					if ( cur == currMenu ) {
						cur = "";
					}
				} else {
					thisMenu.display = "block"
					// ´Ù¸¥¸Þ´º¸¦ Å¬¸¯ÇØµµ ÀÌÀü¸Þ´º È°¼ºÈ­´Â ±×´ë·Î
					cur = currMenu;
				}
				return false;
			} else {
				return true;
			}
		}
	}

	function goTo( Name) {
		self.location.href ="# "; <!-- Name + "&menu2=" ; -->
		//TreeMenu('c_man');
	}


 function setCookie(name,value) {
//   var todayDate = new Date();
//   todayDate.setDate(todayDate.getDate() + expiredays);
   document.cookie = name + "=" + escape( value ) + ";"
 }

//ÄíÅ° Ã£±â ÇÔ¼ö
function getCookie(Name){

	 var search = Name + '='

	 if (document.cookie.length > 0)

	 {

	  var offset = document.cookie.indexOf(search)

	  if (offset != -1)

	  {
	   offset += search.length

	   var end = document.cookie.indexOf(';', offset)

	 if (end == -1)
	  end = document.cookie.length
	   return unescape(document.cookie.substring(offset, end))
	  }

	 }

 return;

}

// À©µµ¿ìÆË¾÷

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

// ¸µÅ© Á¡¼± ¾ø¿¡±â ½ºÅ©¸³Æ®
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;



function go_campus(){

	window.open("/images/map/main.html","nName","statusbar=no,scrollbars=no,fullscreen=yes,toolbar=no,top=0,left=0");
}



	function ck(a){
		World = new Array("<--","<--#","<$","<@","<!--");
		var formcontent	=eval("document.insform."+a+".value")
		var index_of=0;
		var newStr =null;
		allowSubmit = false;
		for (var a = 0; a <= World.length; a++){
			index_of=formcontent.indexOf(World[a])
			if (index_of >0){
				allowSubmit = true;
			}
		}
		if (allowSubmit==true){
			alert("ÇØÅ·ÀÇ ¿ì·Á°¡ÀÖ´Â ´Ü¾î´Â ÀÔ·Â ÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.");
			return false;

		}

	}

	function ck2(a){
		World = new Array("<--","<--#","<$","<@","<!--");
		var formcontent	=eval("document.inputForm."+a+".value")
		var index_of=0;
		var newStr =null;
		allowSubmit = false;
		for (var a = 0; a <= World.length; a++){
			index_of=formcontent.indexOf(World[a])
			if (index_of >0){
				allowSubmit = true;
			}
		}
		if (allowSubmit==true){
			alert("ÇØÅ·ÀÇ ¿ì·Á°¡ÀÖ´Â ´Ü¾î´Â ÀÔ·Â ÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.");
			return false;

		}

	}

	function file_down_func(a,b){
		document.file_down_form.fname.value=a
		document.file_down_form.folder.value=b
		document.file_down_form.action="/common/config/file_down.jsp";
		document.file_down_form.submit();
	}
	function file_down_func_en(a,b){
		document.file_down_form.fname.value=a
		document.file_down_form.folder.value=b
		document.file_down_form.action="/common/config/file_down2.jsp";
		document.file_down_form.submit();
	}
	function go_filedown3(value_name){
		window.document.file_down_form.mask.value=value_name
		window.document.file_down_form.auth.value="FILEDOWNOK"
		document.file_down_form.action="/admin/about/regulations/ajaxtabs/download.jsp";
		document.file_down_form.submit();
	}

	function go_filedown(value_name){
		window.document.file_down_form.mask.value=value_name
		window.document.file_down_form.auth.value="FILEDOWNOK"
		window.document.file_down_form.action="/admin/withsnu/download.jsp";
		window.document.file_down_form.submit();
	}
//	file ´Ù¿î·Îµå ÇÔ¼ö ÇÊµå¸íÀÌ ´Þ¶ó¼­ ¿©·¯°³ ¸¸µé¾úÀ½ ..±ÍÂúÀ½..
//	file1	= file_check
//	file_name	=file_check2
//	file_name1	=file_check12
//	file_name2	=file_check22
//	topimage	=file_check_top
//	top_img		=file_check_top2
	function file_check(){
		var file = document.insform.file1.value;
		 extArray = new Array(".txt",".gif",".jpg",".jpeg",".hwp",".doc",".xls",".pdf",".zip",".alz",".ppt");
		 allowSubmit = false;
		 if (!file){
			return;
		 }

		 while (file.indexOf("\\") != -1){
			file = file.slice(file.indexOf("\\") + 1);
			ext = file.slice(file.indexOf(".")).toLowerCase();
				for (var i = 0; i < extArray.length; i++){
				   if (extArray[i] == ext){
					allowSubmit = true;
					break;
				   }
				}
		 }
		 if (!allowSubmit){
			alert("ÀÌ ÆÄÀÏ Çü½ÄÀº ¾÷·Îµå ÇÒ ¼ö ¾ø½À´Ï´Ù.");
			return false;
		 }
	}
	function file_check2(){
		var file = document.insform.file_name.value;
		 extArray = new Array(".txt",".gif",".jpg",".jpeg",".hwp",".doc",".xls",".pdf",".zip",".alz",".ppt");
		 allowSubmit = false;
		 if (!file){
			return;
		 }

		 while (file.indexOf("\\") != -1){
			file = file.slice(file.indexOf("\\") + 1);
			ext = file.slice(file.indexOf(".")).toLowerCase();
				for (var i = 0; i < extArray.length; i++){
				   if (extArray[i] == ext){
					allowSubmit = true;
					break;
				   }
				}
		 }
		 if (!allowSubmit){
			alert("ÀÌ ÆÄÀÏ Çü½ÄÀº ¾÷·Îµå ÇÒ ¼ö ¾ø½À´Ï´Ù.");
			return false;
		 }
	}
	function file_check_top(){
		var file = document.insform.topimage.value;
		 extArray = new Array(".txt",".gif",".jpg",".jpeg",".hwp",".doc",".xls",".pdf",".zip",".alz",".ppt");
		 allowSubmit = false;
		 if (!file){
			return;
		 }

		 while (file.indexOf("\\") != -1){
			file = file.slice(file.indexOf("\\") + 1);
			ext = file.slice(file.indexOf(".")).toLowerCase();
				for (var i = 0; i < extArray.length; i++){
				   if (extArray[i] == ext){
					allowSubmit = true;
					break;
				   }
				}
		 }
		 if (!allowSubmit){
			alert("ÀÌ ÆÄÀÏ Çü½ÄÀº ¾÷·Îµå ÇÒ ¼ö ¾ø½À´Ï´Ù.");
			return false;
		 }
	}
	function file_check_top2(){
		var file = document.insform.top_img.value;
		 extArray = new Array(".txt",".gif",".jpg",".jpeg",".hwp",".doc",".xls",".pdf",".zip",".alz",".ppt");
		 allowSubmit = false;
		 if (!file){
			return;
		 }

		 while (file.indexOf("\\") != -1){
			file = file.slice(file.indexOf("\\") + 1);
			ext = file.slice(file.indexOf(".")).toLowerCase();
				for (var i = 0; i < extArray.length; i++){
				   if (extArray[i] == ext){
					allowSubmit = true;
					break;
				   }
				}
		 }
		 if (!allowSubmit){
			alert("ÀÌ ÆÄÀÏ Çü½ÄÀº ¾÷·Îµå ÇÒ ¼ö ¾ø½À´Ï´Ù.");
			return false;
		 }
	}

	function file_check12(){
		var file = document.insform.file_name1.value;
		 extArray = new Array(".txt",".gif",".jpg",".jpeg",".hwp",".doc",".xls",".pdf",".zip",".alz",".ppt");
		 allowSubmit = false;
		 if (!file){
			return;
		 }

		 while (file.indexOf("\\") != -1){
			file = file.slice(file.indexOf("\\") + 1);
			ext = file.slice(file.indexOf(".")).toLowerCase();
				for (var i = 0; i < extArray.length; i++){
				   if (extArray[i] == ext){
					allowSubmit = true;
					break;
				   }
				}
		 }
		 if (!allowSubmit){
			alert("ÀÌ ÆÄÀÏ Çü½ÄÀº ¾÷·Îµå ÇÒ ¼ö ¾ø½À´Ï´Ù.");
			return false;
		 }
	}

	function file_check22(){
		var file = document.insform.file_name2.value;
		 extArray = new Array(".txt",".gif",".jpg",".jpeg",".hwp",".doc",".xls",".pdf",".zip",".alz",".ppt");
		 allowSubmit = false;
		 if (!file){
			return;
		 }

		 while (file.indexOf("\\") != -1){
			file = file.slice(file.indexOf("\\") + 1);
			ext = file.slice(file.indexOf(".")).toLowerCase();
				for (var i = 0; i < extArray.length; i++){
				   if (extArray[i] == ext){
					allowSubmit = true;
					break;
				   }
				}
		 }
		 if (!allowSubmit){
			alert("ÀÌ ÆÄÀÏ Çü½ÄÀº ¾÷·Îµå ÇÒ ¼ö ¾ø½À´Ï´Ù.");
			return false;
		 }
	}
*/
//-->

