function GnbOver(id){ document.getElementById(id).style.display=""; } function GnbOut(id){ document.getElementById(id).style.display="none"; } /* °Ë»ö±â´É */ function srch_ck(frm){ if(fmsearchpage.srch_word.value == ""){ alert("ã°íÀÚ ÇÏ´Â °Ë»ö¾î¸¦ ÀÔ·ÂÇϼ¼¿ä"); frm.srch_word.focus(); return false; } } function setSearchPage(catgubun){ for(i=0;i 2){ curEventNum_news = 0; } if(curEventNum_news < 0){ curEventNum_news = 2; } for (i = 0; i < 3; i++){ if (i == curEventNum_news){ document.getElementById('div_event_news' + i).style.display='inline'; }else{ document.getElementById('div_event_news' + i).style.display='none'; } } } } // self.setInterval("toggleEventmento_news(0)", 5000); function bookmark(title,url) { // Internet Explorer if(document.all) { window.external.AddFavorite(url, title); } // Google Chrome else if(window.chrome){ alert("Ctrl+DÅ°¸¦ ´©¸£½Ã¸é Áñ°Üã±â¿¡ Ãß°¡ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù."); } // Firefox else if (window.sidebar) // firefox { window.sidebar.addPanel(title, url, ""); } // Opera else if(window.opera && window.print) { // opera var elem = document.createElement('a'); elem.setAttribute('href',url); elem.setAttribute('title',title); elem.setAttribute('rel','sidebar'); elem.click(); } } /* for(i=0; (a = document.getElementsByTagName("link")[i]); i++) { if(a.getAttribute("rel") != -1 && a.getAttribute("href").indexOf("layout.css") != -1) { a.disabled = true; var headID = document.getElementsByTagName("head")[0]; var cssNode = document.createElement('link'); cssNode.type = 'text/css'; cssNode.rel = 'stylesheet'; cssNode.href = 'https://www.choroksaem.com/home/Nhcsr/images/templates/css/layout.css'; headID.appendChild(cssNode); break; } } */ function mobile_popup_view(){ document.getElementById('pop_ons_wrap').style.display='inline'; return false; } function mobile_popup_hide(){ document.getElementById('pop_ons_wrap').style.display='none'; } function login_press(frm){ if(event.keyCode == 13){ checkDatah(frm); } } function checkDatah(frm){ if(frm.userid.value == "") { alert("¾ÆÀ̵𰡠ºüÁ³½À´Ï´Ù."); frm.userid.focus(); return; } if(frm.password.value == "") { alert("ºñ¹Ð¹øÈ£°¡ ºüÁ³½À´Ï´Ù."); frm.password.focus(); return false; } frm.submit(); } //document.writeln(''); var header = ''; var header = ''; header+=''; document.writeln(header);