<!--

// ÀüÃ¼Ã¢ ¶ç¿ì±â
function OpenFull(url) {
	window.open(url,'kiosk','fullscreen=yes,scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no')
}

//faq
 function clickblock(num)  
        {  
                for (i=1;i<2;i++)  {      //5¶ó´Â ¼ö´Â ÁÙ¼öº¸´Ù 1 ´õÇÑ°ªÀ» Àû¾îÁÖ¼¼¿ä//
                 var left_menu=document.getElementById("block"+i).style;
                 if (num==i) {  
                  if (left_menu.display=="block") { 
       left_menu.display="none";   
                  }else{  
                   left_menu.display="block";
                  }  
                 }else {
      left_menu.display="none";
     }  
                }  
        }  

// go_top
function GoTop() {
	window.scrollTo(0,0);
}

// ¿ø·¡ ÀÌ¹ÌÁö·Î µÇµ¹¸®±â (·Ñ¿À¹öÀÌ¹ÌÁö)
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_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];}
}

// ÀÌ¹ÌÁö¸¦ ¹Ì¸® ·Îµù
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.0
	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 bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;

// »õÃ¢¶ç¿ì±â
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// »õÃ¢¶ç¿ì±â

function open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

// ÆË¾÷Ã¢¿¡¼­ ºÎ¸ðÃ¢¸µÅ©

function gourl(url) { 
opener.top.location=url; 
self.close(); 
} 

//·¹ÀÌ¾î ¼û±â±â

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; }
}

//¼¿·ºÆ® ¹Ú½º ¸µÅ©½ÃÅ°±â

function MM_jumpMenu(targ,selObj,restore){ //v3.0

//targ Å¸°ÙÀÌ µÇ´Â ÇÁ·¹ÀÓ
//selObj ¼¿·ºÆ® °´Ã¼
//restore ¼¿·ºÆ® ÈÄ ´Ù½Ã "°Ë»ö¿£Áø"·Î º¹±Í¿©ºÎ

if(selObj.options[selObj.selectedIndex].value != "default"){
	  if(selObj.options[selObj.selectedIndex].target == "_blank"){
			window.open(selObj.options[selObj.selectedIndex].value,"new","");
	  }else{
	 	  //¿©±â¼­ »õÃ¢À» ¸ø ¶ç¿ö¼­.. À§¿¡ ÄÚµå Ãß°¡Çß¾î¿ä.
		  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
	  }
	  if (restore) selObj.selectedIndex=0;
	}
}
//faq
var menux="juldaeogosu";
function visual2(sub){

	if (menux != sub){
		show_Menu2();
		eval(sub).style.display="block";
		menux=sub;
	}
	else{
		menux="juldaegosu";
		show_Menu2();
	}
}
function show_Menu2(){
	
	for(i=1;i<30;i++) {
		if(document.getElementById("menu"+i)) {
			document.getElementById("menu"+i).style.display="none";		
		}		
		bb="document.getElementById(sub).style";
	}	
}


function GoTop() {
	window.scrollTo(0,0);
}


//Å«ÀÌ¹ÌÁöº¸±â
function img_change(file)	{
	document.large_img.src=file;
}
function img_over(im){
	document.all.main.src=im;
	}
function img_out(){
//	document.all.main.src="#.gif"
	}


//»õÃ¢¶ç¿ì±â
function openWindow2(anchor, options) {

 var args = '';

 if (typeof(options) == 'undefined') { var options = new Object(); }
 if (typeof(options.name) == 'undefined') { options.name = 'win' + Math.round(Math.random()*100000); }

 if (typeof(options.height) != 'undefined' && typeof(options.fullscreen) == 'undefined') {
  args += "height=" + options.height + ",";
 }

 if (typeof(options.width) != 'undefined' && typeof(options.fullscreen) == 'undefined') {
  args += "width=" + options.width + ",";
 }

 if (typeof(options.fullscreen) != 'undefined') {
  args += "width=" + screen.availWidth + ",";
  args += "height=" + screen.availHeight + ",";
 }

 if (typeof(options.center) == 'undefined') {
  options.x = 0;
  options.y = 0;
  args += "screenx=" + options.x + ",";
  args += "screeny=" + options.y + ",";
  args += "left=" + options.x + ",";
  args += "top=" + options.y + ",";
 }

 if (typeof(options.center) != 'undefined' && typeof(options.fullscreen) == 'undefined') {
  options.y=Math.floor((screen.availHeight-(options.height || screen.height))/2)-(screen.height-screen.availHeight);
  options.x=Math.floor((screen.availWidth-(options.width || screen.width))/2)-(screen.width-screen.availWidth);
  args += "screenx=" + options.x + ",";
  args += "screeny=" + options.y + ",";
  args += "left=" + options.x + ",";
  args += "top=" + options.y + ",";
 }

 if (typeof(options.scrollbars) != 'undefined') { args += "scrollbars=1,"; }
 if (typeof(options.menubar) != 'undefined') { args += "menubar=1,"; }
 if (typeof(options.locationbar) != 'undefined') { args += "location=1,"; }
 if (typeof(options.resizable) != 'undefined') { args += "resizable=1,"; }

 var win = window.open(anchor, options.name, args);
 return false;

}

// FAQ

var old_menu = '';
function menuclick( submenu ) {
	if( old_menu != submenu ) {
		if( old_menu !='' ) {
			old_menu.style.display = 'none';
		}
		submenu.style.display = 'block';
		old_menu = submenu;
	} else {
		submenu.style.display = 'none';
		old_menu = '';
	}
}


/* »çÀÌÆ® È®´ë,Ãà¼Ò º¸±â start */

var nowZoom = 100; // ÇöÀçºñÀ² 
var maxZoom = 500; // ÃÖ´ëºñÀ²(500À¸·ÎÇÏ¸é 5¹è Ä¿Áø´Ù) 
var minZoom = 80; // ÃÖ¼ÒºñÀ² 
 
//È­¸é Å°¿î´Ù. 
function zoomIn() 
{ 
    if (nowZoom < maxZoom) 
    { 
        nowZoom += 10; //25%¾¿ Ä¿Áø´Ù. 
    } 
    else 
    { 
        return; 
    } 
    document.body.style.zoom = nowZoom + "%"; 
} 
 
//È­¸é ÁÙÀÎ´Ù. 
function zoomOut() 
{ 
    if (nowZoom > minZoom) 
    { 
        nowZoom -= 10; //25%¾¿ ÀÛ¾ÆÁø´Ù. 
    } 
    else 
    { 
        return; 
    } 
    document.body.style.zoom = nowZoom + "%"; 
} 
 
//È­¸é ¿ø·¡´ë·Î 
function zoomDefault() 
{ 
    nowZoom = 100; 
    document.body.style.zoom = nowZoom + "%"; 
} 

/* »çÀÌÆ® È®´ë,Ãà¼Ò º¸±â End */


// ¾ÆÀÌÇÁ·¹ÀÓ Ã¢Á¶Àý  
function reSize() {
    try {
        var objBody = auto_iframe.document.body;
        var objFrame = document.all["auto_iframe"];
        ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight);
        objFrame.style.height = ifrmHeight;
    }
        catch(e) {}
}

function init_iframe() {
    reSize();
    setTimeout('init_iframe()',1)
}

init_iframe();


// png ÀÌ¹ÌÁö Ã³¸®

function setPng24(obj) { 
    obj.width=obj.height=1; 
    obj.className=obj.className.replace(/\bpng24\b/i,''); 
    obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');" 
    obj.src='';  
    return ''; 
}


// ¹è°æÇÃ·¡½¬Ã³¸®

function ActiveX(objects){
	var objects = document.getElementById(objects);
	if(navigator.appName == "Microsoft Internet Explorer"){
		document.write(objects.text);
		objects.id = "";
	}
}


function flash_position(){
	try{
		var body_obj = document.body;
		var cont_obj = document.getElementById('content');
		var flash_obj = document.getElementById('back_flash');
		var foot_obj = document.getElementById('foot');
		if ( body_obj.clientHeight <= cont_obj.clientHeight ){
			flash_obj.height = cont_obj.clientHeight;
			foot_obj.style.top = (cont_obj.clientHeight - foot_obj.clientHeight);
		}else{
			flash_obj.height = "100%";
			foot_obj.style.top = (document.body.clientHeight - foot_obj.clientHeight);
		}
	}catch(e){
	
	}
	
}

window.onload = function(){
	flash_position();
	try{
		rolling_list();
	}catch(e){
	
	}
	
}
window.onresize = function(){
	flash_position();
}


//¿À¹ö½Ã ³ªÅ¸³ª´Â ·¹ÀÌ¾î ¼³¸í±Û
function itemMouseMove(e, width, height, html)
{
	var obj_outline = document.getElementById("itemoutline");
	var obj_back = document.getElementById("itemback");
	var obj_content = document.getElementById("itemcontent");
	
	obj_outline.style.left = event.clientX + document.body.scrollLeft;
	obj_outline.style.top = event.clientY + document.body.scrollTop;
	obj_outline.style.width = width+"px";
	obj_outline.style.height = height+"px";

	obj_back.style.filter = "alpha(opacity=75)";
		
	obj_content.style.left = event.clientX + document.body.scrollLeft;
	obj_content.style.top = event.clientY + document.body.scrollTop;
	obj_content.style.width = width+"px";
	obj_content.style.height = height+"px";	
	obj_content.innerHTML = html;	

	obj_outline.style.display = "block";
	obj_content.style.display = "block";
}

function itemMouseOut()
{
	document.getElementById("itemcontent").style.display = "none";
	document.getElementById("itemoutline").style.display = "none";
	document.getElementById("itemcontent").innerHTML = "";
}


//ÇÃ·¡½¬ÆÄÀÏ
function FlashMainbody(Ftrans,wid,hei) {
	mainbody = "<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='"+ wid +"' height='"+ hei +"'>";
	mainbody += "<param name='movie' value='"+ Ftrans +"'>";
	mainbody += "<param name='quality' value='high'>";
	mainbody += "<param name='wmode' value='transparent'>";
	mainbody += "<param name='menu' value='false'>";
	mainbody += "<embed src='"+ Ftrans +"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+ wid +"' height='"+ hei +"' wmode='transparent'></embed>"
	mainbody += "</object>";

	//document.body.innerHTML = mainbody;
	document.write(mainbody);
	return;
}

// Select ¹Ú½º URL °É±â
function namosw_goto_byselect(sel, targetstr)
{
  var index = sel.selectedIndex;
  if (sel.options[index].value != '') {
     if (targetstr == 'blank') {
       window.open(sel.options[index].value, 'win1');
     } else {
       var frameobj;
       if (targetstr == '') targetstr = 'self';
       if ((frameobj = eval(targetstr)) != null)
         frameobj.location = sel.options[index].value;
     }
  }
}


//ÇÃ·¡½¬ÆÄÀÏ_ÀÍ½º + Æø½º
var GLOBAL_URL = "";
var GLOBAL_HTTP_SCHEME = "http";
var ACTIVEX_PATCH = new Object();
ACTIVEX_PATCH.write = function(url,width,height,type)
{
	if (null == type)
	{
		ACTIVEX_PATCH._writeFlashPlayer(url,width,height);
	}
	else
	{
		ACTIVEX_PATCH._writeWMPlayer(url,width,height);
	}
}
ACTIVEX_PATCH._writeFlashPlayer = function(url,width,height,id)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="'+GLOBAL_HTTP_SCHEME+'://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+width+'" height="'+height+'" id="main_index" align="middle">');
	document.write('<param name="movie" value="'+GLOBAL_URL+url+'">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="wmode" value="transparent">');
	document.write('<embed src="'+GLOBAL_URL+url+'" width="'+width+'" height="'+height+'" quality="high" pluginspage="'+GLOBAL_HTTP_SCHEME+'://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>');
	document.write('</object>');
}
//¿À¸¥ÂÊ ¸¶¿ì½º ±ÝÁö~!! ÀÌ´®½ÄÈ÷µéÀÌ ¿Ö ¿ì¸¶¿ì½º¸¦ ´­·¯½Î~!!!!!!!!
ApplyContent=function(app_set){
	var frm = act_content;
	frm.subject.value=app_set.subject;
	frm.rel_idx.value=app_set.idx;
	frm.subject.focus();
}
	doContextMenu=function(e){
		var e = e || event;
		switch(e.srcElement.tagName){
			case "INPUT":
			case "TEXTAREA":
				return;
			default :
				return false;
		}
	}
	doDragStart=function(e){
		var e = e || event;
		switch(e.srcElement.tagName){
			case "INPUT":
			case "TEXTAREA":
				return;
			default :
				return false;
		}
	}
	doSelectStart=function(e){
		var e = e || event;
		switch(e.srcElement.tagName){
			case "INPUT":
			case "TEXTAREA":
				return;
			default :
				return false;
		}
	}
if(true){
	document.oncontextmenu=doContextMenu;
	document.ondragstart=doDragStart;
	document.onselectstart=doSelectStart;
}
//¸¶¿ì½º¿À¸¥ÂÊ ²ôÀ¿

// µ¿¿µ»óº¸±â
function MediaObject(URL, width, height) { 
	document.write(""
	+ "<OBJECT ID='VodPlayer' Name='VodPlayer' classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject ' bgcolor='DarkBlue' width='"+width+"' height='"+height+"'  VIEWASTEXT>"
	+ "<PARAM NAME='Filename' VALUE='"+URL+"'>"
	+ "<PARAM NAME='AutoStart' VALUE='1'>"
	+ "<PARAM NAME='AutoSize' VALUE='0'>"
	+ "<PARAM NAME='AnimationAtStart' VALUE='0'>"
	+ "<PARAM NAME='DisplayMode' VALUE='4'>"
	+ "<PARAM NAME='Enabled' VALUE='1'>"
	+ "<PARAM NAME='ShowControls' VALUE='0'>"
	+ "<PARAM NAME='ShowAudioControls' VALUE='0'>"
	+ "<PARAM NAME='ShowDisplay' VALUE='0'>"
	+ "<PARAM NAME='ShowGotoBar' VALUE='0'>"
	+ "<PARAM NAME='ShowPositionControls' VALUE='0'>"
	+ "<PARAM NAME='ShowStatusBar' VALUE='0'>"
	+ "<PARAM NAME='enableContextMenu' VALUE='0'>"
	+ "<PARAM NAME='Volume' VALUE='0'>"
	+ "<PARAM NAME='ShowCaptioning' VALUE='0'>"
	+ "<PARAM NAME='TransparentAtStart' value='1'>"
	+ "<EMBED invokeURLs='false' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/Products/VodPlayer/' id='VodPlayer' Name='VodPlayer' DisplaySize='4' AutoSize='1' ShowControls='0' ShowDisplay='0' ShowStatusBar='1' autostart='1' enablecontextmenu='0'>"
	+ "</EMBED>"
	+ "</OBJECT></td>");
}
	<!--
	function VodPlayer_Stop() {document.VodPlayer.stop();}
	function VodPlayer_Pause() {document.VodPlayer.pause();}
	function VodPlayer_Play() {document.VodPlayer.play();}
	-->
	
	
-->

