SPMRJ00400.js 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. /* ---------------------------------------------------------------------
  2. 교육요구도 (SMMRJ00400_교육요구도.xrw - JScript )
  3. - Version :
  4. 1) : Ver.1.00.01
  5. : Create By heedae
  6. : 2010-04-14 오전 10:08:30
  7. ---------------------------------------------------------------------- */
  8. /* --------------------------------------------------*/
  9. /* type : function */
  10. /* access : public */
  11. /* desc : xforms-ready시 수행한다 */
  12. /* return : */
  13. /* --------------------------------------------------*/
  14. function fInit() {
  15. ipt_reqfromstnddd.value = getNewDate().getAddDate(-1, "M").getDateFormat("YYYYMMDD").substr(0, 8);
  16. ipt_reqtostnddd.value = getCurrentDate().substr(0, 8);
  17. emrfGetCodeList(new Array("J000000001","J000000002","J000000003","J000000004","J000000005"), new Array("/root/init/J000000001","/root/init/J000000002","/root/init/J000000003","/root/init/J000000004","/root/init/J000000005"));
  18. fGetOpenPatInfo();
  19. model.refresh();
  20. }
  21. /*
  22. * 화면 내용 클리어
  23. */
  24. function fInitMainList() {
  25. model.resetInstanceNode("/root/main/educordlists/educordlist");
  26. model.removeNodeset("/root/main/educordlists/educordlist");
  27. model.refresh();
  28. }
  29. /*
  30. * 넘어 온값 및 상대 값 체크
  31. */
  32. function fGetOpenPatInfo(){
  33. var pid = "";
  34. var orddd = "";
  35. var cretno = "";
  36. var hngnm = "";
  37. var ioflag= "";
  38. var setordtype="";
  39. if (isPopup() == true) {
  40. // param 환자정보
  41. pid = opener.javascript.getParameter("SPMRJ00400_pid");
  42. orddd = opener.javascript.getParameter("SPMRJ00400_orddd");
  43. cretno = opener.javascript.getParameter("SPMRJ00400_cretno");
  44. hngnm = opener.javascript.getParameter("SPMRJ00400_hngnm");
  45. ioflag = opener.javascript.getParameter("SPMRJ00400_ioflag");
  46. }
  47. //pid = "10043128";
  48. // hngnm = "이은경";
  49. // orddd = "20091029";
  50. // cretno = "1";
  51. // ioflag = "I";
  52. if ( !isNull(pid) && !isNull(orddd) && !isNull(cretno) && !isNull(hngnm) && !isNull(ioflag) ) {
  53. model.setValue("/root/send/reqdata/pid", pid);
  54. if(ioflag == "I" || ioflag == "E" || ioflag == "D"){
  55. setordtype="I";
  56. } else {
  57. setordtype="O";
  58. }
  59. model.setValue("/root/send/reqdata/ordtype", setordtype);
  60. input1.refresh();
  61. model.makeValue("/root/init/condition/pid", pid);
  62. model.makeValue("/root/init/condition/orddd", orddd);
  63. model.makeValue("/root/init/condition/cretno", cretno);
  64. model.setValue("/root/send/reqdata/pnm", hngnm);
  65. input2.refresh();
  66. fSearchOrdList();
  67. if( !isNull(pid) && isNull(hngnm)){
  68. model.setValue("/root/send/reqdata/pid", pid);
  69. fSearchPatNm();
  70. }
  71. } else {
  72. if( !isNull(pid) && isNull(hngnm)){
  73. model.setValue("/root/send/reqdata/pid", pid);
  74. fSearchPatNm();
  75. }
  76. }
  77. if ( isNull(pid) ) {
  78. // 상단 환자정보
  79. var node = getGlobalVariable("paminfo");
  80. model.removeNodeset("/root/init/paminfo/list");
  81. setCSVToNode("/root/init/paminfo", node);
  82. pid = model.getValue("/root/init/paminfo/list/pid");
  83. model.setValue("/root/send/reqdata/pid", pid);
  84. hngnm = model.getValue("/root/init/paminfo/list/hngnm");
  85. model.setValue("/root/send/reqdata/pnm", hngnm);
  86. ioflag = model.getValue("/root/init/paminfo/list/ioflag");
  87. if(ioflag == "I" || ioflag == "E" || ioflag == "D"){
  88. orddd = model.getValue("/root/init/paminfo/list/indd");
  89. setordtype="I";
  90. } else {
  91. orddd = model.getValue("/root/init/paminfo/list/orddd");
  92. setordtype="O";
  93. }
  94. cretno = model.getValue("/root/init/paminfo/list/cretno");
  95. if ( !isNull(pid) && !isNull(orddd) && !isNull(cretno) && !isNull(hngnm) ) {
  96. model.setValue("/root/send/reqdata/ordtype", setordtype);
  97. model.makeValue("/root/init/condition/pid", pid);
  98. model.makeValue("/root/init/condition/orddd", orddd);
  99. model.makeValue("/root/init/condition/cretno", cretno);
  100. fSearchOrdList();
  101. } else {
  102. model.setFocus("input1");
  103. button1.visible = false;
  104. model.setValue("/root/main/educordlists/educordlist/eduhandcapyn", "N");
  105. fRdoEduHandCapyn();
  106. }
  107. }
  108. }
  109. /*
  110. * 수진이력 가져오기
  111. */
  112. function fSearchOrdList(){
  113. model.removeNodeset("/root/init/ordlists");
  114. fInitMainList();
  115. model.refresh();
  116. var ordtype = radio1.value;
  117. if(!(model.getValue("/root/send/reqdata/pnm")=="")){
  118. model.setValue("/root/send/reqdata/ordtype",ordtype);
  119. submit("TRMRJ00102");
  120. if("" == model.getValue("/root/init/condition/pid") && "" == model.getValue("/root/init/condition/orddd") && "" == model.getValue("/root/init/condition/cretno") ){
  121. combo1.select(0);
  122. if ( combo1.length < 1){
  123. button1.visible = false;
  124. }
  125. } else {
  126. fChangeValueOrdList("open");
  127. }
  128. }
  129. }
  130. /*
  131. * 이전작성일시 변경시
  132. */
  133. function fChangeValueBeforeList()
  134. {
  135. var combindex = combo2.focusIndex+1;
  136. model.removeNode("root/searchneed");
  137. model.makeNode("root/searchneed");
  138. model.makeValue("root/searchneed/instcd", model.getValue("root/main/educorddaylists/educorddaylist["+combindex+"]/instcd"));
  139. model.makeValue("root/searchneed/pid",model.getValue("root/main/educorddaylists/educorddaylist["+combindex+"]/pid"));
  140. model.makeValue("root/searchneed/orddd",model.getValue("root/main/educorddaylists/educorddaylist["+combindex+"]/orddd"));
  141. model.makeValue("root/searchneed/cretno",model.getValue("root/main/educorddaylists/educorddaylist["+combindex+"]/cretno"));
  142. model.makeValue("root/searchneed/histno",model.getValue("root/main/educorddaylists/educorddaylist["+combindex+"]/histno"));
  143. submit("TRMRJ00203");
  144. fCheckOtherYn(ipt_eduwho9 ,chk_eduwho9.value);
  145. fCheckOtherYn(ipt_eduhandcap9 ,chk_eduhandcap9ck.value);
  146. fCheckOtherYn(ipt_eduway9 ,chk_eduway9ck.value);
  147. fCheckOtherYn(ipt_eduneed9 ,chk_eduneed9ck.value);
  148. if(rdo_eduwill.value== "999"){
  149. fCheckOtherYn(ipt_eduwill9,"Y");
  150. }else{
  151. fCheckOtherYn(ipt_eduwill9,"N");
  152. }
  153. fRdoEduHandCapyn();
  154. }
  155. /*
  156. * 수진이력 변경시
  157. */
  158. function fChangeValueOrdList(value){
  159. var ordtype = "";
  160. var i = 0;
  161. if( value == "open" && model.getValue("/root/init/condition/pid") !="" && model.getValue("/root/init/condition/orddd") != "" && model.getValue("/root/init/condition/cretno") != ""){
  162. for(i=1;i<=combo1.length; i++ ){
  163. if(model.getValue("/root/init/ordlists/ordlist["+i+"]/suminfo") == model.getValue("/root/init/condition/pid")+model.getValue("/root/init/condition/orddd")+model.getValue("/root/init/condition/cretno")){
  164. model.removeNodeset("/root/init/condition");
  165. combo1.select(i-1);
  166. ordtype = model.getValue("/root/init/ordlists/ordlist["+i+"]/ordtype");
  167. break;
  168. }
  169. }
  170. }else{
  171. model.setValue("/root/search/pid" , model.getValue("/root/init/ordlists/ordlist["+(combo1.focusIndex+1)+"]/pid"));
  172. model.setValue("/root/search/orddd" , model.getValue("/root/init/ordlists/ordlist["+(combo1.focusIndex+1)+"]/orddd"));
  173. model.setValue("/root/search/cretno" ,model.getValue("/root/init/ordlists/ordlist["+(combo1.focusIndex+1)+"]/cretno"));
  174. model.setValue("/root/search/ordtype" ,model.getValue("/root/init/ordlists/ordlist["+(combo1.focusIndex+1)+"]/ordtype"));
  175. model.setValue("/root/search/fromdd" ,model.getValue("/root/init/ordlists/ordlist["+(combo1.focusIndex+1)+"]/orddd"));
  176. ordtype = model.getValue("/root/init/ordlists/ordlist["+(combo1.focusIndex+1)+"]/ordtype");
  177. if(ordtype == "I"||ordtype == "D"||ordtype == "E" || ordtype == "O"){
  178. checkbox2.deselect(0);
  179. if(ordtype != "I" && ordtype != "E"){
  180. button1.visible = true;
  181. }else {
  182. button1.visible = false;
  183. }
  184. }else{
  185. checkbox2.select(0);
  186. button1.visible = false;
  187. }
  188. fSelectOrdCntsList();
  189. }
  190. }
  191. /*
  192. * 이전작성일시 조회
  193. */
  194. function fSelectOrdCntsList(){
  195. model.removeNodeset("/root/main/educorddaylists");
  196. model.refresh();
  197. var ordtype = model.getValue("/root/init/ordlists/ordlist["+(combo1.focusIndex+1)+"]/ordtype");
  198. if(ordtype == "D" || ordtype == "O"){
  199. if("0" != model.getValue("/root/search/daycheck")){
  200. button1.visible = true;
  201. }else{
  202. button1.visible = false;
  203. }
  204. }else {
  205. button1.visible = false;
  206. }
  207. model.setValue("/root/search/searchflag", "SPMRJ00400");
  208. if( fSelectChk()){
  209. submit("TRMRJ00401");
  210. if(combo2.length > 0){
  211. combo2.select(0);
  212. } else {
  213. //교육요구도 인스턴스 생성
  214. fSetInstance();
  215. model.setValue("/root/main/educordlists/educordlist/eduhandcapyn", "N");
  216. }
  217. fCheckOtherYn(ipt_eduwho9 ,chk_eduwho9.value);
  218. fCheckOtherYn(ipt_eduhandcap9 ,chk_eduhandcap9ck.value);
  219. fCheckOtherYn(ipt_eduway9 ,chk_eduway9ck.value);
  220. fCheckOtherYn(ipt_eduneed9 ,chk_eduneed9ck.value);
  221. if(rdo_eduwill.value== "999"){
  222. fCheckOtherYn(ipt_eduwill9,"Y");
  223. }else{
  224. fCheckOtherYn(ipt_eduwill9,"N");
  225. }
  226. fRdoEduHandCapyn();
  227. }
  228. }
  229. /**
  230. * 조회값 체크
  231. */
  232. function fSelectChk(){
  233. var pid = model.getValue("/root/search/pid");
  234. var orddd = model.getValue("/root/search/orddd");
  235. var cretno = model.getValue("/root/search/cretno");
  236. if ( pid == null ) { pid == ""; }
  237. if ( orddd == null ) { orddd == ""; }
  238. if ( cretno == null ) { cretno == ""; }
  239. if ( pid == "" || orddd =="" || cretno =="" ) {
  240. return false;
  241. }
  242. return true;
  243. }
  244. /*
  245. * 교육 장애요인 값 체크
  246. */
  247. function fRdoEduHandCapyn(){
  248. if(rdo_eduhandcapyn.value=="N"){
  249. chk_eduhandcap1.value = "N";
  250. chk_eduhandcap1.disabled = "true";
  251. chk_eduhandcap2.value = "N";
  252. chk_eduhandcap2.disabled = "true";
  253. chk_eduhandcap3.value = "N";
  254. chk_eduhandcap3.disabled = "true";
  255. chk_eduhandcap4.value = "N";
  256. chk_eduhandcap4.disabled = "true";
  257. chk_eduhandcap5.value = "N";
  258. chk_eduhandcap5.disabled = "true";
  259. chk_eduhandcap6.value = "N";
  260. chk_eduhandcap6.disabled = "true";
  261. chk_eduhandcap9ck.value = "N";
  262. chk_eduhandcap9ck.disabled = "true";
  263. fCheckOtherYn(ipt_eduhandcap9,"N");
  264. }else{
  265. chk_eduhandcap1.disabled = "false";
  266. chk_eduhandcap2.disabled = "false";
  267. chk_eduhandcap3.disabled = "false";
  268. chk_eduhandcap4.disabled = "false";
  269. chk_eduhandcap5.disabled = "false";
  270. chk_eduhandcap6.disabled = "false";
  271. chk_eduhandcap9ck.disabled = "false";
  272. fCheckOtherYn(ipt_eduhandcap9,chk_eduhandcap9ck.value);
  273. }
  274. }
  275. /*
  276. * 교육요구도 인스턴스 생성
  277. */
  278. function fSetInstance(){
  279. model.makeValue("/root/main/educordlists/educordlist/instcd", "");
  280. model.makeValue("/root/main/educordlists/educordlist/pid", "");
  281. model.makeValue("/root/main/educordlists/educordlist/orddd", "");
  282. model.makeValue("/root/main/educordlists/educordlist/cretno", "");
  283. model.makeValue("/root/main/educordlists/educordlist/histno", "");
  284. model.makeValue("/root/main/educordlists/educordlist/delyn", "");
  285. model.makeValue("/root/main/educordlists/educordlist/eduwho1", "");
  286. model.makeValue("/root/main/educordlists/educordlist/eduwho2", "");
  287. model.makeValue("/root/main/educordlists/educordlist/eduwho9", "");
  288. model.makeValue("/root/main/educordlists/educordlist/eduwho9ck", "");
  289. model.makeValue("/root/main/educordlists/educordlist/eduwill1", "");
  290. model.makeValue("/root/main/educordlists/educordlist/eduwill9", "");
  291. model.makeValue("/root/main/educordlists/educordlist/eduhandcapyn", "");
  292. model.makeValue("/root/main/educordlists/educordlist/eduhandcap1", "");
  293. model.makeValue("/root/main/educordlists/educordlist/eduhandcap2", "");
  294. model.makeValue("/root/main/educordlists/educordlist/eduhandcap3", "");
  295. model.makeValue("/root/main/educordlists/educordlist/eduhandcap4", "");
  296. model.makeValue("/root/main/educordlists/educordlist/eduhandcap5", "");
  297. model.makeValue("/root/main/educordlists/educordlist/eduhandcap6", "");
  298. model.makeValue("/root/main/educordlists/educordlist/eduhandcap9", "");
  299. model.makeValue("/root/main/educordlists/educordlist/eduhandcap9ck", "");
  300. model.makeValue("/root/main/educordlists/educordlist/eduway1", "");
  301. model.makeValue("/root/main/educordlists/educordlist/eduway2", "");
  302. model.makeValue("/root/main/educordlists/educordlist/eduway3", "");
  303. model.makeValue("/root/main/educordlists/educordlist/eduway4", "");
  304. model.makeValue("/root/main/educordlists/educordlist/eduway5", "");
  305. model.makeValue("/root/main/educordlists/educordlist/eduway9", "");
  306. model.makeValue("/root/main/educordlists/educordlist/eduway9ck", "");
  307. model.makeValue("/root/main/educordlists/educordlist/eduneed1", "");
  308. model.makeValue("/root/main/educordlists/educordlist/eduneed2", "");
  309. model.makeValue("/root/main/educordlists/educordlist/eduneed3", "");
  310. model.makeValue("/root/main/educordlists/educordlist/eduneed4", "");
  311. model.makeValue("/root/main/educordlists/educordlist/eduneed9", "");
  312. model.makeValue("/root/main/educordlists/educordlist/eduneed9ck", "");
  313. model.makeValue("/root/main/educordlists/educordlist/fstrgstdt", "");
  314. model.makeValue("/root/main/educordlists/educordlist/lastupdtrid", "");
  315. model.makeValue("/root/main/educordlists/educordlist/lastupdtdt", "");
  316. model.makeValue("/root/main/educordlists/educordlist/usernm", "");
  317. }
  318. /*
  319. * 교육 장애요인 값 체크(기타 선택시 입력 필드 체크)
  320. */
  321. function fCheckOtherYn(ipt, param){
  322. if(param=="Y"){
  323. ipt.visible = true;
  324. }else{
  325. ipt.visible = false;
  326. ipt.value = "";
  327. }
  328. }
  329. /*
  330. * 파라메타값(pid)로 환자정보 찾기
  331. */
  332. function fSearchPatNm(){
  333. if(model.getValue("/root/send/reqdata/pid")==""){
  334. return;
  335. }else{
  336. fGetPid("/root/send/reqdata/pid", "/root/send/reqdata/pnm");
  337. }
  338. input2.refresh();
  339. }
  340. /**
  341. * @desc : 환자등록번호 조회 팝업
  342. * @
  343. * @param : refPid - 환자번호 참고 node path
  344. * refPnm - 환자명 참고 node path
  345. * @return :
  346. * @authur : 이은영 2008.03.18
  347. * @---------------------------------------------------
  348. */
  349. function fGetPid(refPid, refPnm)
  350. {
  351. model.setValue("/root/send/reqdata/pnm","");
  352. input2.refresh();
  353. model.removeNodeset("/root/init/ordlists");
  354. fInitMainList();
  355. combo1.refresh();
  356. model.makeNode("/root/main/patinfo/patinfolist");
  357. //조회건수가 1건일 경우 팝업창을 바로 닫는다.
  358. model.makeValue("/root/hidden/tmp/pidpopupinfo/checkfnexam", "1");
  359. model.makeValue("/root/hidden/tmp/pidpopupinfo/autoflag", "Y");
  360. model.makeValue("/root/hidden/tmp/pidpopupinfo/pid", model.getValue(refPid));
  361. if( model.getValue("/root/hidden/tmp/pidpopupinfo/srchcond") == '' ){
  362. model.makeValue("/root/hidden/tmp/pidpopupinfo/srchcond", '1');
  363. }
  364. modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/tmp/pidpopupinfo", "/root/send");
  365. model.resetInstanceNode("/root/source");
  366. //환자번호 copy
  367. var popupendflag = model.getValue("/root/main/popupendflag");
  368. if (popupendflag == "ok")
  369. {
  370. model.makeValue(refPid, model.getValue("/root/main/patinfo/patinfolist/pid"));
  371. if (refPnm == null) { refPnm = "" }
  372. if (refPnm != "") {
  373. model.makeValue(refPnm, model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  374. }
  375. model.refresh();
  376. fSearchOrdList();
  377. }
  378. }
  379. /**
  380. * 등록 체크 및 처리
  381. */
  382. function fSave(){
  383. // 교육요구도 사정 필수 체크
  384. var ordtype = model.getValue("/root/init/ordlists/ordlist["+(combo1.focusIndex+1)+"]/ordtype");
  385. if(ordtype == "O" || ordtype == "D"){
  386. model.setValue("/root/main/educordlists/educordlist/pid" , model.getValue("/root/init/ordlists/ordlist["+(combo1.focusIndex+1)+"]/pid"));
  387. model.setValue("/root/main/educordlists/educordlist/orddd" , model.getValue("/root/init/ordlists/ordlist["+(combo1.focusIndex+1)+"]/orddd"));
  388. model.setValue("/root/main/educordlists/educordlist/cretno" ,model.getValue("/root/init/ordlists/ordlist["+(combo1.focusIndex+1)+"]/cretno"));
  389. }
  390. if(!(chk_eduwho1.value == "Y" || chk_eduwho2.value == "Y" || chk_eduwho9.value == "Y")){
  391. messageBox("교육요구 항목이 누락 되었습니다.","I003");
  392. return;
  393. }
  394. if(chk_eduwho9.value == "Y" && ipt_eduwho9.value.getTrim() == "") { // 기타 항목 체크
  395. messageBox("교육요구의 기타 항목이 누락 되었습니다.","I003");
  396. model.setFocus("ipt_eduwho9")
  397. return;
  398. }
  399. if(rdo_eduwill.value == ""){
  400. messageBox("교육에 대한 의지 항목이 누락 되었습니다.","I003");
  401. return;
  402. }
  403. if(rdo_eduwill.value == "999" && ipt_eduwill9.value.getTrim() == ""){ // 기타 항목 체크
  404. messageBox("교육에 대한 의지의 기타 항목이 누락 되었습니다.","I003");
  405. model.setFocus("ipt_eduwill9")
  406. return;
  407. }
  408. if((rdo_eduhandcapyn.value == "Y")&&!(chk_eduhandcap1.value == "Y" || chk_eduhandcap2.value == "Y" || chk_eduhandcap3.value == "Y" || chk_eduhandcap4.value == "Y" || chk_eduhandcap5.value == "Y" || chk_eduhandcap6.value == "Y" || chk_eduhandcap9ck.value == "Y")){
  409. messageBox("교육 장애요인 항목이 누락 되었습니다.","I003");
  410. return;
  411. }
  412. if(chk_eduhandcap9ck.value == "Y" && ipt_eduhandcap9.value.getTrim() == ""){ // 기타 항목 체크
  413. messageBox("교육 장애요인의 기타 항목이 누락 되었습니다.","I003");
  414. model.setFocus("ipt_eduhandcap9")
  415. return;
  416. }
  417. if(!(chk_eduway1.value == "Y" || chk_eduway2.value == "Y" || chk_eduway3.value == "Y" || chk_eduway4.value == "Y" || chk_eduway5.value == "Y" || chk_eduway9ck.value == "Y")){
  418. messageBox("교육방법 항목이 누락 되었습니다.","I003");
  419. return;
  420. }
  421. if(chk_eduway9ck.value == "Y"&& ipt_eduway9.value.getTrim() == ""){ // 기타 항목 체크
  422. messageBox("교육방법의 기타 항목이 누락 되었습니다.","I003");
  423. model.setFocus("ipt_eduway9")
  424. return;
  425. }
  426. if(!(chk_eduneed1.value == "Y" || chk_eduneed2.value == "Y" || chk_eduneed3.value == "Y" || chk_eduneed4.value == "Y" || chk_eduneed9ck.value == "Y")){
  427. messageBox("원하는 교육 내용 항목이 누락 되었습니다.","I003");
  428. return;
  429. }
  430. if(chk_eduneed9ck.value == "Y" && ipt_eduneed9.value.getTrim() == ""){ // 기타 항목 체크
  431. messageBox("원하는 교육 내용의 기타 항목이 누락 되었습니다.","I003");
  432. model.setFocus("ipt_eduneed9")
  433. return;
  434. }
  435. if(submit("TXMRJ00301")){
  436. fSelectOrdCntsList();
  437. }else{
  438. messageBox("교육요구도 저장이 실패하였습니다.", "E");
  439. return false;
  440. }
  441. return true;
  442. }
  443. /**
  444. * 닫기 클릭
  445. */
  446. function fClose(){
  447. window.close();
  448. }