//-- ¸ÞÀÎ ÆäÀÌÁö function notice_getCookie( name ) { var nameOfCookie = name + "="; var x = 0; while ( x <= document.cookie.length ) { var y = (x+nameOfCookie.length); if ( document.cookie.substring( x, y ) == nameOfCookie ) { if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) endOfCookie = document.cookie.length; return unescape( document.cookie.substring( y, endOfCookie ) ); } x = document.cookie.indexOf( " ", x ) + 1; if ( x == 0 ) break; } return ""; } function main_search() { if (document.all_search.key.value == "") { alert('°Ë»ö¾î¸¦ ³Ö¾îÁÖ¼¼¿ä.'); document.all_search.key.focus(); return false; } document.all_search.action = "index.jsp"; document.all_search.submit(); } function login_check() { if (document.member.id.value == "") { alert('¾ÆÀ̵𸦠³Ö¾îÁÖ¼¼¿ä.'); document.member.id.focus(); return; } else if (document.member.pwd.value == "") { alert('ºñ¹Ð¹øÈ£¸¦ ³Ö¾îÁÖ¼¼¿ä.'); document.member.pwd.focus(); return; } else { document.member.submit(); } } function chkComment() { alert('<¹ÌÆ®Àú³Î °Ë»ö ¼ºñ½º>¸¦ ÀÌ¿ëÇϽ÷Á¸é ·Î±×ÀÎ ÇÏ¼Å¾ß ÇÕ´Ï´Ù.'); document.member.id.focus(); return false; } //-°Ô½ÃÆÇ ±Û¾²±â üũ function check() { if(document.writeform.name.value=="") { alert("À̸§À» ÀÔ·ÂÇϼ¼¿ä"); document.writeform.name.focus(); return false; } if(document.writeform.title.value=="") { alert("Á¦¸ñÀ» ÀÔ·ÂÇϼ¼¿ä"); document.writeform.title.focus(); return false; } if(document.writeform.pass.value=="") { alert("¼öÁ¤ ¹× »èÁ¦ÇÒ °æ¿ì ÇÊ¿äÇÏ¿À´Ï\n\nºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇϽñ⠹ٶø´Ï´Ù."); document.writeform.pass.focus(); return false; } if(document.writeform.content.value=="") { alert("º»¹®À» ÀÔ·ÂÇϼ¼¿ä"); document.writeform.content.focus(); return false; } document.writeform.submit(); } //--±Û °Ë»ö function check1() { if(document.search.key.value=="") { alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇϼ¼¿ä"); document.search.key.focus(); return false; } document.search.submit(); } //--±Û »èÁ¦ function check2() { if(document.del.pwd.value=="") { alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä"); document.del.pwd.focus(); return false; } document.del.submit(); } //----Ã¥ ÁÖ¹® function check3() { if(document.writeform.name.value=="") { alert("À̸§À» ÀÔ·ÂÇϼ¼¿ä"); document.writeform.name.focus(); return false; } if(document.writeform.phone.value=="") { alert("ÀüȹøÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä"); document.writeform.phone.focus(); return false; } if(document.writeform.addr.value=="") { alert("ÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä."); document.writeform.addr.focus(); return false; } document.writeform.submit(); } //-¸®½ºÆ® ½ºÅ©¸³Æ® function mouseOnTR(seq, bool) { var oTR = eval("document.all.list" + seq); var len = oTR.length; var borderStyle = "0 solid slategray"; if (bool){ for(var i =0; i < len ; i++){ oTR[i].style.borderTop = borderStyle; oTR[i].style.borderBottom = borderStyle; oTR[i].style.cursor = "default"; } oTR[0].style.borderLeft = borderStyle; oTR[0].style.backgroundColor = "#F2F2F2"; oTR[len-1].style.borderRight = borderStyle; }else{ for(var i =0; i < len; i++){ oTR[i].style.border = ""; } oTR[0].style.backgroundColor = ""; } } //--±Û »èÁ¦ ³ªÅ¸³»´Â ½ºÅ©¸³Æ® function showdelForm(obj){ document.all.divdel.style.display="" document.all.del.pwd.focus(); } //---ÆË¾÷°ü·Ã var maxW,maxH,fromX,fromY,toX,toY,adjX,adjY,zBox,zStep=0,zLink,zNew; function zoomBox(evt,zlink,maxw,maxh,tox,toy) { if (arguments.length > 2) { zNew=1; } scrollH = (window.pageYOffset!=null)?window.pageYOffset:document.body.scrollTop; maxW = maxw?maxw:window.innerWidth?innerWidth:document.body.clientWidth; maxH = maxh?maxh:window.innerHeight?innerHeight:document.body.clientHeight; toX = tox?tox:0; toY = (toy?toy:0)+scrollH; fromX = evt.pageX?evt.pageX:evt.clientX; fromY = (evt.pageY?evt.pageY:evt.clientY)+(document.all?scrollH:0); adjX = toX+evt.screenX-fromX; adjY = toY+evt.screenY-fromY; if (document.createElement && document.body.appendChild && !zBox) { zBox=document.createElement("div"); zBox.style.position = "absolute"; document.body.appendChild(zBox); } else if (document.all && !zBox) { document.all[document.all.length-1].outerHTML+='
'; zBox=document.all.zBoxDiv; } else if (document.layers && !zBox) { zBox = new Layer(maxW); zBox.style=zBox; } zLink = zlink; doZoom(); } function doZoom() { zStep+=1; zPct=(10-zStep)/10 if (document.layers) { zBox.moveTo(toX+zPct*(fromX-toX),toY+zPct*(fromY-toY)); zBox.document.open(); zBox.document.write("