function isMixedNumStr(str) { theValue=false; for(i=0; i= "A" && cha <= "Z") || (cha >= "a" && cha <= "z") || (cha >= 0 && cha <= 9)) ) { theValue=true; break; } } return theValue; } function isHexStr(str) { for(i=0; i= 0 && str.charAt(i) <= 9) || (str.charAt(i).toUpperCase() >= 'A' && str.charAt(i).toUpperCase() <= 'F')) ) return true; } return false; } function isValidInt(str) { for(i=0; i= 0 && str.charAt(i) <= 9)) return true; } return false; } // ¼ýÀÚÇüÀÌ ¾Æ´Ñ ¹®ÀÚÁ¦°Å function removeValidInt(str) { var re_txt=""; for(i=0; i= 0 && str.charAt(i) <= 9) re_txt += str.charAt(i); } return re_txt; } function isValidPassword(str) { theValue=false; for(i=0; i= "0" ) theValue=true; else if ( (cha >= "A") && (cha <= "Z")) theValue=true; else if ( (cha >= "a") && (cha <= "z")) theValue=true; else return false; } return theValue; } function isValidEmail(email) { invalidChars = " /:,;"; if(email == "") { return false; } for(i=0;i -1) { return false; } } atPos = email.indexOf("@",1); if(atPos == -1) { return false; } if(email.indexOf("@",atPos+1) > -1) { return false; } periodPos = email.indexOf(".",atPos) if(periodPos == -1) { return false; } if(periodPos + 3 > email.length) { return false; } return true; } function CheckAll() { chk = document.getElementById('allcheck').checked; for (var i=0;i 255)? len+=2:len++; return len; } function GetFileType(fileobj) { pathpoint = fileobj.lastIndexOf('.'); filepoint = fileobj.substring(pathpoint+1,fileobj.length); filetype = filepoint.toLowerCase(); return filetype; } function CheckWord(str) { var chk_word = ['\<\!--']; for (var i=0;i