<!--

// ÀüÃ¼Ã¢ ¶ç¿ì±â
function OpenFull(url) {
	window.open(url,'kiosk','fullscreen=yes,scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no')
}

// 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 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;

}


// 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 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;
     }
  }
}
-->
