<!--
/********************************************************************
//  ÆÄÀÏ¸í : error.js                                              
//  ÀÛ¼ºÀÚ / ÀÛ¼ºÀÏ : Á¶±âÈ£ / 2003-11-12
//  °ü·ÃÆÄÀÏ :  string_util.js 
********************************************************************/

 //¿¡·¯Ã³¸®
var errorFlag = false;

function error(elem, text)
{
    errorFlag = false;
	theObj = eval(elem);
	if( errorFlag )
	{
		return;
	}
	alert(text);
	theObj.select();
	theObj.focus();
	errorFlag = true;
}

function chkElem(elem, text)
{
	theObj = eval(elem);
    
	if(isFieldBlank(theObj))
	{
		error(theObj, text);
	}
}
//-->