function IsNull(strValue)
{
    var i;
    
    if(strValue.length == 0) return true;
    
    for(i=0; i < strValue.length; i++){
    	
        if(strValue.charAt(i) != ' '){
            return false;
        }
    }
    
    return true;
}



function IsAlphaNumeric(checkStr)
{
  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      return (false);
      break;
    }
  }
  return (true);
}

function IsNumeric(checkStr)
{
  var checkOK = "0123456789-";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      return (false);
      break;
    }
  }
  return (true);
}

function chk_jumin(it){
var IDtot = 0;
var IDAdd="234567892345";

for(i=0;i<12;i++){
IDtot=IDtot + parseInt(it.substring(i,i+1)) * parseInt(IDAdd.substring(i,i+1));
}

IDtot=11-(IDtot%11);

if(IDtot==10){
	IDtot=0;}
else if(IDtot==11){
	IDtot=1;}

if(parseInt(it.substring(12,13))!=IDtot)
return true;

}

function IsEmailCheck(checkStr)
{
  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`~!@#$%^&*()-_=+\|{}[]:;'?/>.<,";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      return (false);
      break;
    }
  }
  return (true);
}

function IsMail(checkStr)
{
  var checkOK = "@";
  if (checkStr.length == 0) {return (true);}

  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
      if (ch == checkOK) {return (true) }
  }
  return (false);
}


// »õ Ã¢ ¶ç¿ì±â
function NewWin(url, width, height) {                                                                                                                                                                                                                                                                                                                                             
	var Win_Str = 'width=' + width + ',height=' + height + ', top=300,left=300,scrollbars=yes,resizable=yes';
	farwindow = window.open('','win',Win_Str);                                                                                                                                                                                                                                                                                                                                             
	if (farwindow != null) {                                                                                                                                                                                                                                                                                                                                             
		if (farwindow.opener == null) {                                                                                                                                                                                                                                                                                                                                             
			farwindow.opener = self;                                                                                                                                                                                                                                                                                                                                             
		}                                                                                                                                                                                                                                                                                                                                             
		farwindow.location.href = url;                                                                                                                                                                                                                                                                                                                                             
	}                                                                                                                                                                                                                                                                                                                                             
}                                                                                                                                                                                                                                                                                                                                                    

function NewPopup(url) {                                                                                                                                                                                                                                                                                                                                             
	var Win_Str = 'top=300,left=300,scrollbars=auto,resizable=1';
	farwindow = window.open('','win',Win_Str);                                                                                                                                                                                                                                                                                                                                             
	if (farwindow != null) {                                                                                                                                                                                                                                                                                                                                             
		if (farwindow.opener == null) {                                                                                                                                                                                                                                                                                                                                             
			farwindow.opener = self;                                                                                                                                                                                                                                                                                                                                             
		}                                                                                                                                                                                                                                                                                                                                             
		farwindow.location.href = url;                                                                                                                                                                                                                                                                                                                                             
	}                                                                                                                                                                                                                                                                                                                                             
}                                                                                                                                                                                                                                                                                                                                                    


function New_Window(url, width, height) {                                                                                                                                                                                                                                                                                                                                             
	var Win_Str = "width=" + width + ",height=" + height + ", top=300,left=300,toolbar=0,scrollbars=auto,history=no,resizable=no,status=yes,menubar=no" 
//	window.open(url,"Sky",Win_Str);
	farwindow = window.open("","SkyNew",Win_Str);                                                                                                                                                                                                                                                                                                                                             
	if (farwindow != null) {                                                                                                                                                                                                                                                                                                                                             
		if (farwindow.opener == null) {                                                                                                                                                                                                                                                                                                                                             
			farwindow.opener = self;                                                                                                                                                                                                                                                                                                                                             
		}                                                                                                                                                                                                                                                                                                                                             
		farwindow.location.href = url;                                                                                                                                                                                                                                                                                                                                             
	}                                                                                                                                                                                                                                                                                                                                             
} 