// ÇÃ·¡½Ã ÆÄÀÏ Å×µÎ¸® ¾È»ý±â°Ô ÇÏ´Â¼Ò½º START ///////////////////////////////////////////////////////////
function insertFlash(swf, width, height, bgcolor, id, flashvars)
{
	var strFlashTag = new String();

	if (navigator.appName.indexOf("Microsoft") != -1)
	{
		strFlashTag += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
		strFlashTag += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=version=8,0,0,0" ';
		strFlashTag += 'id="' + id + '" width="' + width + '" height="' + height + '">';
		strFlashTag += '<param name="movie" value="' + swf + '"/>';

		if(flashvars != null) {strFlashTag += '<param name="flashvars" value="' + flashvars + '"/>'};
		strFlashTag += '<param name="quality" value="best"/>';
		strFlashTag += '<param name="bgcolor" value="' + bgcolor + '"/>';
		strFlashTag += '<param name="menu" value="false"/>';
		strFlashTag += '<param name="salign" value="LT"/>';
		strFlashTag += '<param name="scale" value="noscale"/>';
		strFlashTag += '<param name="wmode" value="transparent"/>';
		strFlashTag += '<param name="allowScriptAccess" value="always"/>';
		strFlashTag += '</object>';
	}
	else
	{
		strFlashTag += '<embed src="' + swf + '" ';
		strFlashTag += 'quality="best" ';
		strFlashTag += 'bgcolor="' + bgcolor + '" ';
		strFlashTag += 'width="' + width + '" ';
		strFlashTag += 'height="' + height + '" ';
		strFlashTag += 'menu="false" ';
		strFlashTag += 'scale="noscale" ';
		strFlashTag += 'id="' + id + '" ';
		strFlashTag += 'salign="LT" ';
		strFlashTag += 'wmode="transparent" ';
		strFlashTag += 'allowScriptAccess="sameDomain" ';
		if(flashvars != null) {strFlashTag += 'flashvars="' + flashvars + '" '};
		strFlashTag += 'type="application/x-shockwave-flash" ';
		strFlashTag += 'pluginspage="http://www.macromedia.com/go/getflashplayer">';
		strFlashTag += '</embed>';
	}

	document.write(strFlashTag);
}
//BODY³» ¼³Á¤
// <script>insertFlash('/swf/bottom.swf', '955', '100', '#FFFFFF', 'top_sub', '');</script > ///////////////////////////////////////////////////////////
// ÇÃ·¡½Ã ÆÄÀÏ Å×µÎ¸® ¾È»ý±â°Ô ÇÏ´Â¼Ò½º  END ///////////////////////////////////////////////////////////





// ¿É¼Çº° ÆË¾÷Ã¢

var page,wid,hit,nam;
function win(page,nam,wid,hit){
var  windo=eval('window.open("'+page+'","'+nam+'","status=no,toolbar=no,resizable=no,scrollbars=no, menubar=no,width='+wid+',height='+hit+',top=0,left=0")');
  }


function win_scroll(page,nam,wid,hit){
var  windo=eval('window.open("'+page+'","'+nam+'","status=no,toolbar=no,resizable=no,scrollbars=yes, menubar=no,width='+wid+',height='+hit+',top=0,left=0")');
  }



function CheckSearch(theForm)
{
  if(theForm.search_text.value == "")
  {
    alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä!");
    theForm.search_text.focus();
    return false;
  }

  return true;
}

// BODY³» ¼³Á¤
// onClick="win('/ye_contents/wall_20040901_800.asp', 'wallpaper', 800, 600)"
// onClick="win_scroll('/ye_contents/wall_20040901_800.asp', 'wallpaper', 800, 600)"




//·Ñ¿À¹ö ÀÌ¹ÌÁö °ü·Ã ÀÚ¹Ù½ºÅ©¸³Æ®

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];
  } 
}
//BODY³» ·Ñ¿À¹ö ½ÃÅ³ ¹öÆ° ÀÌ¹ÌÁö ¼³Á¤°ü·Ã
//onmouseout="img_exchange_src('topmenu01', '/img/topmenu_01v.gif', '')" onmouseover="img_exchange_src('topmenu01', '/img/topmenu_01v.gif', '')"


function showMovie(url, width, height, swf){
	if(!width) width=515;
	if(!height) height=294;
	if(!swf) swf="player.swf";
	
	var flashStr="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+width+"' height='"+height+"' id='player' align='middle'>";
	flashStr+="<param name='allowScriptAccess' value='sameDomain' />";
	flashStr+="<param name='movie' value='/new/flv/"+swf+"' />";
	flashStr+="<param name='FlashVars' value='myURL="+url+"'>";
	flashStr+="<param name='quality' value='high' />";
	flashStr+="<param name='wmode' value='transparent' />";
	flashStr+="<param name='bgcolor' value='#99ff33' />";
	flashStr+="<embed src='/new/flv/"+swf+"' FlashVars='myURL="+url+"' quality='high' bgcolor='#99ff33' width='"+width+"' height='"+height+"' name='palyer' wmode='transparent' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/go/getflashplayer' />";
	flashStr+="</object>";
	

	document.write(flashStr);
}





<!-- / ·¹ÀÌ¾î ¼îÇÏÀÌµå
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(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 js_join(){
 var frm = document.join;
 if(frm.username.value==""){
	alert("input your name    ");
	frm.username.focus();
	return;
 }
 if(frm.username.value=="admin"){
	alert("can not username");
	frm.username.value="";
	frm.username.focus();
	return;
 }
 if(frm.userpwd.value==""){
	alert("input your password    ");
	frm.userpwd.focus();
	return;
 }
  if(frm.useremail.value==""){
	alert("input your email    ");
	frm.useremail.focus();
	return;
 }

 else{
	 frm.target="joinframe";
	 frm.action="/new/client/memberregist.php";
	 frm.submit();}
}

function js_login(){
 if(document.login.username.value==""){
	alert("input your name");
	document.login.username.focus();
	return;
 }
 if(document.login.userpwd.value==""){
	alert("input your password");
	document.login.userpwd.focus();
	return;
 }
 else{
	document.login.target="loginframe";
	document.login.action="/new/client/logincheck.php";
	document.login.submit();
 }
}

function js_back(obj){
	obj.style.backgroundImage = '';
}

function js_loginenter(){
	if(event.keyCode==13){
		js_login();
	}
}
function js_findpwd(){
	if(document.find.username.value==""){
		alert("input your name");
		document.find.username.focus();
		return;
	}
	if(document.find.useremail.value==""){
		alert("input your email");
		document.find.useremail.focus();
		return;
	}
	else{document.find.target="findpwd";
		 document.find.action="/new/client/findpwd.php";
		 document.find.submit();
	}
}

function js_press(){
	var frm = document.form1;
	if(frm.title.value==""){
		alert("input title");
		frm.title.focus();
		return;
	}
	if(frm.context.value==""){
		alert("input context");
		frm.context.focus();
		return;
	}
	else{
		//frm.target="press"
		frm.action="/new/press/pressregist.php";
		frm.submit();
		loader('/new/press/press.php');
	}
}

function imgresize(img){
	if(img.width>500){
		img.width=500;
	}
}
//-->