window.defaultStatus = "»ïÈ£³ó¿ø - http://www.figfarm.net"; /* ¸µÅ© °É¸° °÷ ºí·¯ È¿°ú ÁÖ±â */ function blur(){ if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); } document.onfocusin=blur; function MM_showHideLayers() { //v6.0 var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; } } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i57)) { event.returnValue=false; } } /* ¸ÞÀÎ ·Î±×ÀÎ Æû. ¹Ùµð ·Î±×ÀÎ Æû ÀԷ üũ ÇÔ¼ö */ function LoginCheck(form) { if (!CheckField(form.id,"¾ÆÀ̵ð¸¦")) return false; if (!CheckField(form.passwd,"ÆÐ½º¿öµå¸¦")) return false; return true; } function LoginCheck1(form) { if (!CheckField(form.guest_name,"ÁÖ¹®ÀÚ À̸§À»")) return false; if (!CheckField(form.guest_jumin,"Áֹεî·Ï¹øÈ£ µÞÀÚ¸®¸¦")) return false; if (form.guest_jumin.value.length < 7) { alert("Áֹεî·Ï¹øÈ£ µÞÀÚ¸® 7ÀÚ¸®¸ðµÎ ÀÔ·ÂÇØ ÁÖ¼¼¿ä."); return false; } return true; } /* Á¦Ç° °Ë»ö */ function Search() { if (!CheckField(document.SearchForm.key,"°Ë»ö¾î¸¦")) return false; } /* ¾ÆÀ̵ð/ÆÐ½º¿öµå ºÐ½Ç â */ function IDPW_Find() { var window_left = (screen.width-640)/2; var window_top = (screen.height-480)/2; ref = "IDPW_Find.html"; window.open(ref,"FindWin",'width=310,height=200,status=no, scrollbars=no, top=' + window_top + ',left=' + window_left + ''); } /* ÀԷ üũ ¿¡·¯ alert ÇÔ¼ö */ function CheckField(form,name) { if (!form.value) { alert (name + ' ÀÔ·ÂÇØ ÁÖ¼¼¿ä'); form.focus(); return false; } return true; } /* ÄÞ¸¶¸¦ Ãß°¡ÇÑ´Ù */ function NumberFormat(numstr) { var numstr = String(numstr); var re0 = /(\d+)(\d{3})($|\..*)/; if (re0.test(numstr)) return numstr.replace( re0, function(str,p1,p2,p3) { return NumberFormat(p1) + "," + p2 + p3; } ); else return numstr; } /* »õâ ¿ÀÇ : ÆÄÀϸí, À©µµ¿ìâ ¸í, ³ÐÀÌ, ³ôÀÌ */ function WinOpen(file, name, width, height) { window.open(file, name, "width="+width+", height="+height+", status=no, scrollbars=yes, top=10, left=10"); } /* »õâ ¿ÀÇ ½ºÅ©·Ñ ¾øÀ½ : ÆÄÀϸí, À©µµ¿ìâ ¸í, ³ÐÀÌ, ³ôÀÌ */ function WinOpen_noscroll(file, name, width, height) { window.open(file, name, "width="+width+", height="+height+", status=no, scrollbars=no, top=0, left=0"); } /* »õâ ¿ÀÇ ½ºÅ©·Ñ ¾øÀ½ ¿·À¸·Î : ÆÄÀϸí, À©µµ¿ìâ ¸í, ³ÐÀÌ, ³ôÀÌ */ function WinOpen_noscroll_1(file, name, width, height) { window.open(file, name, "width="+width+", height="+height+", status=no, scrollbars=no, top=0, left=455"); } function WinOpen_scroll(file, name, width, height) { window.open(file, name, "width="+width+", height="+height+", status=no, scrollbars=yes, top=250, left=280"); } function WinOpen_noscroll(file, name, width, height) { window.open(file, name, "width="+width+", height="+height+", status=no, scrollbars=no, top=250, left=280"); } /* ¸ÞÀÏ¹ß¼Û Æû */ function Mail() { window.open("mailto.html","MailWin","width=550, height=375, status=no, scrollbars=no, top=10, left=10"); } /* üũ¹Ú½º Àϰý ¼±ÅÃÇϱâ */ function CheckAll(form) { var chk_obj = document.getElementsByName('uid[]'); for (var i=0; i