// IE ¼³°èº¯°æÀ¸·Î ÀÎÇÑ ¼öÁ¤ ÇÃ·¡½Ã ½ºÅ©¸³Æ®
function flashshow(_swfFile,_width,_height,_bgcolor){ 
  document.write('<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 width='+_width+' height='+_height+' id='+_swfFile+' align=>'); 
  document.write('<param name=quality value=high>'); 
  document.write('<param name=salign VALUE=LT>'); 
  document.write('<param name=menu VALUE=false>'); 
  document.write('<param name=wmode value=transparent>'); 
  document.write('<param name=movie value='+_swfFile+'>'); 
  document.write('<EMBED src='+_swfFile+' quality=high salign=LT bgcolor='+_bgcolor+'  WIDTH='+_width+' HEIGHT='+_height+' NAME='+_swfFile+' ALIGN= TYPE=application/x-shockwave-flash PLUGINSPAGE=http://www.macromedia.com/go/getflashplayer></EMBED>'); 
  document.write('</object>'); 
} 


// ÀÌ¸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ »õÃ¢ ¿­±â
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


//·Ñ ¿À¹ö
function na_restore_img_src(name, nsdoc)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  } 
}

function na_preload_img()
{ 
  var img_list = na_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+1];
  } 
}

function na_change_img_src(name, nsdoc, rpath, preload)
{ 
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  } 
}

// ¸µÅ© Á¡¼± ¾ø¾Ö±â
function bluring()	{
		if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG")
			document.body.focus();
}
document.onfocusin=bluring;

// ³×ºñ°ÔÀÌ¼Ç
// ÇÊÅÍÀû¿ëÇÔ¼ö 
function trans(id,after) 
{ 
eval(id+'.filters.blendTrans.stop();'); 
eval(id+'.filters.blendTrans.Apply();'); 
eval(id+'.src="'+after+'";'); 
eval(id+'.filters.blendTrans.Play();'); 
} 
function Find_Obj(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=Find_Obj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}
// ºÎ¸Þ´º ·¹ÀÌ¾î ¼û±è/º¸ÀÌ±â ÇÔ¼ö
function Show_Hide() { 
  var i,p,v,obj,args=Show_Hide.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=Find_Obj(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_showHideLayers() { //v3.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_findObj(n, d) { //v3.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); return x;
}


