/* * ¿ìÆí¹øÈ£ ã±â */ function searchZip(){ window.open("http://www.army.mil.kr/army_jsp/zipSearch.jsp?myform=myform&zip1=zip1&zip2=zip2&address=address", "ZipWin","width=450,height=400,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no"); } function Nwin(strShow, width, height, scrollbar, resizable, toolbar, innerwidth) { window.open(strShow,"newWindow","width=" + width + ",height=" + height + ",left=0,top=0,scrollbars=" + scrollbar + ",resizable=" + resizable + ",toolbar=" + toolbar ); } /* * À̸ÞÀÏ ÀԷºκÐ(Á÷Á¢ÀÔ·Â) */ function insertEmail() { var valueEmail = document.getElementById("sltEmail").value; if(valueEmail == "direct") { document.getElementById("email2").value = ""; document.getElementById("email2").readOnly = false; document.getElementById("email2").focus(); }else { document.getElementById("email2").value = valueEmail; document.getElementById("email2").readOnly = true; } } /* * Check for Regular Expression of Email */ function IsEmail(str) { var dotcount = 0; var doubledotcount = 0; var Atcount = 0; var invaliddotcount = 0; var foundSymbol = true; for (var i = 0;i 0) || (invaliddotcount != 0)) foundSymbol = false; return foundSymbol; }