<!--
//--------------------------------------------------------------------------------//
// ÇÃ·¹½Ã ÀÎº£µå
//--------------------------------------------------------------------------------//
function FlashEmbed(fid,fn,wd,ht,para) {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="' + wd + '" height="' + ht + '" id="' + fid + '" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain">');
	document.write('<param name="movie" value="' + fn + para + '">');
	document.write('<param name="menu" value="false">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="wmode" value="transparent">');
	document.write('<embed src="' + fn + para + '" menu="false" quality="high" wmode="transparent" width="' + wd + '" height="' + ht + '" name="' + fid + '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}
//--------------------------------------------------------------------------------//
// ¹Ìµð¾îÇÃ·¹ÀÌ¾î ÀÎº£µå
//--------------------------------------------------------------------------------//
function WMVEmbed(fid,fn,wd,ht) {
	document.write('<object ID="' + fid + '" WIDTH="' + wd + '" HEIGHT="' + ht + '"  classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CODEBASE=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab standby="Loading Microsoft?Windows? Media Player components..." type="application/x-oleobject">');
	document.write('<param name="Filename" value="' + fn + '">');
	document.write('<param name="AutoStart" value="false">');
	document.write('<param name="ShowControls" value="true">');
	document.write('<param name="ShowPositionControls" value="false">');
	document.write('<param name="ShowTracker" value="true">');
	document.write('<param name="ShowGotoBar" value="false">');
	document.write('<param name="ShowDisplay" value="false">');
	document.write('<param name="ShowStatusBar" value="false">');
	document.write('<embed type="application/x-mplayer2">');
	document.write('</object>');
}
//--------------------------------------------------------------------------------//
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_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.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}

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 Image_CH(c,end) {
      var img_Obj = eval(document.all["menu"+c+"1"])
      img_Obj.style.display = 'none';
      var img_Obj = eval(document.all["menu"+c+"2"])
      img_Obj.style.display = '';

	  for(i=1; i<end; i++) {
	      if (i != c) {
			  var img_Obj = eval(document.all["menu"+i+"1"])
			  img_Obj.style.display = '';
			  var img_Obj = eval(document.all["menu"+i+"2"])
			  img_Obj.style.display = 'none';
          }
      }
	  if (c == 2) {
			  var img_Obj = eval(document.all["menu31"])
			  img_Obj.style.display = 'none';
			  var img_Obj = eval(document.all["menu41"])
			  img_Obj.style.display = '';
	  } else {
			  var img_Obj = eval(document.all["menu31"])
			  img_Obj.style.display = '';
			  var img_Obj = eval(document.all["menu41"])
			  img_Obj.style.display = 'none';
	  }
      var item_Obj1 = eval(document.all["focusitem"])
      var item_Obj2 = eval(document.all["noticeitem"])
	  if (item_Obj1.style.display == '') {
			  item_Obj1.style.display = 'none';
			  item_Obj2.style.display = '';
	  } else {
			  item_Obj1.style.display = '';
			  item_Obj2.style.display = 'none';
	  } 
}
//--------------------------------------------------------------------------------//
// ·Î±×ÀÎ....
//--------------------------------------------------------------------------------//
function starlogin() { 
    var id = eval(document.signform.id);    
    var passwd = eval(document.signform.passwd);    

   if (!id.value) {   
       alert("¾ÆÀÌµð(ID)¸¦ ÀÔ·ÂÇÏ¼¼¿ä!");  
       document.signform.id.focus();    
       return;  
   }  
   if (!passwd.value) {  
       alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÏ¼¼¿ä!");       
       document.signform.passwd.focus();    
       return;  
   } else {
       document.signform.submit()
   }      
}
//--------------------------------------------------------------------------------//
// ¾ÆÀÌµð ÀÔ·ÂÃ¢ ÃÐÁ¡....
//--------------------------------------------------------------------------------//
function Log_focus() {
       document.signform.id.focus();    
}
//--------------------------------------------------------------------------------//
// °Ë»öÁ¶°Ç ¸ÂÃß¾î º¸³»±â....
//--------------------------------------------------------------------------------//
function TotalSearch(subwhat,treecode) {
      var form = document.totalsearchform;

      var mainwhat = form.mainwhat.value;
      if (mainwhat == 5) {    // Á¤±ÔÀ¯ÇÐÀÏ°æ¿ì.....
	        subwhat = '2';
			treecode = '00020002-' + treecode;
      }

      form.action = "index_subpage.htm?mainwhat=" + mainwhat + "&subwhat=" + subwhat + "&treecode=" + treecode;
      form.submit();

}
//--------------------------------------------------------------------------------//
// ·Î±×ÀÎ ¸Þ½ÃÁöÃ¢....
//--------------------------------------------------------------------------------//
function LogGuide() {
       alert("·Î±×ÀÎ ÇÏ¼Å¾ß º¼ ¼ö ÀÖ½À´Ï´Ù!");       
       return;  
}
//--------------------------------------------------------------------------------//
// ÁöÈ¸¹Ù·Î°¡±â
//--------------------------------------------------------------------------------//
function LetsGo_PART() {
      var form = document.partform;
      form.action = form.part.value;
	  form.submit();
}
//--------------------------------------------------------------------------------//
// ÆË¾÷°øÁöÃ¢ ¶ç¿ì±â
//--------------------------------------------------------------------------------//
function PopUpWindow(w,h) {
      var win_width   = w;
	  var win_height  = h;
      var window_left = 0;
      var window_top  = 0;
	  var window_scroll = 'no';
	  var ref         = "index_popup.html";
	  var win_name    = "PopUpWin";
	  //alert(w+"/"+h);
      window.open(ref,win_name,'width=' + win_width + ',height=' + win_height + ',status=no,scrollbars=' + window_scroll + ',top=' + window_top + ',left=' + window_left + '');
}

//-->

