// object ¸¦ ÀÍ½ºÇÃ·Î·¯ ÆÐÄ¡¿¡ ¿µÇâ ¾È¹Þ°Ô ÇÏ±âÀ§ÇØ.
function objectlaunch(obcode)
{
    document.write(obcode);
}

///////////////////// ·¹´ë¿À ¹öÆ° Ã¼Å© ///////////////////////////////
function chkRadioButton(obj,msg)
{
	var flag = "N";	
	var total = obj.length;

	if(total == null) { if(obj.checked) { flag = obj.value; } }
	else { for(var countI=0; countI<total; countI++) { if(obj[countI].checked) { flag = obj[countI].value; } } }
	
	if(flag == "N") { alert(msg+" ¼±ÅÃÇØ ÁÖ¼¼¿ä."); return true; }
	else { return false; }
}
///////////////////// ·¹´ë¿À ¹öÆ° Ã¼Å© ///////////////////////////////

///////////////////// ·¹´ë¿À ¹öÆ° Ã¼Å© ///////////////////////////////
function checkRadio(formName,fieldName,fieldVal)
{
	var str = eval("document."+formName+"."+fieldName);		
	var flag = "N";
	
	if(str.length == null)	// ¸®½ºÆ®°¡ ÇÏ³ªÀÏ°æ¿ì ½ÇÇà
	{
		if(str.checked) flag = "Y";
	}
	else	// ¸®½ºÆ®°¡ ÇÏ³ªÀÌ»óÀÏ°æ¿ì ½ÇÇà
	{
		for(i=0;i<str.length;i++)
		{
			if(str[i].checked) { flag = "Y"; }
		}
	}
	
	if(flag == "N") { alert(fieldVal+"¸¦ ¼±ÅÃÇØ ÁÖ¼¼¿ä."); return false; }
	else { return true; }
}
///////////////////// ·¹´ë¿À ¹öÆ° Ã¼Å© ///////////////////////////////

//////////////////// ÁÖ¹Î¹øÈ£ Ã¼Å© ////////////////////
function validSerial(ssn1,ssn2)
{
	var PNO1 = ssn1;
	var PNO2 = ssn2;
	var PN1 = ssn1.value;
	var PN2 = ssn2.value;


	PN = PN1+'-'+PN2;
			
	if (PN.length !=14)
	{
		alert("À¯È¿ÇÏÁö ¾ÊÀº ÁÖ¹Îµî·Ï¹øÈ£ ÀÔ´Ï´Ù.");
		PNO1.focus();
		return false;
	}

	PN1=PN.substr(0,6);
	PN2=PN.substr(7,7);
	chk=0;
	for (i=0;i<=5;i++) chk=chk+((i%8+2)*parseInt(PN1.substring(i,i+1)));
			
	for (i=6;i<=11;i++) chk=chk+((i%8+2)*parseInt(PN2.substring(i-6,i-5)));
			
	chk=11-(chk%11);
	chk=chk%10;
			
	if (chk !=PN2.substring(6,7))
	{
		alert("À¯È¿ÇÏÁö ¾ÊÀº ÁÖ¹Îµî·Ï¹øÈ£ÀÔ´Ï´Ù.\\nÁÖ¹Îµî·Ï¹øÈ£¸¦ ´Ù½Ã ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À");
		PNO1.focus();
		return false;
	}
	return true;
}
//////////////////// ÁÖ¹Î¹øÈ£ Ã¼Å© ////////////////////


//////////////////// ÀÌ¸ÞÀÏ ÁÖ¼Ò Ã¼Å© ////////////////////
function checkEmail(strField)
{ 
	var invalidaddress=new Array();
//	invalidaddress[0]='daum';		// ±ÝÁöÇÒ µµ¸ÞÀÎÀ» ÀÔ·Â ÇÏ¼¼¿ä 
//	invalidaddress[1]='hanmail';

	var testresults;
	var invalidcheck=0; 
//	var str=document.form1.mem_email.value;
	var str = strField.value;

//	var filter = /^(\w+(?:\.\w+)*)@((?:\w+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
	var filter = new RegExp("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$");

	if (filter.test(str))
	{ 
		var tempstring=str.split('@');													//tempstring¿¡¼­ @ ±âÁØÀ¸·Î ºÐ¸®
		tempstring=tempstring[1].split('.');										//@À» ±âÁØÀ¸·Î ºÐ¸®ÇÑ¹®ÀÚ¿­¿¡¼­ . À» ±âÁØÀ¸·Î ºÐ¸®										
		for (i=0;i<invalidaddress.length;i++)
		{ 
			if (tempstring[0]==invalidaddress[i]) 
			invalidcheck=1 
		} 
		if (invalidcheck!=1){ testresults=true;}
		else{ alert('´Ù¸¥ ¸ÞÀÏ °èÁ¤À» »ç¿ëÇØ ÁÖ½Ã±æ ¹Ù¶ø´Ï´Ù.'); testresults=false;} 
	} 
	else
	{ 
		alert('ÀÌ¸ÞÀÏ ÁÖ¼Ò°¡ À¯È¿ÇÏÁö ¾Ê½À´Ï´Ù');
		testresults=false;
	} 
	return (testresults);
} 

function checkMail(f,fieldname)
{ 
	var str = eval("document."+f+"."+fieldname);
	
	if (document.layers||document.getElementById||document.all) 
	{		
		if(!checkEmail(str))
		{
			str.focus();
			return false;
		}
		else return true;
	}
	else { return true;  }
} 
//////////////////// ÀÌ¸ÞÀÏ ÁÖ¼Ò Ã¼Å© ////////////////////

//////////////// ¼ýÀÚ¸¸ ÀÔ·Â ////////////////
function isDigit (f,name)
{
	var str = eval("document."+f+"."+name);	
	for (var i = 0; i < str.value.length; i++)
	{
		if (str.value.charAt (i) < '0' || str.value.charAt (i) > '9')
		{
			alert("¼ýÀÚ·Î¸¸ ÀÔ·ÂÇØÁÖ¼¼¿ä.");
//			str.value = "";
			str.focus();
			return false;
		}
	}
	return true;
}
//////////////// ¼ýÀÚ¸¸ ÀÔ·Â ////////////////

//¼ýÀÚ¸¸ ÀÔ·Â¹Þ´Â´Ù.
function onlyNum()
{
	if ((event.keyCode < 48) || (event.keyCode > 57)) event.returnValue = false;
	return true;
}

//////////////////// ÇÑ±ÛÀÔ·Â¾ÈµÇ°Ô Ã¼Å© ////////////////////////
function hanCheck(f,fieldname)
{
	var str = eval("document."+f+"."+fieldname);

	for(i=0;i<str.value.length;i++)
	{
		var a=str.value.charCodeAt(i);
		if (a > 128) 
		{
			alert('ÇÑ±ÛÀº »ç¿ëÇÏ½Ç¼ö ¾ø½À´Ï´Ù. ¿µ¹® ¶Ç´Â ¼ýÀÚ Á¶ÇÕÀ¸·Î ÇØÁÖ¼¼¿ä.');
//			str.value="";
			str.focus();
			return true;
		}
	}

	if((str.value.length < 4) || (str.value.length > 20))
	{
		alert('¾ÆÀÌµð´Â 4ÀÚÀÌ»ó 20ÀÚ ÀÌÇÏ·Î ¸¸µé¾îÁÖ¼¼¿ä.');
		str.value="";
		str.focus();
		return true;
	}
	return false;
}
//////////////////// ÇÑ±ÛÀÔ·Â¾ÈµÇ°Ô Ã¼Å© ////////////////////////


///////////////////// ¸ð´Þ Æû ¶ç¿ì±â //////////////////////////
function modalOpen(url,mwidth,mheight,top,left,resizable,scrollbars,status)
{ 
	if (window.showModalDialog){ window.showModalDialog(url,window,"help:0;dialogTop:"+top+"px;dialogLeft:"+left+"px;dialogWidth:"+mwidth+"px;dialogHeight:"+mheight+"px;scrollbars:"+scrollbars+";resizable:"+resizable+";status:"+status)  }
	else { alert('This method is only supported by Internet Explorer 4 and above.')  }
} 
///////////////////// ¸ð´Þ Æû ¶ç¿ì±â //////////////////////////


///////////////////// »õÃ¢ ¶ç¿ì±â //////////////////////////
function newOpen(url,name,mwidth,mheight,top,left,resizable,scrollbars,status,position,msg)
{
	// Ã¢ È­¸é°¡¿îµ¥·Î ¶ç¿ì±â //
	if(position=="CENTER")
	{
		if (window.screen) 
		{
			var aw = screen.availWidth - 10;
			var ah = screen.availHeight - 30;
			var xc = (aw - mwidth) / 2;
			var yc = (ah - mheight) / 2;
		
			left = xc;
			var screenX=yc;			
			top = xc;
			var screenY=yc;
		}
	}
		
	if(msg.length > 0)
	{
		if(confirm(msg)) 
		{
			eval('window.open(url,name,"top='+top+'px,left='+left+'px,screenX='+screenX+'px,screenY='+screenY+',width='+mwidth+'px,height='+mheight+'px,resizable='+resizable+',scrollbars='+scrollbars+',status='+status+'")');
		}
		else { return false; }
	}
	else
	{
		eval('window.open(url,name,"top='+top+'px,left='+left+'px,screenX='+screenX+'px,screenY='+screenY+',width='+mwidth+'px,height='+mheight+'px,resizable='+resizable+',scrollbars='+scrollbars+',status='+status+'")');
	}
}
///////////////////// »õÃ¢ ¶ç¿ì±â //////////////////////////


///////////////////// ¾çÂÊ °ø¹é ¾ø¾Ö±â /////////////////////
function trim (strSource) 
{
	re = /^\s+|\s+$/g;
	return strSource.replace(re, '');
}
///////////////////// ¾çÂÊ °ø¹é ¾ø¾Ö±â /////////////////////


///////////////////// ·¹ÇÁÆ®°ø¹é ¾ø¾Ö±â /////////////////////
function ltrim (strSource) 
{
	re = /^\s+/g;
	return strSource.replace(re, '');
}
///////////////////// ·¹ÇÁÆ®°ø¹é ¾ø¾Ö±â /////////////////////

///////////////////// ¿À¸¥ÂÊ°ø¹é ¾ø¾Ö±â /////////////////////
function rtrim (strSource) 
{
	re = /\s+$/g;
	return strSource.replace(re, '');
}
///////////////////// ¿À¸¥ÂÊ°ø¹é ¾ø¾Ö±â /////////////////////

////////////////////// ¾÷·Îµå ºÒ°¡ ÆÄÀÏ ÇÊÅÍ¸µ ////////////////////////////////
function LimitAttach(file,extArray) 
{
	var flag = "Y";
	if (!file) return;

	while (file.indexOf("\\") != -1)
	{
		file = file.slice(file.indexOf("\\") + 1);
		ext = file.slice(file.indexOf(".")).toLowerCase();
		for (var i = 0; i < extArray.length; i++) 
		{
			if (extArray[i] == ext)
			{
				flag = "N";
				break;
			} 
			if(flag == "N") break;
		}
	}
	return flag;
}
////////////////////// ¾÷·Îµå ºÒ°¡ ÆÄÀÏ ÇÊÅÍ¸µ ////////////////////////////////

////////////////////// ÀÌ¹ÌÁöÆÄÀÏ¸¸ ¾÷·Îµå °¡´ÉÇÏ°Ô ////////////////////////////////
function imgAttach(file) 
{
	var flag;
	if (!file) return;

	while (file.indexOf("\\") != -1)
	{
		file = file.slice(file.indexOf("\\") + 1);
		ext = file.slice(file.lastIndexOf(".")).toLowerCase();
		if ((ext == ".jpg") || (ext == ".JPG") || (ext == ".gif") || (ext == ".GIF") || (ext == ".jpeg") || (ext == ".JPEG") || (ext == ".png") || (ext == ".PNG")) { flag = "Y"; break; }
		else { flag = "N"; break; }
	}
	return flag;
}
////////////////////// ÀÌ¹ÌÁöÆÄÀÏ¸¸ ¾÷·Îµå °¡´ÉÇÏ°Ô ////////////////////////////////

///////////////////// ·¹´ë¿À ¹öÆ° Ã¼Å© ///////////////////////////////
function chkRadioButton(obj,msg)
{
	var flag = "N";	
	var total = obj.length;

	if(total == null)
	{
		if(obj.checked) { flag = obj.value; }
	}
	else
	{
		for(var countI=0; countI<total; countI++) { if(obj[countI].checked) { flag = obj[countI].value; } }
	}
	
	if(flag == "N") { alert(msg+" ¼±ÅÃÇØ ÁÖ¼¼¿ä."); return true; }
	else { return false; }
}
///////////////////// ·¹´ë¿À ¹öÆ° Ã¼Å© ///////////////////////////////

///////////////////// Ã¼Å©¹Ú½º ///////////////////////////////
function chkCheckBox(obj,msg)
{
	var flag = "N";
	var total = obj.length;

	if(total == null) {  if(obj.checked) { flag = obj.value; } }
	else 
	{
		for(var countI=0; countI<total; countI++)
		{
			if(obj[countI].checked)  { 	flag += obj[countI].value+"&&";  } 
		}
	}
	
	if(flag == "N") 
	{
		alert(msg+" ¼±ÅÃÇØ ÁÖ¼¼¿ä."); 
		return true;
	}
	else 
	{
		return false; 
	}
}
///////////////////// Ã¼Å©¹Ú½º ///////////////////////////////

// ºó ¾ÆÀÌÅÛÀ» È®ÀÎÇÏ°í ¿À·ù¸Þ½ÃÁö POP UP 
function IsEmptyRtnMsg(obj,msg,len)
{
	var toCheck = obj.value;
	var chkstr = toCheck + "";
	var is_Space = true;
	if ((chkstr =="")||(chkstr == null)) {
		alert(msg + " ÀÔ·ÂÇÏ½Ê½Ã¿À.");
		obj.focus();
		//obj.select();
		return true;
	}
	for (j=0; is_Space && (j<chkstr.length); j++)	{
		if (chkstr.substring(j,j+1) != "")
			is_Space = false;
	}
	if (is_Space)	{
		alert(msg + " ÀÔ·ÂÇÏ½Ê½Ã¿À.");
		obj.focus();
		//obj.select();
		return true;
	}
	if (len != null)
	{
		if (StrLeng(obj.value) > len)	{
			alert(msg + " ÇÑ±Û " + len/2 + ",¿µ¹® "+len+"ÀÚ ÀÌ³»·Î ÀÔ·ÂÇÏ½Ê½Ã¿À.");
			obj.focus();
			//obj.select();
			return true;
		} else {
			return false;
		}
	}
	else return false;
}

// ¼ýÀÚÀÎÁö, ºñ¾îÀÖ´Â Áö ÆÇº°ÇÏ°í ¿À·ù¸Þ½ÃÁö Pop Up
function IsEmptyOrNotIntegerRtnMsg( obj, msg, len )	{
	var st = obj.value;
	if (!IsEmpty(st)) {
		for (j=0; (j<st.length); j++) {
			if ((st.substring(j,j+1) < "0")||(st.substring(j,j+1) > "9")) {
				alert(msg+" ¼ýÀÚ·Î ÀÔ·ÂÇÏ½Ê½Ã¿À.");
				obj.focus();
				//obj.select();
				return true;
			}
		}
	}	else	{
			alert(msg+" ÀÔ·ÂÇÏ½Ê½Ã¿À");
			obj.focus();
			//obj.select();
			return true;
	}
	if (len != null) {
		if (StrLeng(st) != len)	{
			alert(msg+""+len+"ÀÚ·Î ÀÔ·ÂÇÏ½Ê½Ã¿À.");
			obj.focus();
			//obj.select();
			return true;
		}
	}
	return false;
}

// ºñ¾î ÀÖ´ÂÁö¸¦  È®ÀÎ
function IsEmpty(toCheck)
{
	var chkstr = toCheck + "";
	var is_Space = true;
	if ((chkstr =="")||(chkstr == null)) {
		return true;
	}

	for (j=0; is_Space && (j<chkstr.length); j++) { if (chkstr.substring(j,j+1) != "") is_Space = false; }
	
	return ( is_Space );
}

//¼ýÀÚÀÎÁö È®ÀÎ
function IsInteger(st)
{
    if (!IsEmpty(st)){
       for (j=0; j<st.length; j++){
         if (((st.substring(j, j+1) < "0") || (st.substring(j, j+1) > "9")))
	     return false;
       }
    } else {
       return false ;
    }
    return true ;
}


////////////  enter Ä¡¸é ´ÙÀ½ ÇÊµå·Î ÀÚµ¿ÀÌµ¿ ////////////////////////
function handleEnter (field, event)
{
	var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
	if (keyCode == 13) 
	{
		var i;
        for (i = 0; i < field.form.elements.length; i++)
		{
			if (field == field.form.elements[i]) break;
		}
		i = (i + 1) % field.form.elements.length;
		field.form.elements[i].focus();
		return false;
	} 
    else return true;
}    
////////////  enter Ä¡¸é ´ÙÀ½ ÇÊµå·Î ÀÚµ¿ÀÌµ¿ ////////////////////////


/////////// ÁÖ¹Î¹øÈ£·Î »ý³â¿ùÀÏ ±¸ÇÏ±â //////////////////
function snFromBirth(sn1,sn2)
{
	if ((sn1 != "") && (sn2 != ""))
	{
		var year = "";
		var sex = "";
		var flag = sn2.substr(0,1);

		if((flag == "1") || (flag == "3")) sex = "M";
		else sex = "W";

		if ((flag == "1") || (flag == "2")) { year = "19"; }
		else { year = "20"; }

		year += sn1.substr(0,2);
		month = sn1.substr(2,2);
		day = sn1.substr(4,2);
		
		var birthday = year+"-"+month+"-"+day+"-"+sex;

		return birthday;
	}
}
/////////// ÁÖ¹Î¹øÈ£·Î »ý³â¿ùÀÏ ±¸ÇÏ±â //////////////////

/////////// ÁÖ¹Î¹øÈ£·Î ¼ºº° ±¸ÇÏ±â //////////////////
function snFromSex(sn1,sn2)
{
	var sex = "";
	var flag = "";
	
	if ((sn1 != "") && (sn2 != ""))
	{
		flag = sn2.substr(0,1);

		if((flag == "1") || (flag == "3")) sex = "M";
		else sex = "W";

		return sex;
	}
}
/////////// ÁÖ¹Î¹øÈ£·Î ¼ºº° ±¸ÇÏ±â //////////////////

// ¿µ¹®ÀÚ¿Í ¼ýÀÚ¸¸ ÀÔ·Â¹Þ°Ô // 
function valiCheckField(field) 
{
	var valid = "abcdefghijklmnopqrstuvwxyz0123456789"
	var ok = "yes";
	var temp;
	for (var i=0; i<field.value.length; i++) 
	{
		temp = "" + field.value.substring(i, i+1);
		if (valid.indexOf(temp) == "-1") ok = "no";
	}
	if (ok == "no") 
	{
		alert("¼Ò¹®ÀÚ ¿µ¹®°ú ¼ýÀÚ¸¸ ÀÔ·ÂÇÒ ¼ö ÀÖ½À´Ï´Ù");
		field.focus();
		field.select();
	}
}
// ¿µ¹®ÀÚ¿Í ¼ýÀÚ¸¸ ÀÔ·Â¹Þ°Ô // 

// ¿µ¹®ÀÚ¿Í ¼ýÀÚ¸¸ ÀÖ´ÂÁö Ã¼Å© // 
function valiCheck(field) 
{
	var valid = "abcdefghijklmnopqrstuvwxyz0123456789"
	var ok = "yes";
	var temp;
	for (var i=0; i<field.length; i++) 
	{
		temp = "" + field.substring(i, i+1);
		if (valid.indexOf(temp) == "-1") ok = "no";
	}
	if (ok == "no") 
	{
		alert("¼Ò¹®ÀÚ ¿µ¹®°ú ¼ýÀÚ¸¸ ÀÔ·ÂÇÒ ¼ö ÀÖ½À´Ï´Ù");
		return false;
	}

	return true;
}
// ¿µ¹®ÀÚ¿Í ¼ýÀÚ¸¸ ÀÖ´ÂÁö Ã¼Å© // 


// ÄíÅ° ±Á´Â ÇÔ¼ö //
function setCookie( name, value, expiredays ) 
{ 
        var todayDate = new Date(); 
        todayDate.setDate( todayDate.getDate() + expiredays ); 
        document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" 
}

// ÄíÅ° ¾ò¾î¿À´Â ÇÔ¼ö
function getCookie( name )
{ 
	var nameOfCookie = name + "="; 
    var x = 0; 
    while ( x <= document.cookie.length ) 
    { 
		var y = (x+nameOfCookie.length); 
        if ( document.cookie.substring( x, y ) == nameOfCookie )
		{ 
			if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) 
				endOfCookie = document.cookie.length; 
                return unescape( document.cookie.substring( y, endOfCookie ) ); 
		} 
        x = document.cookie.indexOf( " ", x ) + 1; 
        if ( x == 0 ) 
			break; 
	} 
    return; 
}

///// ÀÌ¹ÌÁöÀÇ È®ÀåÀÚ¸¦ °¡Á®¿À°í, ÆÄÀÏ»çÀÌÁî¸¦ ±¸ÇØ¼­ ºñ±³ //

//ÆÄÀÏÀÇ È®ÀåÀÚ¸¦ °¡Á®¿È
function getFileExtension( filePath )
{
	var lastIndex = -1;
	lastIndex = filePath.lastIndexOf('.');
	var extension = "";	
	if ( lastIndex != -1 ) { extension = filePath.substring( lastIndex+1, filePath.len ); }
	else { extension = ""; }
	return extension;
}

//ÆÄÀÏÀ» ¼±ÅÃ ÈÄ Æ÷Ä¿½º ÀÌµ¿½Ã È£Ãâ
function uploadImg_Change(value,maxFileSize,fieldName)
{
	var src = getFileExtension(value);	// ÆÄÀÏÈ®ÀåÀÚ ¾ò±â

	if (src == "") 
	{
		alert('¿Ã¹Ù¸¥ ÆÄÀÏÀ» ÀÔ·ÂÇÏ¼¼¿ä'); 
		return; 
	}
	else if ( !((src.toLowerCase() == "gif") || (src.toLowerCase() == "jpg") || (src.toLowerCase() == "jpeg")) ) 
	{
		alert('gif ¿Í jpg ÆÄÀÏ¸¸ Áö¿øÇÕ´Ï´Ù.');
		return;
	}
	LoadImg(value,maxFileSize,fieldName);	
}

function LoadImg(value,maxFileSize,fieldName)
{
	var tempStr = maxFileSize + "&&" + fieldName;
	var imgInfo = new Image();			// ÀÌ¹ÌÁö °´Ã¼ »ý¼º
	imgInfo.lowsrc = tempStr;	// ÀÌ¹ÌÁö °´Ã¼¿¡ ÀÖ´Â ¼Ó¼ºÁß¿¡ ÇÏ³ª¿¡´Ù ÃÖ´ëÆÄÀÏ»çÀÌÁî¸¦ ÀúÀåÇÑ´ÙÀ½ ÆÄÀÏ»çÀÌÁî ºñ±³

	imgInfo.onload = img_Load;
	
	imgInfo.src = value;

}

function img_Load()
{
	var imgSrc, imgWidth, imgHeight, imgFileSize;
	var tempStr = this.lowsrc;
	tempStr = tempStr.split("&&");

	var maxFileSize = tempStr[0];
	var fieldName = tempStr[1];

//	maxFileSize = 153600;	// ÃÖ´ë Çã¿ëÅ©±â 150KB 
	imgSrc = this.src;
	imgWidth = this.width;
	imgHeight = this.height;
	imgFileSize = this.fileSize;

	switch(fieldName)
	{
		case "attachFile1" : document.all.attachFile1Size.value = imgFileSize; break;
		case "limg" : document.all.limgSize.value = imgFileSize; break;
		case "mimg" : document.all.mimgSize.value = imgFileSize; break;
		case "simg" : document.all.simgSize.value = imgFileSize; break;
	}	

	if (imgSrc == "" || parseInt(imgWidth) <= 0 || parseInt(imgHeight) <= 0)
	{
		alert('±×¸²ÆÄÀÏÀ» °¡Á®¿Ã ¼ö ¾ø½À´Ï´Ù.'); 
		return false; 
	} 

	if (parseInt(imgFileSize) > parseInt(maxFileSize))
	{
		alert('¼±ÅÃÇÏ½Å ±×¸² ÆÄÀÏÀº Çã¿ë ÃÖ´ëÅ©±âÀÎ ' + maxFileSize/1024 + 'KB ¸¦ ÃÊ°úÇÏ¿´½À´Ï´Ù.');
		return false; 
	} 
	
	//ÀÌ¹ÌÁö »çÀÌÁî ÀúÀå 
//	document.all.imgWidth.value = imgWidth;
//	document.all.imgHeight.value = imgHeight;
}
///// ÀÌ¹ÌÁöÀÇ È®ÀåÀÚ¸¦ °¡Á®¿À°í, ÆÄÀÏ»çÀÌÁî¸¦ ±¸ÇØ¼­ ºñ±³ //
