<!--
// ¾ÆÀÌµð Ã¼Å©
function idcheck(form, n) {
	var form = eval(form + n);

	if(form.value.length < 4 || form.value.legth > 20) {
		return false;
	}
	for(var i=0; i<form.value.length; i++) {
		var chr = form.value.substr(i,1);
		if((chr < '0' || chr > '9') && (chr < 'a' || chr > 'z') && (chr < 'A' || chr > 'Z')) {
			return false;
		}
	}
	return true;
}

//ÆÐ½º¿öµå Ã¼Å©
function pwdcheck(form, n) {
	var form = eval(form + n);

	if(form.value.length < 4 || form.value.legth > 20) {
		return false;
	}
	for(var i=0; i<form.value.length; i++) {
		var chr = form.value.substr(i,1);
		if((chr < '0' || chr > '9') && (chr < 'a' || chr > 'z') && (chr < 'A' || chr > 'Z')) {
			return false;
		}
	}
	return true;
}


//À©µµ¿ì »õÃ¢¿­±â..
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';
  win = 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);
  win.focus();
}

// ÀúÀåµÈ ÄíÅ°¿¡¼­ ½ºÅ©·Ñ ¿©ºÎ¸¦ ÀÐ¾î¿Â´Ù.
function ReadCookie(name)
{
	var label = name + "=";
	var labelLen = label.length;
	var cLen = document.cookie.length;
	var i = 0;

	while (i < cLen) {
	  var j = i + labelLen;

	  if (document.cookie.substring(i, j) == label) {
	   var cEnd = document.cookie.indexOf(";", j);
	   if (cEnd == -1) cEnd = document.cookie.length;
	   return unescape(document.cookie.substring(j, cEnd));
	  }
	  i++;
	}
	return "";
}

// ½ºÅ©·Ñ ¿©ºÎ¸¦ ÄíÅ°·Î ÀúÀåÇÑ´Ù.
function SaveCookie(name, value, expire)
{
	var eDate = new Date();
	eDate.setDate(eDate.getDate() + expire);
	document.cookie = name + "=" + value + "; expires=" + eDate.toGMTString()+ "; path=/";
}

	// ¸Þ´ºÀÇ À§Ä¡¸¦ °»½ÅÇÑ´Ù.
function RefreshStaticMenu()
{
	var stmnStartPoint, stmnEndPoint, stmnRefreshTimer;

	stmnStartPoint = parseInt(STATICMENU.style.top, 10);
	stmnEndPoint = document.body.scrollTop + stmnGAP2;
	if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1;

	stmnRefreshTimer = stmnActivateSpeed;
	if (stmnStartPoint != stmnEndPoint ) {
	  stmnScrollAmount = Math.ceil(Math.abs(stmnEndPoint - stmnStartPoint) / 15);
	  STATICMENU.style.top = parseInt(STATICMENU.style.top, 10) + ((stmnEndPoint < stmnStartPoint) ? -stmnScrollAmount : stmnScrollAmount);
	  stmnRefreshTimer = stmnScrollSpeed;
	}
	stmnTimer = setTimeout ("RefreshStaticMenu();", stmnRefreshTimer);
}

	// ½ºÅ©·Ñ °íÁ¤ ¿©ºÎ¸¦ È®ÀÎÇÏ¿© »óÅÂ¸¦ ÀúÀåÇÑ´Ù.
function ToggleAnimate()
{
	if (!ANIMATE.checked) {
	  RefreshStaticMenu();
	  SaveCookie("ANIMATE", "true", 300);
	}
	else {
	  clearTimeout(stmnTimer);
	  STATICMENU.style.top = stmnGAP1;
	  SaveCookie("ANIMATE", "false", 300);
	}
}

	// ¸Þ´º¸¦ ÃÊ±âÈ­ÇÑ´Ù.
function InitializeStaticMenu()
{
	STATICMENU.style.left = stmnLEFT;
	if (ReadCookie("ANIMATE") == "false") {
	  ANIMATE.checked = true;
	  STATICMENU.style.top = document.body.scrollTop + stmnGAP1;
	}
	else {
	  document.all.ANIMATE.checked = false;
	  STATICMENU.style.top = document.body.scrollTop + stmnBASE;
	  RefreshStaticMenu();
	}
}

function swFlash_ActiveX(idName, width, height, url) {
	document.writeln("<OBJECT  id='" + idName + "'  classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codeBase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' VIEWASTEXT width='" + width + "' height='" + height + "'>");
	document.writeln("<param name=movie value='" + url + "'>");
	document.writeln("<param name=wmode value=transparent>");
	document.writeln("<embed src='" + url + "' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='" + width + "' height='" + height + "'></embed>");
	document.writeln("</OBJECT>");
}
//-->





