/* * ¼³ ¸í : »ó¼¼Á¶È¸¾÷¹« ¼öÇà. * ÀÎÀÚ 1 : bbsWriteNo - ¾ÆÀ̵ð */ function searchDetail(bbsWriteNo) { sendForm.cmd.value = 'CEDAA07L4'; sendFields.innerHTML = ""; // °Ë»öÁ¶°Ç°ú °°Àº ³Ñ°Ü¾ß ÇÒ Å°¸¦ settingÇÑ´Ù. sendFields.innerHTML += makeField('bbsWriteNo', bbsWriteNo); sendForm.submit(); } /* * ¼³ ¸í : ±â¼ú¹®¼­°á°úÅëÁö¼­ °Ë»öâ ¿­±â. * ÀÎÀÚ 1 : param - ÆÄ¶ó¹ÌÅ͵é * ¸®Åϰª : */ function openMachinery() { //taxNo »ç¾÷ÀÚµî·Ï¹øÈ£ , corpName ȸ»ç¸í var param = "?cmd=CEFBA01P1"; var tmp = ""; var width = 800; var height = 450; var loc = getCenter(width, height, 50); var techDoc = window.open(param, "Machinery", loc); } function PopupWindowIm(strName) { var wX = 800; var hX = 450; window.open("http://emed.kfda.go.kr/activex/miplatform320/MiOpen.jsp?strName="+strName, "MiOpen", "toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,top=100,left=150, width="+wX+",height="+hX); } /* * ¼³ ¸í : ±â¼ú¹®¼­°á°úÅëÁö¼­ °Ë»öâ ¿­±â. * ÀÎÀÚ 1 : param - ÆÄ¶ó¹ÌÅ͵é * ¸®Åϰª : */ function openDownload() { //taxNo »ç¾÷ÀÚµî·Ï¹øÈ£ , corpName ȸ»ç¸í var param = "?cmd=CEDAA06P1"; var tmp = ""; var width = 491; var height = 673; var loc = getCenter(width, height, 50); var techDoc = window.open(param, "download", loc); } /* * ¼³ ¸í : À©µµ¿ì ¿ÀÇ ¼öÇà. * ÀÎÀÚ 1 : url - * ÀÎÀÚ 2 : w - ³ÐÀÌ * ÀÎÀÚ 3 : h - ³ôÀÌ * ÀÎÀÚ 4 : scroll - ½ºÅ©·Ñ À¯¹« */ function openWin(url, w, h, scroll) { features = center(w, h); features = features + ", scrollbars="+scroll +", resizable=1;" ; var winpocus = window.open( url, "pop", features ); if (winpocus.opener == null) winpocus.opener = self; winpocus.focus(); } /* * ¼³ ¸í : ÆË¾÷âÀ» È­¸éÀÇ °¡¿îµ¥·Î À§Ä¡ ¼öÇà. * ÀÎÀÚ 1 : width - ³ÐÀÌ * ÀÎÀÚ 2 : height - ³ôÀÌ */ function center(width,height) { var left, top, width, height ; swidth = "width=" + width ; sheight = "height=" + height ; top = (window.screen.height - height) / 2 ; left = (window.screen.width - width ) / 2 ; features = swidth + "," + sheight + ", top=" + top + ", left="+left ; return features ; } /* * ¼³ ¸í : ºñȸ¿ø ¸éÇã¼¼³³ºÎ */ function LicensePay(indexKey) { var param = "/kfda2?cmd=CEComLicensePayQ2&indexKey="+indexKey; var width = 630; var height = 300; var loc = getCenter(width, height, 50); var ComLicensePayQ2 = window.open(param, "CEComLicensePayQ2", loc, "toolbar=no,directories=no,status=no,menubar=no"); } /* * ¼³¸í : ¸Þ´º¸¦ À̵¿Çϱâ À§ÇÑ function * */ function selectItem(command) { sendForm.cmd.value = command; var searchCol = getField('searchCol').value; var searchVal = getField('searchVal').value; sendFields.innerHTML += makeField('searchCol', searchCol) + makeField('searchVal', searchVal); sendForm.submit(); } function passConfItem(event,command) { // ºê¶ó¿ìÀú Á¾·ù¿Í ¹öÀü¸¶´Ù Űº¸µå À̺¥Æ® ĸÃÄÇÏ´Â ¹æ½ÄÀÌ ´Ù¸£´Ù var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode; // ¿£ÅÍŰ(13)À̸é if (keyCode == 13) { selectItem(command); } else return true; } function openProduct() { //taxNo »ç¾÷ÀÚµî·Ï¹øÈ£ , corpName ȸ»ç¸í var param = "?cmd=CEBAA03P1"; var tmp = ""; var width = 420; var height = 600; var loc = getCenter(width, height, 50); var openProduct = window.open(param, "openProduct", loc); } function searchItem(grade, meaClassNo, itemName) { sendForm.cmd.value = 'CEBAA03L5'; sendFields.innerHTML = ""; // °Ë»öÁ¶°Ç°ú °°Àº ³Ñ°Ü¾ß ÇÒ Å°¸¦ settingÇÑ´Ù. sendFields.innerHTML += makeField('meaClassNo', meaClassNo); sendFields.innerHTML += makeField('grade', grade); sendFields.innerHTML += makeField('itemName', itemName); sendForm.submit(); } function faqPopup() { var url = "/jsp/com/kfda2/common/popup/faq_1.html"; var tmp = ""; var width = 700; var height = 600; var loc = getCenter(width, height, 50); var openProduct = window.open(url, "openProduct", loc); } function manualPopup() { var url = "/jsp/com/kfda2/common/popup/manual.html"; var tmp = ""; var width = 680; var height = 600; var loc = getCenter(width, height, 50); var openProduct = window.open(url, "openProduct", loc); } function movieLecPopup() { var url = "/jsp/com/kfda2/common/popup/movieLec/movieLec.html"; var w="875"; var h="550"; var winl=(screen.width-w)/2; var wint=(screen.width-w)/2; winpop=open(url, "openProduct", "height="+h+ ", width="+w+ ",top="+wint+ ", left="+winl+ ",toolbar=no, menubar=no, location=no, directories=no, scrollbars=no, status=no"); }