// ¿Þ¸Þ´º(ÀÌ¹ÌÁö ·Ñ¿À¹ö & ·¹ÀÌ¾î)°ü·Ã ÀÚ¹Ù½ºÅ©¸³Æ®


function img_exchange_src(name, rpath, nsdoc) 
{ 
  str = (navigator.appName == 'Netscape') ? nsdoc+'.'+name : 'document.all.'+name;
  img = eval(str);
  if (img) {
    if (img.altsrc == null) {
      img.altsrc = img.src;
      img.src    = rpath;
    } else {
      var temp   = img.src;
      img.src    = img.altsrc;
      img.altsrc = temp;
    }
  } 
}

function img_preload_img()
{ 
  var img_list = namosw_preload_img.arguments;
  if (document.preloadlist == null) 
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length; i++) {
    document.preloadlist[top+i]     = new Image;
    document.preloadlist[top+i].src = img_list[i];
  } 
}

function ShowLayer(name, show)
{
	if(show=='show')
	{
		var sWidth=document.body.clientWidth;
		if(sWidth>1000)
		{
			name.style.left=((sWidth-1000)/2)+100;
		}
		else
		{
			name.style.left=100;
		}		
		name.style.visibility="visible";
	}
	else
	{			
		name.style.visibility="hidden";
	}
}


//BODY³» ·Ñ¿À¹ö ½ÃÅ³ ¹öÆ° ÀÌ¹ÌÁö ¼³Á¤°ü·Ã
//<A href="#url" onfocus=blur() onmouseout="img_exchange_src('name', 'img/button_over.gif', '')" onmouseover="img_exchange_src('name', 'img/button_over.gif', '')"><img src="img/button_off.gif" name="name" border="0"></A>

function goParent(path)
{
	window.opener.location.href=path;
	window.close();
}


// ÆË¾÷Ã¢ (ÇÏÀÌÆÛ¸µÅ©·Î ÆË¾÷Ã¢¿­±â) 
function MM_openBrWindow(theURL,winName,features) { //v1.0
window.open(theURL,winName,features);
}
//<a href="#" onclick="MM_openBrWindow('ÆÄÀÏ¸í','','width=800,height=480,scrollbars=no,status=yes,menubar=no,toolbar=no')">



function goParent(path)
{
	window.opener.location.href=path;
	window.close();
}
