<!------------------Drop script start----------------->
var isDOM = (document.getElementById ? true : false); 
var isIE4 = ((document.all && !isDOM) ? true : false);
var isNS4 = (document.layers ? true : false);

function getRef(id)
{
	if (isDOM) return document.getElementById(id);
	if (isIE4) return document.all[id];
	if (isNS4) return document.layers[id];
}

var isNS = navigator.appName == "Netscape";

function moveRightEdge()
{
	var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;
	if (isNS4)
	{
		yMenuFrom   = divMenu.top;
		yMenuTo     = windows.pageYOffset + 320;   // À§ÂÊ À§Ä¡
	}
	else if (isDOM)
	{
		yMenuFrom   = parseInt (divMenu.style.top, 10);
		yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop) + 320; // À§ÂÊ À§Ä¡
	}

	timeoutNextCheck = 10;

	if (yMenuFrom != yMenuTo)
	{
		yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 15);
		if (yMenuTo < yMenuFrom)
			yOffset = -yOffset;
		if (isNS4)
			divMenu.top += yOffset;
		else if (isDOM)
			divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset;
			timeoutNextCheck = 10;
	}
	setTimeout ("moveRightEdge()", timeoutNextCheck);
}
<!----------------Drop script End---------------------------->


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_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_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 MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//À©µµ¿ìÃ¢ ÀÚµ¿À¸·Î È­¸é°¡µæ Ã¤¿ì±â------------------------------------------------------------
//var larg_schermo = screen.availWidth;
//var  altez_schermo =  screen.availHeight;
//window.resizable = false;
//window.focus();

//self.moveTo(0,0)
//self.resizeTo(larg_schermo,altez_schermo)
//---------------------------------------------------------------------------------------------


// Script For Flash & ActiveX -------------------------------------------------------------------------------------

// Example --------------------------------------------------------------------------------------------------------
// DocumentWrite(MakeFlashString('image/ml_flash.swf','330','520'));
// SetInnerHTML(document.all.mm, MakeFlashString('image/ml_flash.swf','emb1','330','520','opaque'));
// @@ÁÖÀÇ »çÇ× 
//  - »óÈ£ÀÛ¿ë ¾ø´Â ÄÁÅÙÃ÷´Â DocumentWrite, SetInnerHTML µÑ´Ù »ç¿ë °¡´É
//  - »óÈ£ÀÛ¿ë ÀÖ´Â ÄÁÅÙÃ÷´Â SetInnerHTML¸¸ »ç¿ë °¡´É
// ----------------------------------------------------------------------------------------------------------------

function MakeFlashString(source,width,height)
{	
	return "<embed src="+source+" quality=high menu=false wmode=transparent type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+width+" height="+height+"></embed>";
}

function MakeObjectString(classid, codebase, name, id, width,height, param)
{
	return "<object classid="+classid+" codebase="+codebase+" name="+name+" width="+width+" height="+height+" id="+id+"><param name=wmode value="+wmode+" />"+param+"</object>";
}

// innerHTML Type
function SetInnerHTML(target, code)
{ 
	target.innerHTML = code; 
}

// Direct Write Type
function DocumentWrite(src)
{
	document.write(src);
}

//[ADD] ZOO@2010-02-11
/************************************/
/*	ÀÔ·Â °ü·Ã						   							   */
/************************************/
function getLength(checkStr)
{
	var strLength = 0;
	for (i = 0; i < checkStr.length; i++)
	{
		ch = checkStr.charAt(i);
		if (ch >= "°¡" && ch <= "ÆR")
			strLength += 2;
		else
			strLength += 1;
	}

	return (strLength);
}
 //ÇÑ±Û Ã¼Å©
function han_check(Objectname)
{
	var intErr;
	var strValue = Objectname;
	// var strValue = Objectname.value
	var retCode = 0;

	for (i = 0; i < strValue.length; i++)
	{
		var retCode = strValue.charCodeAt(i);
		var retChar = strValue.substr(i,1).toUpperCase();
		retCode = parseInt(retCode);

		if ((retChar < "0" || retChar > "9") && (retChar < "A" || retChar > "Z") && ((retCode > 255) || (retCode < 0)))
		{
			intErr = -1;
			break;
		}
	}

	return intErr;
}

//Æ¯¼ö¹®ÀÚ Ã¼Å©
function char_check(strValue)
{
    for (i = 0; i < strValue.length; i++)
    {    
        var ch = strValue.charCodeAt(i);
        
        if((ch >= 0 && ch <= 47) || (ch >= 58 && ch <= 64) || (ch >= 91 && ch <= 94) || (ch == 96) || (ch >= 123 && ch <= 255))
            return false;
    }
    
    return true;
}


function space_count(Objectname)
{
	var count = 0;
	var strValue = Objectname

	for( i = 0; i < strValue.length; i++ )
	{
		if( strValue.charAt(i) == ' ' )
			count++;
	}

	return count;
}

//------------------------------------------------------------------------------------------------------------
//¿ëµµ        : ¼ýÀÚÀÔ·ÂÃ¼Å©
//¼³¸í        : fnIsNumber( ¹®ÀÚ¿­ );
//Syntax      : if( fnIsNumber("123") == true ) alert("¼ýÀÚ´å");
//ÆÄ¶ó¹ÌÅÍ    : strNumber : È®ÀÏÇÒ ¹®ÀÚ¿­
//¸®ÅÏ°ª      : boolean
//------------------------------------------------------------------------------------------------------------
function isNumber( strNumber )
{
	for (var i=0; i< strNumber.length; i++)
	{
		if(    strNumber.charAt(i) < '0' 
		    || strNumber.charAt(i) > '9' )
		{
			return false;
		}
	}
	return true;
}

//------------------------------------------------------------------------------------------------------------
//¿ëµµ        : Email ÁÖ¼Ò Ã¼Å©
//¼³¸í        : fnCheckEmail( ÀÌ¸ÞÀÏ¹®ÀÚ¿­ )
//Syntax      : if( fnCheckEmail( "chinduk@hotmail.com" ) == true ) alert("ÀÌ¸ÞÀÏÀÌ´å");
//ÆÄ¶ó¹ÌÅÍ    : strEmail : È®ÀÎÇÒ ÀÌ¸ÞÀÏ
//¸®ÅÏ°ª      : boolean
//------------------------------------------------------------------------------------------------------------
function isCheckEmail( strEmail )
{
    var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
    
    if (filter.test( strEmail ))
    {
        return true;
    }
    else
    {
        return false;
    }
}

//ÄÞ¸¶Ç¥Çö ¾ø´Â Á¤¼ö¸¸ÀÔ·Â 
function onlyEditableNumber(obj){ 
 var str = obj.value; 
 str = new String(str); 
 var Re = /[^0-9]/g;  
 str = str.replace(Re,''); 
 obj.value = str; 
} 

/************************************/
/*	ÀÔ·Â °ü·Ã (³¡)					   							   */
/************************************/

