///ÄÄ¸¶ ³Ö´Â ÇÔ¼ö
function incomma(str)
{
 str = ""+str+"";
 var retValue = "";
 for(iii=0; iii<str.length; iii++)
 {
  if(iii > 0 && (iii%3)==0)
  {
   retValue = str.charAt(str.length - iii -1) + "," + retValue;
  }
  else
  {
   retValue = str.charAt(str.length - iii -1) + retValue;
  }
 }
 if (retValue=="0")
 {
  return "";
 }
 return retValue;
}

//¼ýÀÚ·Î º¯È¯ ÄÄ¸¶µÎ »©°í
function isint(num1)
{
 myre=/,/gi;
 num2=num1.replace(myre,"");
 //alert(isNaN(parseInt(num2)));
 if (isNaN(parseInt(num2,10))==false)//¼ýÀÚÀÓ
 {
  return parseInt(num2,10);
 }
 else
 {
  return parseInt(0);
 }
}


	function InputAllReadOnly() {
     oINPUT = document.getElementsByTagName("INPUT");

     for (var i=0;i<oINPUT.length;i++) {
      if (oINPUT[i].type == "text") {
        oINPUT[i].readOnly=true;
        oINPUT[i].className="readonly";
      }
     }
   }

