1<!-- 2// Blue!! 2006-04-12 ìì¬ë©´íë²í¸ ê²ì 3var ROOT_URL = "/submission"; 4var FILE_URL = ROOT_URL + "/File"; 5 6// ################################################# 7var _SET = Array(); 8 _SET[0] = "Document type"; 9 _SET[1] = "Cate"; 10 _SET[2] = "ë ¼ë¬¸ì 목 (êµë¬¸)"; 11 _SET[3] = "Title"; 12 13 _SET[4] = "ê°ì¶ë¦°ì 목 (êµë¬¸)"; 14 _SET[41] = "Running Title"; 15 _SET[5] = "ì´ë¡ (êµë¬¸)"; 16 _SET[6] = "Abstract"; 17 18 _SET[7] = "KeyWords (êµë¬¸)"; 19 _SET[8] = "KeyWords"; 20 21 _SET[9] = "Acknowledgement"; 22 _SET[10] = "Full text file"; 23 _SET[11] = "Figure"; 24 25 _SET[12] = "First Author"; 26 _SET[13] = "Corresponding Author"; 27 _SET[14] = "Co-Author"; 28 29 _SET[15] = "Table"; 30 _SET[16] = "copyright"; 31 _SET[17] = "Reference"; 32 _SET[18] = "File Information (Use Color)"; // ì문ì ìì ì¬ì© 33 _SET[19] = "Associate Editor"; // í¸ì§ì´ììì 34 35 _SET[20] = "Comments to the Author"; 36 _SET[21] = "Files"; 37// ################################################# 38 39 // Blue 2006-10-16 ì ìì ë³´ í ì´ë¸ ìì 40 var grpSltArr = new Array('', '1', '2', '3', '4', '5', '6', '7', '8', '9','10'); 41 var prefixSltArr = new Array('','Dr.','Mr.','Mrs.','Ms.','Prof.'); 42 43 //ì§ì ì¶ê° 44 var positionArr = new Array('', 'Professor','Doctor','Research Professor','Post Doc','Intern','Doctor's degree','Master's degree','Researcher','Undergraduate Student','Student - High school student, grade','Student - Middle school student, grade','Etc'); 45 var position2Arr = new Array('','Professor','Post-Doc.','Graduate Student (Ph.D Course)','Graduate Student (Master Course)','Undergraduate Student','Highschool Student','Etc'); 46 47 48 49 // Blue !!! 2009-03-12 ì°¸ê³ ë¬¸í ë§í¬ ë°°ì´(ë°ëì $Reference_LinkArr ì íì¸í´ì£¼ì¸ì.) 50 //var Reference_LinkArr = new Array("<img src='http://jmb.inforang.com/submission/Icon/mesh_search.gif' />", "<img src='http://jmb.inforang.com/submission/Icon/mesh_search.gif' />", "<img src='http://jmb.inforang.com/submission/Icon/mesh_search.gif' />", "<img src='http://jmb.inforang.com/submission/Icon/mesh_search.gif' />", "<img src='http://jmb.inforang.com/submission/Icon/mesh_search.gif' />"); 51 var Reference_LinkArr = new Array("<img src='http://jmb.or.kr/submission/Icon/ReficonPubmed.gif' />", "<img src='http://jmb.or.kr/submission/Icon/ReficonCrossRef.gif' />", "<img src='http://jmb.or.kr/submission/Icon/ReficonPMC.gif' />"); 52 53 54 55// ìë ì¤ì ì¤í ^^& 2004-11-04 ìë¨ ë©ë´ë¥¼ í¬í¨íë¤.... top + 100 56function WinOpen_Fun(INS, targetUrl, constWidth, constHeight, constTop, constLeft, otherOption) 57{ 58 if (constTop == '') { var constTop = top.document.body.clientHeight/2 - constHeight/2 + 100; } 59 if (constLeft == '') { var constLeft = top.document.body.clientWidth/2 - constWidth/2; } 60 61 var openOption = 'top=' + constTop + ',left=' + constLeft + ',width=' + constWidth + ',height=' + constHeight + otherOption; 62 window.open(targetUrl, INS, openOption); 63 return false; 64} 65 66// Blue !!! 2007-01-10 window.open 67function windowOpen(theURL, winName, width, height, features) { 68 var left = (screen.width - width)/2; 69 var top = (screen.height - height)/2 - 25; 70 var tmpVL = "left=" + left + ",top=" + top + ", width=" + width + ", height=" + height + features + ""; 71 72 window.open(theURL, winName, tmpVL); 73 return false; 74} 75 76// Blue !!! 2007-01-10 replace 77function replace3(str, out, add) { 78 temp = "" + str; 79 while (temp.indexOf(out)>-1) { 80 pos= temp.indexOf(out); 81 temp = "" + (temp.substring(0, pos) + add + 82 temp.substring((pos + out.length), temp.length)); 83 } 84 return temp; 85} 86 87// Blue 2006-10-24 ì¤ë³µ ë±ë¡ ì²´í¬ :: íì´ì§ íë¨ì í¼ì´ ì¡´ì¬í©ëë¹. 88function set_Dbl_Chk(Mode, strMent) { 89 var st = document.Dbl_ChkForm; 90 var strMent = ''; 91 92 switch (Mode) 93 { 94 case 'C': // Blue !!! 2006-10-25 ê°ì´ ìëì§ Check 95 if (!strMent) strMent = "â» ì§íì¤ ì ëë¤.\n\nì¡°ê¸ë§ 기ë¤ë ¤ 주ì¸ì.."; 96 97 if (st.Dbl_Chk.value == 'Y') { 98 alert(strMent); 99 return false; 100 } else { 101 return true; 102 } 103 break; 104 105 case 'U': // Blue !!! 2006-10-25 Y ê°ì ë£ì´ì¤ë¤. 106 st.Dbl_Chk.value = 'Y'; 107 return true; 108 break; 109 110 default: 111 return true; 112 } 113} 114 115// Blue 2007-01-09 ìì ì²´í¬ 116function CharacterCount(strName, strLimit) 117{ 118 if (strLimit <= 0) { 119 return false;
120 } 121 122 var strGet = ''; 123 124 strGet = eval("document.Thesis_Form." + strName); 125 tmpStrGet = strGet.value; 126 127 if (strLimit == '') return true; // 길ì´ê° ìë¤ë©´ ê¸¸ì´ ìê´ íì ìë¤ë ë»ì´ë¯ë¡ ëì´ê°ë¤. 128 129 var bodyVal = tmpStrGet; 130 var bodyLen = bodyVal.length; 131 132 if(bodyLen > strLimit) 133 { 134 document.getElementById(strName + "_Status").innerText = bodyLen + " / " + strLimit; 135 alert("Current bytes : " + bodyLen + "\n\nThe word length was exceeded the regulation (" + strLimit + " bytes)"); 136 return false; 137 } else { 138 document.getElementById(strName + "_Status").innerText = bodyLen + " / " + strLimit; 139 } 140} 141 142// Blue 2006-06-26 ë°ì´í¸ ì²´í¬ 143function ByteCount(strName) 144{ 145 var strGet = ''; 146 147 strGet = eval("document.sform." + strName); 148 strLimit = eval("document.sform." + strName + "_Limit").value; // Blue ë°ëì ì´ë¦ê·ì¹ì ë§ì¶ì~ 149 150 if (strLimit == '') return true; // 길ì´ê° ìë¤ë©´ ê¸¸ì´ ìê´ íì ìë¤ë ë»ì´ë¯ë¡ ëì´ê°ë¤. 151 152 var bodyVal = strGet.value; 153 var bodyLen = bodyVal.length; 154 var bytesLen = 0; 155 var validBodyLen = 0; 156 var validBytesLen = 0; 157 158 for (var i = 0; i < bodyLen; i++) 159 { 160 var oneChar = bodyVal.charAt(i); 161 162 if (escape(oneChar).length > 4) { 163 bytesLen += 2; 164 } else if (oneChar!='\r') { 165 bytesLen++; 166 } 167 168 if(bytesLen <= strLimit) 169 { 170 validBodyLen = i + 1; 171 validBytesLen = bytesLen; 172 } 173 } 174 175 if(bytesLen > strLimit) 176 { 177 alert("Current bytes : " + bytesLen + "\n\nThe word length was exceeded the regulation (" + strLimit + " bytes)"); 178 var realBodyVal = bodyVal.substr(0, validBodyLen); 179 var bytesVal = validBytesLen; 180 } else { 181 document.getElementById(strName + "_Status").innerText = bytesLen + " / " + strLimit; 182 } 183} 184 185 186// Blue 2006-06-26 ì¤ì ë±ë¡ë ë°ì´í¸ì ê²ì¬ ([_] í¬í¨ ìí¨ 187function NullCheck(strField) { 188 var strGet = strField.value; 189 var regExp = /\s+/g; 190 str = str.replace(regExp,''); 191 alert(str.length); 192} 193 194 195// Blue 2006-06-26 ë¨ì´ì ì²´í¬ ë£¨í´ ^^& 196function WordCountDel(strField, strLimit) { 197 var strWordsLen = 0; 198 var returnValue = ''; 199 var strGet = strField.value; 200 201 var regExp = /\s+/g; 202 str = strGet.split(regExp); 203 204 strWordsLen = str.length; 205 206//alert(strWordsLen + ' :: ' + strLimit); 207 if (strWordsLen >= strLimit) 208 { 209 alert("Current words : " + strWordsLen + "\n\nThe word length was exceeded the regulation (" + strLimit + " words)"); 210 for (k=0;k < strLimit;k++ ) 211 { 212 returnValue += ' ' + str[k]; 213 } 214 } else { 215 returnValue = strGet; 216 } 217 218 strField.value = returnValue; 219} 220 221// Blue 2006-06-26 ë¨ì´ì ì²´í¬ ë£¨í´ ^^& 222function WordCount(strName, strLimit) { 223 if (strLimit <= 0) { 224 return false; 225 } 226 227 var strWordsLen = 0; 228 229 strGet = eval("document.Thesis_Form." + strName).value; 230 231 if (strLimit == '') { 232 return true; // 길ì´ê° ìë¤ë©´ ê¸¸ì´ ìê´ íì ìë¤ë ë»ì´ë¯ë¡ ëì´ê°ë¤. 233 } else { 234 if (strGet.length == 0) { 235 document.getElementById(strName + "_Status").innerText = "0 / " + strLimit; 236 return false; 237 } 238 } 239 240 var regExp = /\s+/g; 241 str = strGet.split(regExp); 242 243 strWordsLen = str.length; 244 245 if (strWordsLen > strLimit) { 246 document.getElementById(strName + "_Status").innerText = strWordsLen + " / " + strLimit; 247 alert("Current words : " + strWordsLen + "\n\nThe word length was exceeded the regulation (" + strLimit + " words)"); 248 return false; 249 } else { 250 document.getElementById(strName + "_Status").innerText = strWordsLen + " / " + strLimit; 251 } 252} 253 254 255// Blue!! 2006-12-16 ë¬ë íì´í ë³´ì¼ë½ ë§ë½ 256function WordChk_View(strName, Type) { 257 258 strGet = eval("document.sform." + strName).value; 259 strLimit = eval("document.sform." + strName + "_Limit").value; 260 strLimitChk = eval("document.sform." + strName + "_LimitChk"); 261 strTr = document.getElementById(strName + "_Tr"); 262 263 if (strLimit == '') return true; // 길ì´ê° ìë¤ë©´ ê¸¸ì´ ìê´ íì ìë¤ë ë»ì´ë¯ë¡ ëì´ê°ë¤. 264 265 switch (Type) 266 { 267 case "KOR": 268 var bodyLen = strGet.length; 269 270 if(bodyLen > strLimit) 271 { 272 strLimitChk.value = "Y"; 273 strTr.style.display = ''; 274 document.getElementById(strName + "_Status").innerText = "[ " + strLimit + " ì ì´ê³¼ì¼ ê²½ì° " + _SET[4] + "ì ìì±íì ì¼ í©ëë¤."; 275 } else { 276 strLimitChk.value = ""; 277 strTr.style.display = 'none'; 278 document.getElementById(strName + "_Status").innerText = ""; 279 } 280 break; 281 282 case "ENG": 283 var strWordsLen = 0; 284 285 var regExp = /\s+/g; 286 str = strGet.split(regExp); 287 288 strWordsLen = str.length; 289 290 if (strWordsLen > strLimit) { 291 strLimitChk.value = "Y"; 292 strTr.style.display = ''; 293 document.getElementById(strName + "_Status").innerText = "[ " + strLimit + " Words ì´ê³¼ì¼ ê²½ì° " + _SET[41] + "ì ìì±íì ì¼ í©ëë¤."; 294 } else { 295 strLimitChk.value = ""; 296 strTr.style.display = 'none'; 297 document.getElementById(strName + "_Status").innerText = ""; 298 } 299 break; 300 301 default: 302 } 303} 304 305 306// Blue!! 2006-05-18 기í í목 ë³´ì´ê¸° ë§ê¸°~ 307function TypeEtc_View(S,T) { 308 var st = document.sform; 309 310 var tmpType = eval("document.sform." + S); 311 var tmpTypeEtc = eval("document.sform." + S + "_etc"); 312 var LN = tmpType.length; // Blue!! 2006-05-18 ì¤ë§ 2ê°ë ëê² ì£ -_-;; 313 314 if (T == LN) 315 { 316 tmpTypeEtc.style.display = ''; 317 tmpTypeEtc.focus(); 318 } else { 319 tmpTypeEtc.style.display = 'none'; 320 tmpTypeEtc.value = ''; 321 } 322} 323 324 325// Blue!! 2006-05-18 ìë ì´ë¤ê² ì½ê° ìì .. 326function TypeEtc_Hide2() { 327 var st = document.sform; 328 329 st.special_part_etc.style.display = 'none'; 330} 331 332// Blue 2006-08-10 ìì¼ë¡ ë¹¼ëìê².. ì¤ë§ ì´ë´ë¦¬ë¼ê³ ë.... 333function Eng_SltView(T) { 334 var st = document.Thesis_Form; 335 336 var tmpType = st.tr_EngCorrect; 337 338 f = document.Thesis_Form; 339 if(tmpType[0].checked == true) { 340 alert("â» ì문êµì ì§íí ë ¼ë¬¸ì ì¦ë¹ìë¥ë¥¼ íì¼ë¡ ì¶ê°í´ 주ì기 ë°ëëë¤."); 341 document.all.degreeTr.style.display = ""; 342 } else { 343 document.all.degreeTr.style.display = "none"; 344 } 345 346 347} 348 349 350// Blue!! 2006-05-18 ìë ì´ë¤ê² ì½ê° ìì .. 351function TypeEtc_Hide() { 352 var st = document.sform; 353 354 st.non_type_etc.style.display = 'none'; 355} 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372function licenseChk(rform){ 373 if(rform.license_num.value==""){ 374 alert("ìì¬ë©´íë²í¸ë¥¼ ì ë ¥í´ ì£¼ì¸ì.!"); 375 rform.license_num.focus(); 376 return ; 377 } else { 378/* 379 if(rform.license_num.value.length<4 || rform.license_num.value.length>30){ 380 alert("IDë 4ì리ì´ì 30ì리ì´í ì문ì«ìì¡°í©ì¼ë¡ ì¬ì©ê°ë¥í©ëë¤."); 381 rform.id.focus(); 382 return; 383 }else{ 384*/ 385 Win_scroll(HDIR + '/member/search_license.html?license_num=' + rform.license_num.value,380,300); 386/* 387 } 388*/ 389 } 390} 391 392 393//------------------------ ë³ìê²ì ---------------------------- 2006-04-14 394function OpenHosp(z){ 395 var window_left = (screen.width-640)/2; 396 var window_top = (screen.height-480)/2; 397 murl = HDIR + "/office_search.html?field="+z
398 window.open(murl,"HosWin",'width=466,height=175,scrollbars=yes,top=' + window_top + ',left=' + window_left + ''); 399} 400 401//SMS ì°ê¸°-ììí 402/*function send_sms(tosid,toname){ 403 var window_left = (screen.width-640)/2; 404 var window_top = (screen.height-480)/2; 405 var wide = 450; 406 var high = 450; 407 var theURL = "/board/message_write_2.html?tosid="+tosid+"&toname="+toname+"&fromname="+fromname+"&fromsid="+fromsid; 408 //alert(theURL); 409 window.open(theURL,"Newwin",'width='+wide+',height='+high+',scrollbars=yes,resizable=yes,top=' + window_top + ',left=' + window_left + ''); 410}*/ 411function send_sms(myurl){ 412 window.open (myurl, "sms", "width=174,height=352,top=20,left=20,scrollbars=no, resizable=no") 413} 414 415function Logout() { 416 417 if(confirm("ë¡ê·¸ìì íìê² ìµëê¹?")) { 418 window.location = HDIR + "/logout_process.php"; 419 } 420} 421 422function check_ins(theForm){ 423 424 if(theForm.book.value == ""){ 425 alert("ê¶ì ì ë ¥íì¬ ì£¼ììì¤"); 426 theForm.book.focus(); 427 return false; 428 } 429 if(!Check_Num(theForm.book)){ 430 return false; 431 } 432 if(theForm.number.value == ""){ 433 alert("í¸ì ì ë ¥íì¬ ì£¼ììì¤"); 434 theForm.number.focus(); 435 return; 436 } 437 if(!Check_Num(theForm.number)){ 438 return false; 439 } 440 441 if(theForm.year.value == ""){ 442 alert("ë ë를 ì ë ¥íì¬ ì£¼ììì¤"); 443 theForm.year.focus(); 444 return; 445 } 446 if(!Check_Num(theForm.year)){ 447 return false; 448 } 449 450 if(theForm.regnum.value == ""){ 451 alert("í¸ì를 ì ë ¥íì¬ ì£¼ììì¤"); 452 theForm.regnum.focus(); 453 return; 454 } 455 if(!Check_Num(theForm.regnum)){ 456 return false; 457 } 458 document.book_ins_form.submit(); 459 460} 461 462 463 464 465function MM_swapImgRestore() { //v3.0 466 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; 467} 468 469function MM_preloadImages() { //v3.0 470 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 471 var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) 472 if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} 473} 474 475function MM_findObj(n, d) { //v4.01 476 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 477 d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} 478 if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 479 for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); 480 if(!x && d.getElementById) x=d.getElementById(n); return x; 481} 482 483function MM_swapImage() { //v3.0 484 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) 485 if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} 486} 487 488function MM_showHideLayers() { //v3.0 489 var i,p,v,obj,args=MM_showHideLayers.arguments; 490 for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; 491 if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; } 492 obj.visibility=v; } 493} 494 495//---------------------- ë©ë´ë° -------------------------- 496function MM_reloadPage(init) { //reloads the window if Nav4 resized 497 if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { 498 document.MM_pgW = innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} 499 else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); 500} 501MM_reloadPage(true); 502 503 504 505 506 507 508 509 510//----------------------- ê²ì ---------------------------- 511function Search_send(theForm) 512{ 513 if(theForm.keyword.value == "") 514 { 515 alert("ê²ìì´ë¥¼ ì ë ¥í´ ì£¼ì¸ì.."); 516 theForm.keyword.focus(); 517 return false; 518 } 519} 520 521//------------------ ë¼ëì¤ë²í¼ CHECK -------------- 522function radioCheck(oN){ 523 for(i=0;i<oN.length;i++){ 524 if(oN[i].checked){ return true; } 525 } 526 return false; 527} 528 529function radioValue(oN){ 530 for(i=0;i<oN.length;i++){ 531 if(oN[i].checked){ return oN[i].value; } 532 } 533 return -1; 534} 535 536//-----------------------E-mail 주ìíì¸---------------------------- 537// skh1120 !!! 2013-06-19 JS ì© ì´ë©ì¼ í¨í´ì 문ì ê° ìì´ PHP ìì ì¬ì©íë ì´ë©ì¼ í¨í´ì¼ë¡ êµì²´í¨. 538function isEmail(str) { 539 var reg = /^[A-Za-z0-9_\-]+([.][A-Za-z0-9_\-]+)*[@][A-Za-z0-9_\-]+([.][A-Za-z0-9_\-]+)+$/; 540 if (reg.test(str) == true) { 541 return true; 542 } else { 543 return false;
544 } 545} 546 547//----------------------- ì«ì íì¸ ---------------------------- 548function Check_Num(theForm) { 549 t = theForm.value ; 550 for(i=0;i<t.length;i++) { 551 if (t.charAt(i)<'0' || t.charAt(i)>'9') { 552 alert("ì«ìë§ ì ë ¥í´ì£¼ì¸ì.") ; 553 theForm.value=""; 554 theForm.focus(); 555 return false ; 556 } 557 } 558 return true; 559} 560 561//----------------------- ì«ì íì¸(ì리ì í¬í¨) ---------------------------- 562function Check_Tel(theForm,mm) { 563 t = theForm.value; 564 for(i=0;i<t.length;i++) { 565 if (t.charAt(i)<'0' || t.charAt(i)>'9') { 566 alert("ì«ìë§ ì ë ¥í´ì£¼ì¸ì.") ; 567 theForm.value=""; 568 theForm.focus() ; 569 return false ; 570 } 571 } 572 if (t.length < mm) 573 { 574 alert("ì«ìì 길ì´ë¥¼ íì¸íììì."); 575 theForm.focus(); 576 return false; 577 } 578 return true; 579} 580 581//------------------------ ì°í¸ë²í¸ê²ì ---------------------------- 582function OpenZipcode(z){ //open zip code check win 583 var window_left = (screen.width-640)/2; 584 var window_top = (screen.height-480)/2; 585 zName = "/zipcode.html?zip_gubun="+z 586 window.open(zName,"ZipWin",'width=466,height=340,scrollbars=yes,top=' + window_top + ',left=' + window_left + ''); 587} 588 589//------------------------ ì¬ì§ ì ë ¥ ---------------------------- 590function OpenPhoto(str){ 591 var window_left = (screen.width-640)/2; 592 var window_top = (screen.height-480)/2; 593 murl = "/photo_up.html?num="+str; 594 window.open(murl,"PhoWin",'width=441,height=256,top=' + window_top + ',left=' + window_left + ''); 595} 596 597//------------------------ ê³µì§ì¬í PopUp ---------------------------- 598function OpenNotify(murl){ 599 var window_left = (screen.width-640)/2; 600 var window_top = (screen.height-480)/2; 601 window.open(murl,"NoticeWin",'width=529,height=410,scrollbars=yes,top=' + window_top + ',left=' + window_left + ''); 602} 603 604//------------------------ ìë£ê³ë´ì¤ PopUp ---------------------------- 605function OpenNews(murl){ 606 var window_left = (screen.width-640)/2; 607 var window_top = (screen.height-480)/2; 608 window.open(murl,"NewsWin",'width=529,height=410,scrollbars=yes,top=' + window_top + ',left=' + window_left + ''); 609} 610 611//------------------------ íì¬ì¼ì PopUp ---------------------------- 612function OpenEvent(murl){ 613 var window_left = (screen.width-640)/2; 614 var window_top = (screen.height-480)/2; 615 window.open(murl,"NewsWin",'width=529,height=410,scrollbars=yes,top=' + window_top + ',left=' + window_left + ''); 616} 617 618//------------------------ ìì ---------------------------- 619function delconf(murl) 620{ 621 if(confirm("ì ë§ ìì íìê² ìµëê¹?")) 622 window.location = murl; 623} 624 625//---------------------- ìª½ì§ popup ------------- 626function Memo_open(myurl){ 627 var window_left = (screen.width-640)/2; 628 var window_top = (screen.height-480)/2; 629 window.open (myurl, "memo", 'width=414, height=268,scrollbars=yes,top=' + window_top + ',left=' + window_left + '') 630} 631 632//---------------------- ìª½ì§ ------------- 633function Memo_wasteconf(murl){ 634 if(confirm("ì ë§ ìì íìê² ìµëê¹?\n\ní´ì§íµë¡ ì´ëë©ëë¤.")) 635 window.location = murl; 636} 637 638//---------------------- ìª½ì§ ------------- 639function Memo_delconf(murl){ 640 if(confirm("ì ë§ ìì íìê² ìµëê¹?\n\nì íí 쪽ì§ê° ìì í ìì ë©ëë¤.")) 641 window.location = murl; 642} 643 644//---------------------- ìª½ì§ ------------- 645function Sender_delconf(murl){ 646 if(confirm("쪽ì§ë¥¼ ìì íìê² ìµëê¹?")) 647 window.location = murl; 648} 649 650//---------------------- ìª½ì§ ------------- 651function Memo_actconf(murl){ 652 if(confirm("쪽ì§ë¥¼ 복구 íìê² ìµëê¹?")) 653 window.location = murl; 654} 655 656//---------------------- ìª½ì§ ------------- 657function Confirm_Msg(murl,msg){ 658 if(confirm(msg)) 659 window.location = murl; 660} 661 662//---------------------- ì¬ì¬ê±°ì ì ê±°ì ì¬ì ë°ê¸° ------------- 663function Confirm_Msg_no(num,msg){ 664 if(confirm(msg)) offdisplay_all(num); 665} 666//----------------------- ìì´ë / í¨ì¤ìë 찾기 ---------------------------- 667function Find_Send(theForm) 668{ 669 if (!theForm.name.value) { 670 window.alert("ì±ëª ì ì ë ¥íììì."); 671 theForm.name.focus(); 672 return false; 673 } 674 if (!theForm.email.value) { 675 window.alert("ì´ë©ì¼ì£¼ì를 ì ë ¥íììì."); 676 theForm.email.focus(); 677 return false;
678 } 679} 680 681 682//--------------------- íì¼ í¬ë§· CHECK ------------------------- 683function formatChk(theForm) 684{ 685 var fname = theForm.value; 686 sp_arry = fname.split("."); 687 sp_einx = sp_arry.length - 1; 688 sp_arry[sp_einx] = sp_arry[sp_einx].toLowerCase(); 689 690 return sp_arry[sp_einx]; 691} 692//----------------------- íìê²ì ---------------------------- 693function User_send(theForm) 694{ 695 var cnt = 0; 696 for( var i=0; i< theForm.elements.length; i++) 697 { 698 var temp = theForm.elements[i]; 699 if(temp.value != "") 700 cnt += 1; 701 } 702 if (cnt == 0) 703 { 704 window.alert("íê°ì§ ì´ìì ê²ìì¡°ê±´ê³¼ ê²ìì´ë¥¼ ì í,ì ë ¥íììì."); 705 theForm.key.focus(); 706 return false; 707 }else{ 708 if(theForm.key.value != "" && !theForm.keyword.value){ 709 window.alert("ê²ìì´ë¥¼ ì ë ¥íììì."); 710 theForm.keyword.focus(); 711 return false; 712 } 713 if(theForm.keyword.value != "" && !theForm.key.value){ 714 window.alert("ê²ìì¡°ê±´ì ì ííììì."); 715 theForm.key.focus(); 716 return false; 717 } 718 } 719} 720 721function goQuiz() 722{ 723 document.times_form.submit(); 724} 725 726 727function MM_popupMsg2(msg,url) { //v1.0 728 if(confirm(msg)) 729 location.href = url; 730} 731 732function MM_goToURL() { //v3.0 733 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; 734 for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); 735} 736 737//----------------- íì ------------------------- 738function MM_openBrWindow(theURL,winName,features) { //v2.0 739 window.open(theURL,winName,features); 740} 741 742function MM_popupMsg(msg) { //v1.0 743 alert(msg); 744} 745 746//----------------- í´ì¦ íì ------------------------- 747function openWin(murl,msize){ 748 window.open(murl,"popup",msize) 749} 750//------------------ ë¡ê·¸ì¸ CHECK -------------- 751function Loginsubmit() 752{ 753 window.alert("íìì ì©ê³µê°ì ëë¤."); 754 return false; 755} 756 757 758function ZipWindow(ref,what) 759{ 760 var window_left = (screen.width-640)/2; 761 var window_top = (screen.height-480)/2; 762 ref = ref + "?what=" + what; 763 window.open(ref,"zipWin",'width=400,height=400,status=no,resizable=yes,top=' + window_top + ',left=' + window_left + ''); 764} 765function put_postno(p_code,p_juso) 766{ 767 document.signform.office_zip.value = p_code; 768 document.signform.office_addr.value = p_juso ; 769 //document.signform.office_addr.focus(); 770 return; 771} 772 773function put_postno2(p_code,p_juso) 774{ 775 document.signform.home_zip.value = p_code ; 776 document.signform.home_addr.value = p_juso ; 777 //document.signform.home_addr2.focus(); 778 return; 779} 780 781function put_postno3(p_code,p_juso) { 782 var code_arr = p_code.split("-"); 783 document.checkform.addr_num1.value = code_arr[0]; 784 document.checkform.addr_num2.value = code_arr[1]; 785 document.checkform.addr.value = p_juso; 786 return; 787} 788 789 790// Blue!! 2006-04-12 ìì¬ë©´íë²í¸ë¡ ë¶í° ë¶ë¬ì¤ê¸° 791function put_license_num(id,kname,ename,email,o_zip,o_addr,o_tel1,o_tel2,o_tel3) 792{ 793 document.signform.id.value = id ; 794 document.signform.kname.value = kname ; 795 document.signform.ename.value = ename ; 796 document.signform.email.value = email ; 797 document.signform.office_zip.value = o_zip ; 798 document.signform.office_addr.value = o_addr ; 799 document.signform.phone_1.value = o_tel1 ; 800 document.signform.phone_2.value = o_tel2 ; 801 document.signform.phone_3.value = o_tel3 ; 802 return; 803} 804 805 806function IsNumber(formname) 807{ 808 var form = eval("document.signform." + formname); 809 810 for(var i = 0; i < form.value.length; i++) 811 { 812 var chr = form.value.substr(i,1); 813 if(chr < '0' || chr > '9') 814 { 815 return false; 816 } 817 } 818 return true; 819} 820 821 822function regist_Frm(theForm){ 823 theForm.action = "register.php"; 824 return true; 825} 826 827function back_Frm(theForm){ 828 theForm.action = "register_detail.html"; 829 theForm.submit(); 830} 831 832 833function jCheck(rform){ 834 if(rform.jumin1.value=="" || rform.jumin2.value==""){ 835 alert("주민ë²í¸ë¥¼ ì ë ¥í´ ì£¼ì¸ì.!"); 836 rform.jumin1.focus(); 837 return ; 838 }else{ 839 if(!CheckNum(rform.jumin1)){ 840 return false; 841 } 842 if(!CheckNum(rform.jumin2)){ 843 return false; 844 } 845 Win_scroll('/member/check_jumin.html?jumin1='+rform.jumin1.value+'&jumin2='+rform.jumin2.value,380,300); 846 } 847} 848 849//----------------------- ì«ì íì¸ ---------------------------- 850function CheckNum(theForm) { 851 t = theForm.value ; 852 for(i=0;i<t.length;i++) { 853 if (t.charAt(i)<'0' || t.charAt(i)>'9') { 854 alert("ì«ìë§ ì ë ¥í´ì£¼ì¸ì.") ; 855 theForm.value=""; 856 theForm.focus(); 857 return false ; 858 } 859 } 860 return true; 861} 862 863
864// ë©ì¸íì´ì§ ë°°ë ì¬ë¼ì´ë© ////////////////////////////////////////////////// 865function start(){ 866 if (document.all) scroller.start(); 867} 868function stop(){ 869 if (document.all) scroller.stop(); 870} 871 872//ê¼¬ë¦¬ê¸ ë¬ê¸° 873function Tail_Frm(theForm){ 874 if (!theForm.tbody.value) 875 { 876 alert("ê¸ë´ì©ì ì ë ¥í´ ì£¼ì¸ì.!"); 877 theForm.tbody.focus(); 878 return false; 879 } 880 if(theForm.tbody.value.length > 50){ 881 alert("50ì ì´ë´ë¡ ìì±í´ì£¼ì¸ì."); 882 theForm.tbody.focus(); 883 return false; 884 } 885 886 return true; 887} 888 889//ìì í기 890function all_del(path){ 891 if(confirm('ìì íìê² ìµëê¹?')){ 892 location.href=path; 893 } 894} 895 896 897//ë©ì¼ì°ê¸°-ììí ì¬ë¬ì¬ëìê² 898function send_mail_total(sect,Brd_Frm,cname){ 899 var sid=""; 900 //------------------------ ì ì²´ì²´í¬ ---------------------------- 901 alert(Brd_Frm.elements.length); 902 for( var i=1; i<Brd_Frm.elements.length; i++) 903 { 904 var check = Brd_Frm.elements[i]; 905 if (check.checked) 906 { 907 //to=eval("document.Brd_Frm.to"+i+".value"); 908 to=check.value; 909 if(sid==""){ 910 sid=to; 911 }else{ 912 sid=sid+","+to; 913 } 914 915 } 916 } 917 918 var window_left = (screen.width-640)/2; 919 var window_top = (screen.height-480)/2; 920 var wide = 500; 921 var high = 500; 922 var theURL = "/wewon/message_write.html?section="+sect+"&cname="+cname+"&sid_list="+sid+"&mode=M"; 923 //alert(theURL); 924 window.open(theURL,"Newwin",'width='+wide+',height='+high+',scrollbars=yes,resizable=yes,top=' + window_top + ',left=' + window_left + ''); 925} 926 927 928 929//ë©ì¸ì§ ì°ê¸°-ììí 930function send_msg(tosid,toname,fromsid,fromname){ 931 var window_left = (screen.width-640)/2; 932 var window_top = (screen.height-480)/2; 933 var wide = 450; 934 var high = 400; 935 var theURL = "/board/message_write_2.html?tosid="+tosid+"&toname="+toname+"&fromname="+fromname+"&fromsid="+fromsid; 936 //alert(theURL); 937 window.open(theURL,"Newwin",'width='+wide+',height='+high+',scrollbars=yes,resizable=yes,top=' + window_top + ',left=' + window_left + ''); 938} 939 940 941 942function checkItboard(form){ 943 if (!form.thesis_id.value) 944 { 945 alert('ë ¼ë¬¸ë²í¸ì ì ë ¥í´ ì£¼ì¸ì'); 946 form.thesis_id.focus(); 947 return false; 948 } 949 950 if (!form.author.value) 951 { 952 alert(_SET[13] + 'ëª ì ì ë ¥í´ ì£¼ì¸ì'); 953 form.author.focus(); 954 return false; 955 } 956 return true; 957} 958 959//------------------------ ê²ìí ìª½ì§ ë³´ë´ê¸° PopUp ---------------------------- 960function Memo_Win(murl,wth,ht){ 961 var window_left = (screen.width-640)/2; 962 var window_top = (screen.height-480)/2; 963 window.open(murl,"NewsWin",'width=529,height=410,scrollbars=yes,top=' + window_top + ',left=' + window_left + ''); 964} 965 966function SMS_open(myurl){ 967 window.open (myurl, "sms", "width=174,height=352,top=20,left=20,scrollbars=no, resizable=no") 968} 969 970 971function checkword(word) 972{ 973 var charword; 974 for(var i = 0; i < word.length; i++) 975 { 976 charword = word.charAt(i); 977 if(charword.indexOf(" ") == -1) return true; 978 } 979 return false; 980} 981 982/*if(!radioCheck(form)) 983 { 984 alert("ê²°í¼ì 무를 ì íí´ì£¼ì¸ì!"); 985 form.marry[0].focus(); 986 return false; 987 } 988*/ 989 990 991// 2006-12-29 ë¨ì§ íì´ì§ ì´ë.. -_-; 992function JS_Move(url) { 993 location.href = url; 994} 995 996function JS_Confirm_Msg(url,msg) { 997 if(confirm(msg)) { 998 window.location = url; 999 } 1000} 1001 1002function JS_Form_Msg(form,msg) { 1003 theForm = eval("document."+form); 1004 if(confirm(msg)) { 1005 theForm.submit(); 1006 } 1007} 1008 1009// 2007-01-15 ëë¸í´ë¦ ë°©ì§??? 1010function JS_DoubleChk(f) { 1011 if(f.doubleChk.value==1) { 1012 alert("ì§ê¸ ì²ë¦¬ì¤ì ëë¤. ì ì 기ë¤ë ¤ 주ì¸ì."); 1013 return false; 1014 }else{ 1015 f.doubleChk.value=1; 1016 return true; 1017 } 1018} 1019 1020// 2007-01-03 íì ì°½ ëì°ê¸° 1021function JS_Window_Open(theURL,wide,high,wname) { 1022 var window_left = (screen.width-640)/2; 1023 var window_top = (screen.height-480)/2; 1024 window.open(theURL,wname,'width='+wide+',height='+high+',scrollbars=yes,resizable=yes,top=' + window_top + ',left=' + window_left + ''); 1025} 1026 1027 1028// 2007-01-02 ì¬ì¬ ë´ì© ì ë ¥ íì´ì§ Form ê²ì¬ Edit by. jsp 1029function ReviewChk(form) 1030{ 1031 1032 var statusCnt = form.Rstatus.length; 1033 var statusNum = 0; 1034 var tinyContent = tinyMCE.get("rev_Comm").getContent(); 1035 1036 for(var k=0; k<statusCnt; k++) { 1037 if(form.Rstatus[k].checked==false) { 1038 statusNum++; 1039 } 1040 } 1041 1042 if (statusCnt == statusNum) { 1043 alert("Please select review result."); 1044 form.Rstatus[0].focus(); 1045 return false;
1046 } 1047 1048 if (form.engReq[0].checked == false && form.engReq[1].checked == false) { 1049 alert("Please mark English proof-reading section."); 1050 form.engReq[0].focus(); 1051 return false; 1052 } 1053 tinyMCE.triggerSave(); // ë°ëì 기ì í´ì¼ í¨. 1054 if (trim_tags(tinyContent) == "") { 1055 alert("Please enter review contents."); 1056 return false; 1057 } 1058 1059 // 2019-09-30 ê³ì¢ì ë³´ íìë¡ ë³ê²½í¨. 1060 // 2020-02-11 ë¤ì íì ì ê±° ì íì¼ë¡ ë³ê²½ì ì© 1061 /* 1062 if(form.bank_Name.value == "") { 1063 alert("Please enter bank name."); 1064 form.bank_Name.focus(); 1065 return false; 1066 } 1067 1068 if(form.bank_Account.value == "") { 1069 alert("Please enter bank account."); 1070 form.bank_Account.focus(); 1071 return false; 1072 } 1073 */ 1074 1075 if(confirm("Do you want to complete review?") ) { 1076 return true; 1077 } 1078 1079 return false; 1080} 1081 1082 1083// 2007-01-02 ì¬ì¬ ë´ì© ì ë ¥ íì´ì§ Form ê²ì¬ í¸ì§ììì© 1084function Edit_reviewChk(form) 1085{ 1086 1087 var statusCnt = form.Rstatus.length; 1088 var statusNum = 0; 1089 var tinyContent = tinyMCE.get("rev_CommText").getContent(); 1090 1091 for(var k=0; k<statusCnt; k++) { 1092 if(form.Rstatus[k].checked==false) { 1093 statusNum++; 1094 } 1095 } 1096 1097 if(statusCnt == statusNum) { 1098 alert("Please select review result."); 1099 form.Rstatus[0].focus(); 1100 return false; 1101 } 1102 1103 if (form.tr_Degree.value=="1"){ 1104 if (form.engReq[0].checked == false && form.engReq[1].checked == false) { 1105 alert("Please mark English proof-reading section."); 1106 form.engReq[0].focus(); 1107 return false; 1108 } 1109 if (form.irbChk[0].checked == false && form.irbChk[1].checked == false) { 1110 alert("You must answer the question If this manuscript contain any data from human subjects performed by any of the authors? Before proceeding."); 1111 form.irbChk[0].focus(); 1112 return false; 1113 } 1114 1115 if (form.iacucChk[0].checked == false && form.iacucChk[1].checked == false) { 1116 alert("You must answer the question If this manuscript contain any data from animal subjects performed by any of the authors? Before proceeding."); 1117 form.iacucChk[0].focus(); 1118 return false; 1119 } 1120 1121 1122 } 1123 1124 tinyMCE.triggerSave(); // ë°ëì 기ì í´ì¼ í¨. 1125 /* 2020-11-09 íììì ì íì¼ë¡ ë³ê²½ 1126 if (trim_tags(tinyContent) == "") { 1127 alert("Please enter review contents."); 1128 return false; 1129 } 1130 */ 1131 1132 if(confirm("Do you want to complete review?") ) { 1133 return true; 1134 } 1135 1136 return false; 1137} 1138 1139 1140 1141// 2007-08-30 ê´ë¦¬ìì©. 1142function Adm_reviewChk(form) 1143{ 1144 1145 var statusCnt = form.Rstatus.length; 1146 var statusNum = 0; 1147 var tinyContent = tinyMCE.get("rev_CommText").getContent(); 1148 1149 for(var k=0; k<statusCnt; k++) { 1150 if(form.Rstatus[k].checked==false) { 1151 statusNum++; 1152 } 1153 } 1154 1155 if(statusCnt == statusNum) { 1156 alert("Please select review result."); 1157 form.Rstatus[0].focus(); 1158 return false; 1159 } 1160 1161 if (form.tr_Degree.value=="1"){ 1162 if (form.engReq[0].checked == false && form.engReq[1].checked == false) { 1163 alert("Please mark English proof-reading section."); 1164 form.engReq[0].focus(); 1165 return false; 1166 } 1167 1168 } 1169 1170 1171 tinyMCE.triggerSave(); // ë°ëì 기ì í´ì¼ í¨. 1172 if (trim_tags(tinyContent) == "") { 1173 alert("Please enter review contents."); 1174 return false; 1175 } 1176 1177 if(confirm("Do you want to complete review?") ) { 1178 return true; 1179 } 1180 1181 return false; 1182} 1183 1184 1185 1186 1187// Blue !!! 2007-04-09 trim 1188function trim_tags(value) { 1189 value = value.replace(/<\/?[^>]+>/gi, ''); 1190 value = value.replace(/ /g, ''); 1191 value = value.replace(/\s/gi,""); 1192 return value; 1193} 1194 1195 1196 1197 1198// Blue !!! 2007-05-10 ì ì ìì . 1199function Admin_Author_Del(id, TG, linkURL) { 1200 if (confirm('Delete user? [' + id + ']')) 1201 { 1202 linkURL = linkURL.replace(/=/gi,"[@@]"); 1203 linkURL = linkURL.replace(/&/gi,"[AND]"); 1204 location.href = 'Authors_Del.rang?user_id=' + id + '&TG=' + TG + '&linkURL=' + linkURL; 1205 } else { 1206 return false; 1207 } 1208} 1209 1210 1211// Blue !!! 2007-05-10 ê¹ë¹¡ì´~ 1212function doBlink() { 1213 var blink = document.all.tags("BLINK") 1214 for (var i=0; i < blink.length; i++) 1215 blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : "" 1216} 1217 1218
1219// Blue !!! 2007-05-22 ê´ë¦¬ìì© ê²ìë¶ë¶ 1220function Adm_Search_FormChk() { 1221 var st = document.Search_Form; 1222 1223 st.submit(); 1224} 1225 1226// Blue !!! 2007-05-22 ê´ë¦¬ìì© ê²ìë¶ë¶ 1227function Adm_Search_FormChk2() { 1228 var st = document.Search_Form; 1229 1230 st.target = ""; 1231 st.action = "Reviewer_Select.html"; 1232 st.submit(); 1233} 1234 1235// Blue !!! 2007-05-22 ê´ë¦¬ìì© ê²ìë¶ë¶ 1236function Adm_Search_FormChk3() { 1237 var st = document.Search_Form; 1238 1239 st.target = ""; 1240 st.action = "Editor_Select.html"; 1241 st.submit(); 1242} 1243 1244function Adm_Search_FormChk3_Dev() { 1245 var st = document.Search_Form; 1246 1247 st.target = ""; 1248 st.action = "Editor_Select_Dev.html"; 1249 st.submit(); 1250} 1251 1252// Blue !!! 2007-05-22 ê´ë¦¬ìì© ê²ìë¶ë¶ 1253function Adm_Search_FormChk4() { 1254 var st = document.Search_Form; 1255 1256 st.target = ""; 1257 st.action = "thesis_Editor_MemberSearch.html"; 1258 st.submit(); 1259} 1260 1261 1262// Blue !!! 2009-11-27 ê´ë¦¬ìì© ê²ìë¶ë¶ 1263function Adm_Search_FormPaperChk() { 1264 var st = document.Search_Form; 1265 1266// if (st.StartVol.selectedIndex == 0) { 1267// return false; 1268// } 1269 1270 st.target = ""; 1271 1272 st.action = "Paper_Press.html"; 1273 st.submit(); 1274} 1275 1276// Blue !!! 2007-08-13 ë©ì¼ ë 리기 1277function Comm_Msg_Mail_Fun(NM) 1278{ 1279 var st = document.sform; 1280 1281 if (st.strTitle.value =='') 1282 { 1283 alert('Please check title.'); 1284 st.strTitle.focus(); 1285 return false; 1286 } 1287 1288 if (st.strContent.value =='') 1289 { 1290 alert('Please check message.'); 1291 st.strContent.focus(); 1292 return false; 1293 } 1294 1295 if(!confirm('Do you want to send e-mail to ' + NM + '?')) { 1296 return false; 1297 } 1298} 1299 1300 1301// Blue !!! 2007-08-14 ë¹ë°ë²í¸ ë³ê²½ì ê´í ì¤í¬ë¦½ 1302function Chg_PasswordFun(URL) { 1303 if (confirm('Change the password?')) { 1304 location.href = URL; 1305 } else { 1306 return false; 1307 } 1308} 1309 1310 1311// Blue !!! 2007-08-29 ê´ë¦¬ì ì§ì ê²ìë¶ë¶ 1312function History_FormFun() { 1313 var st = document.History_Form; 1314 1315 if (st.keyword.value == false) { 1316 alert('Please enter keyword.'); 1317 return false; 1318 } 1319} 1320 1321 1322 1323 1324// 2008-05-16 ë©ëª¨ë±ë¡ 1325function Memo_AdmitConfirm(mode, type, no) { 1326 var f, note_obj, addText = ''; 1327 f = document.frm_layer_submit; 1328 if (mode == "Info") addText = "_Info"; 1329 note_obj = eval("document.frmList.finish_note" + addText + no); 1330 1331 f.num.value = no; 1332 f.mode.value = mode; 1333 f.type.value = type; 1334 f.finish_note.value = note_obj.value; 1335 1336 if (!confirm("ì ì¥íìê² ìµëê¹?")) return; 1337 f.submit(); 1338} 1339 1340 1341// Blue !!! 2008-06-05 ë ì§ì¶ê° 1342function Memo_DateAppend(mode, no) { 1343 var f, note_obj, addText = ''; 1344 f = document.frm_layer_submit; 1345 now = new Date(); 1346 1347 if (mode == "Info") addText = "_Info"; 1348 note_obj = eval("document.frmList.finish_note" + addText + no); 1349 if (note_obj.value) 1350 { 1351 note_obj.value += "\n\n=======================================\n# " + now.toLocaleString() + " \n"; 1352 } else { 1353 note_obj.value = "# " + now.toLocaleString() + " \n"; 1354 } 1355 note_obj.focus(); 1356} 1357 1358 1359 1360 1361// ################################################################## 1362// Blue !!! 2010-11-04 ê´ë¦¬ì ë©ëª¨ - ê°ì í 1363// IE ë 8.0 ì´ë¼ê³ íì¬ë 6.0 ì ëí í¸íì±ì´ ë기 ë문ì ìµì ë²ì ìì¼ë¡ íìíìê³ , í 9.0 ê¹ì§ì´ì§ë§ ì¶í 10ê¹ì§ ë³ê²½íìì. IE 6.0 미ë§ì ììì.. 1364function Memo_ondisplay(id, e) { 1365 var x = 0; 1366 var y = 0; 1367 1368 switch (navigator.appName) { 1369 case "Microsoft Internet Explorer": // IE 6.0 미ë§ì ìì³ì¤.. 1370 if (navigator.appVersion.indexOf("MSIE 10") != -1) { 1371 x = e.pageX; 1372 y = e.pageY; 1373 } else if (navigator.appVersion.indexOf("MSIE 9") != -1) { 1374 x = e.pageX; 1375 y = e.pageY; 1376 } else if (navigator.appVersion.indexOf("MSIE 8") != -1) { 1377 x = e.x; 1378 y = e.y; 1379 } else if (navigator.appVersion.indexOf("MSIE 7") != -1) { 1380 x = e.x; 1381 y = e.y + Math.max(document.documentElement.scrollTop, document.body.scrollTop); 1382 } else { // IE 6.0 ì²ë¦¬ ë¶ë¶. 1383 x = e.x; 1384 y = e.y + Math.max(document.documentElement.scrollTop, document.body.scrollTop); 1385 } 1386 break; 1387 1388 case "Netscape": // FireFox, Safari, Chrome 1389 x = e.pageX; 1390 y = e.pageY; 1391 break; 1392 1393 case "Opera": 1394 x = e.pageX; 1395 y = e.pageY; 1396 break; 1397 1398 default: 1399 x = e.pageX; 1400 y = e.pageY; 1401 } 1402 1403 var obj = document.getElementById(id); 1404 1405 obj.style.left = x + "px"; 1406 obj.style.top = y + "px"; 1407 1408 obj.style.display = 'block'; 1409 obj.style.visibility = 'visible'; 1410} 1411 1412 1413 1414//------------- ë ì´ì´ ë«ê¸° ----------------- 1415function Memo_offdisplay(id) { 1416 var obj = document.getElementById(id); 1417 dd = obj.style; 1418 dd.display = 'none'; 1419 dd.visibility = 'hidden'; 1420} 1421 1422 1423function doWinSize(obj) { 1424 var h = 0; 1425 1426 if (event.wheelDelta > 0) { 1427 if (parseInt(obj.style.height) >= 100) { 1428 h = parseInt(obj.style.height) - 50; 1429 obj.style.height = h + 'px'; 1430 } 1431 } else { 1432 h = parseInt(obj.style.height) + 50; 1433 obj.style.height = h + 'px'; 1434 } 1435} 1436 1437 1438// Blue !!! 2008-06-11 미ëë©ë´ì© í´ë¦ ì´ë²¤í¸ ì²ë¦¬ 1439var MiniMenu_View = -1; // íì¬ ë³´ì´ë ê²ê³¼ ë¤ë¥¸ê²ì í´ë¦íìëì§ ì²´í¬ (idx ë¡ íì¸í¨) 1440function MiniMenu_Display(idx) { 1441 var obj = document.getElementsByName("MiniMenu_Layer"); 1442 dd = obj[idx].style; 1443 1444 if (MiniMenu_View == idx) // ê°ì ê²½ì°ì ë³´ì´ì§ ìëë¡ ìì í¨. 1445 { 1446 MiniMenu_View = -1; // ì´ê¸°í (ì무ê²ë ì ííì§ ììì. idx => 0 ë¶í° ììí©ëë¤.) 1447 dd.display = 'none'; 1448 dd.visibility = 'hidden'; 1449 } else { // ë¤ë¥¼ê²½ì° 기존ê²ì ì¨ê¸°ê³ , íì¬ê²ì ë³´ì¬ì¤ëë¤. 1450 dd.display = 'block'; 1451 dd.visibility = 'visible'; 1452 1453 if (MiniMenu_View == -1) { // ì´ê¸°ì¹ ì¼ê²½ì° ê°ì²´ê° ì¡´ì¬íì§ ìì¼ë¯ë¡ ì²ë¦¬ìì ì ì¸í¨. 1454 } else { 1455 obj[MiniMenu_View].style.display = 'none'; 1456 obj[MiniMenu_View].style.visibility = 'hidden'; 1457 } 1458 1459 MiniMenu_View = idx; // íì¬ ì¸ë±ì¤ ê°ì ê°ì§ê³ ìì. 1460 } 1461} 1462 1463 1464 1465 1466// Blue !!! 2008-09-23 ì ì ê¶í ë³ê²½. 1467function GetSelect_SessionChange(TG) { 1468 var retUrl; 1469 1470 switch (TG) 1471 { 1472 case "R": 1473 retUrl = ROOT_URL + "/Source/Reviewer/Main.html"; 1474 break; 1475 1476 case "E": 1477 retUrl = ROOT_URL + "/Source/Editor/Main.html"; 1478 break; 1479 1480 case "EC": 1481// retUrl = ROOT_URL + "/Source/Chief/Main.html"; 1482 retUrl = ROOT_URL + "/Source/Admin/Main.html";
1482 // 2009-01-15 ê´ë¦¬ìì ëì¼í íì´ì§ë¥¼ ë³´ì¬ì¤ëë¤. 1483 break; 1484 1485 case "A": 1486 retUrl = ROOT_URL + "/Source/Admin/Main.html"; 1487 break; 1488 1489 default: 1490 retUrl = ROOT_URL + "/Source/Author/Main.html"; 1491 } 1492 1493 location.href = retUrl; 1494} 1495 1496 1497// Blue !!! 2008-11-27 ê±°ì ì¬ì ìì±. 1498function Editor_ReasonChk() { 1499 var st = document.Thesis_Form; 1500 1501 if (st.rev_Reason.value == '') { 1502 alert('Reason for Refusal. Please check.'); 1503 st.rev_Reason.focus(); 1504 return false; 1505 } 1506 1507 if (!confirm('Will you send an e-mail?')) { 1508 return false; 1509 } 1510} 1511 1512 1513// Blue !!! 2009-01-15 ì¬ì¬ê±°ì ì ê±°ì ì¬ì ìì± 1514function Reviewer_ReasonChk() { 1515 var st = document.Thesis_Form; 1516 1517 if (st.rev_ReasonNominate.value == '') { 1518 alert('Please recommend a reviewer. Thanks.'); 1519 st.rev_ReasonNominate.focus(); 1520 return false; 1521 } 1522 1523 if (st.rev_Reason.value == '') { 1524 alert('Reason for Refusal. Please check.'); 1525 st.rev_Reason.focus(); 1526 return false; 1527 } 1528 1529 if (!confirm('Will you send an e-mail?')) { 1530 return false; 1531 } 1532} 1533 1534 1535 1536 1537// Blue !!! 2009-01-08 ê²ì¬íê° ì´í ì²ë¦¬ë´ì© 1538function Accept_ModChk(MD) { 1539 var st = document.Thesis_Form; 1540 var title = ""; 1541 var txtMsg = ""; 1542 var confirmMsg = ""; 1543 1544 switch (MD) 1545 { 1546 case "G": // reference 1547 txtMsg = 'íì¼ì ì íí´ ì£¼ì¸ì.'; 1548 confirmMsg = 'êµì 본 íì¼ì ë±ë¡ íìê² ìµëê¹?'; 1549 break; 1550 1551 case "E": // eng correct 1552 txtMsg = 'íì¼ì ì íí´ ì£¼ì¸ì.'; 1553 confirmMsg = 'ì문êµì íì¼ì ë±ë¡ íìê² ìµëê¹?'; 1554 break; 1555 1556 case "F": // final 1557 txtMsg = 'íì¼ì ì íí´ ì£¼ì¸ì.'; 1558 confirmMsg = 'ìµì¢ 본 íì¼ì ë±ë¡ íìê² ìµëê¹?'; 1559 break; 1560 1561 default: 1562 1563 } 1564 1565 1566 if (st.file_Name.value == '') { 1567 alert(txtMsg); 1568 st.file_Name.focus(); 1569 return false; 1570 } 1571 1572 if (!confirm(confirmMsg)) { 1573 return false; 1574 } 1575} 1576 1577 1578 1579 1580 1581// Blue !!! 2007-01-23 1582/* 1583í¹ì문ì ë£ê¸° ì ëë¤. 1584í´ë¦ë ìì¹, ëëê·¸ ë í목ì ë³ê²½ í ë ì¬ì©íì¤ ì ììµëë¤. 1585*/ 1586 1587function addSpecial_Character() { 1588 window.open(ROOT_URL + '/Include/Special_Character.html','Special_Character', 'width=400, height=600, scrollbars=yes'); 1589 return false; 1590} 1591 1592var currentArea = ''; 1593 1594function checkArea(current) { 1595 if (current.name) { 1596 currentArea = current; 1597 } 1598} 1599 1600function insertText(sCode) 1601{ 1602 if (currentArea == "") { 1603 alert('Please select item to insert special character.'); 1604 return; 1605 } else { 1606 insertAtCursor(currentArea, sCode); 1607 } 1608} 1609 1610 1611function insertAtCursor(myField, myValue) { 1612 if (document.selection) { 1613 myField.focus(); 1614 sel = document.selection.createRange(); 1615 sel.text = myValue; 1616 } else if (myField.selectionStart || myField.selectionStart == 0) { 1617 var startPos = myField.selectionStart; 1618 var endPos = myField.selectionEnd; 1619 myField.value = myField.value.substring(0, startPos)+myValue 1620 + myField.value.substring(endPos, myField.value.length); 1621 } else { 1622 myField.value += myValue; 1623 } 1624} 1625 1626 1627 1628 1629 1630 1631// Blue !!! 2009-02-16 Paper in Press 1632function Paper_ModChk() { 1633 var st = document.Thesis_Form; 1634 var title = ""; 1635 var txtMsg = ""; 1636 var confirmMsg = ""; 1637 1638 txtMsg = 'íì¼ì ì íí´ ì£¼ì¸ì.'; 1639 confirmMsg = 'ìµì¢ 본 íì¼ì ë±ë¡ íìê² ìµëê¹?'; 1640 1641/* 1642 if (st.file_Name[0].value == '') { 1643 alert(txtMsg); 1644 st.file_Name[0].focus(); 1645 return false; 1646 } 1647*/ 1648 1649 if (!confirm(confirmMsg)) { 1650 return false; 1651 } else { 1652 st.target = ""; 1653 st.action = "Paper_Press_Edit.rang"; 1654 st.submit(); 1655 } 1656} 1657 1658 1659// Blue !!! 2009-02-16 File Delete 1660function Paper_FileDelete(M, N, O, P) { 1661 if (!M) { 1662 return false; 1663 } 1664 1665 if (!confirm('Do you wish to delete this file?')) { 1666 return false; 1667 } else { 1668 location.href = "Paper_Press_FileDelete.rang?MD=D&j_num=" + M + "&file_num=" + N + "&StartVol=" + O + "&StartNum=" + P; 1669 } 1670} 1671 1672// Blue !!! 2009-02-16 Paper in Press 1673function Paper_ModChange(MD, IDX, IDX2, PG) { 1674 if (!MD) { 1675 return false; 1676 } 1677 1678 if (!confirm('Do you wish to delete this paper?')) { 1679 return false; 1680 } else { 1681 location.href = "Paper_Press.rang?MD=" + MD + "&j_num=" + IDX + "&tr_num=" + IDX2 + '&start=' + PG; 1682 } 1683} 1684 1685 1686// Blue !!! 2009-02-16 ê´ë¦¬ì Paper in Press ì ì²´ ì²´í¬ 1687function Paper_allChk(T) { 1688 var st = document.getElementsByName('chknum[]'); 1689 var LN = st.length, cnt = 0; 1690 1691 for (k=0; k < LN;k++ ) { 1692 if (T.checked == true) { 1693 st[k].checked = true; 1694 } else { 1695 st[k].checked = false;
1696 } 1697 } 1698} 1699 1700// Blue !!! 2009-02-16 ê´ë¦¬ì Paper in Press ì í í ì¡ì 1701function Paper_Action(T) { 1702 var st = document.frmList; 1703 var chk1 = document.getElementsByName('chknum[]'); 1704 var LN = chk1.length, cnt = 0, strTitle = ''; 1705 1706 for (k=0; k < LN;k++ ) { 1707 if (chk1[k].checked == true) { 1708 cnt++; 1709 break; 1710 } 1711 } 1712 1713 if (cnt == 0) { 1714 alert('ì í í ì¬ì©íì¸ì.'); 1715 return false; 1716 } 1717 1718 switch (T) 1719 { 1720 case 'S': 1721 strTitle = 'ì íí í목ì ë³´ì´ëë¡ íìê² ìµëê¹?\n\n[Paper in Press íì´ì§]'; 1722 break; 1723 1724 case 'C': 1725 strTitle = 'ì íí í목ì ë³´ì´ì§ ìëë¡ íìê² ìµëê¹?\n\n[Paper in Press íì´ì§]'; 1726 break; 1727 1728 case 'P': 1729 strTitle = 'ì íí í목ì ê°íë¬¼ë¡ ë±ë¡ íìê² ìµëê¹?\n\n[ê°í물 목ë¡] ì¼ë¡ ì´ëí©ëë¤.'; 1730 break; 1731 } 1732 1733 if (!confirm(strTitle)) { 1734 return false; 1735 } else { 1736 st.MD.value = T; 1737 st.submit(); 1738 } 1739} 1740 1741 1742 1743 1744// Blue !!! 2008-11-05 ì ê³µë¶ì¼ ì íí기 1745function Subject_SelectFunc (VL, CNT) { 1746 var st = document.Thesis_Form; 1747 var cnt = 0, strText = ""; 1748 1749 for (k = 1; k < CNT ; k++) { 1750 document.getElementById("user_SubjectEtc").style.display = "none"; 1751 1752 if (document.getElementById("user_Subject" + k).checked == true) { 1753 document.getElementById("user_Subject" + k).style.background = "#C8DBF9"; 1754 cnt++; 1755 if ((k + 1) == CNT) document.getElementById("user_SubjectEtc").style.display = ""; 1756 } else { 1757 document.getElementById("user_Subject" + k).style.background = "#FFFFFF"; 1758 } 1759 } 1760 1761 if (cnt == 0) { 1762 strText = "â» Tick off your specialty on the list."; 1763 } else { 1764 if (cnt > 10) { 1765 alert('ten or less'); 1766 VL = VL.replace(/^[0]*/, ""); 1767 if ((eval(VL) + 1) == eval(CNT)) document.getElementById("user_SubjectEtc").style.display = "none"; 1768 return false; 1769 } 1770 1771// strText = "â» ì ê³µë¶ì¼ë¥¼ " + cnt + " ê°ì§ ì ííì ¨ìµëë¤."; 1772 strText = "â» Numbers of areas of expertise selected is " + cnt + "."; 1773 } 1774 1775 document.getElementById("Subject_CheckText").innerText = strText; 1776 1777 reviewSelectCnt = cnt; 1778} 1779 1780 1781function Subject_SelectFuncNew (no,VL) { 1782 var st = document.Thesis_Form; 1783 switch (VL) 1784 { 1785 case true: 1786 //$("#user_SubjectNew_ul"+no).stop().slideDown(); 1787 //document.getElementById("user_SubjectNew_ul"+no).style.display=''; 1788 break; 1789 1790 case false: 1791 //$("#user_SubjectNew_ul"+no).stop().slideUp(); 1792 //document.getElementById("user_SubjectNew_ul"+no).style.display='none'; 1793 break; 1794 } 1795} 1796 1797 1798// Blue !!! 2010-03-09 Mesh ê²ì ë¶ë¶ 1799function MeshChk(IDX) { 1800 var st = document.Thesis_Form; 1801 1802 if (st.E_KeyWord[IDX].value == '') { 1803 alert(_Lang_Eng["Please enter your keyword"]); 1804 st.E_KeyWord[IDX].focus(); 1805 return false; 1806 } else { 1807 windowOpen('https://www.ncbi.nlm.nih.gov/sites/entrez?db=mesh&term=' + st.E_KeyWord[IDX].value, 'Mesh', 900, 750, ',scrollbars=yes'); 1808 return false; 1809 } 1810} 1811 1812 1813// Blue !!! 2010-03-09 Mesh ê²ì ë¶ë¶ View (ì´ê±´ ê³µíµë¶ë¶ì ëë¤.) 1814function MeshView(KeyWord) { 1815 windowOpen('https://www.ncbi.nlm.nih.gov/sites/entrez?db=mesh&term=' + KeyWord, 'Mesh', 900, 750, ',scrollbars=yes'); 1816} 1817 1818 1819 1820// Blue !!! 2009-05-18 ë²ì íì¸ì© 1821function getNavigatorInfoStr() 1822{ 1823 var name = navigator.appName, ver = navigator.appVersion, 1824 ver_int = parseInt(navigator.appVersion), ua = navigator.userAgent, infostr; 1825 if(name == "Microsoft Internet Explorer") 1826 { 1827 if(ver.indexOf("MSIE 3.0") != -1) return "Internet Explorer 3.0x"; 1828 if(ver_int != 4) return "Internet Explorer " + ver.substring(0, ver.indexOf(" ")); 1829 1830 var real_ver = parseInt(ua.substring(ua.indexOf("MSIE ") + 5)); 1831 if(real_ver >= 7) infostr = "Windows Internet Explorer "; 1832 else infostr = "Microsoft Internet Explorer "; 1833 1834 if(ua.indexOf("MSIE 5.5") != -1) return infostr + "5.5"; 1835 else return infostr + real_ver + ".x"; 1836 1837 return "Internet Explorer"; 1838 } 1839 else if(name == "Netscape") 1840 { 1841 if(parseInt(ua.substring(8, 8)) <= 4) 1842 return "Netscape " + ver.substring(0, ver.indexOf(" ")); 1843 else if(ua.lastIndexOf(" ") > ua.lastIndexOf("/")) 1844 return ua.substring(ua.lastIndexOf(" ")); 1845 else return "Netscape"; 1846 } 1847 else return name; 1848} 1849 1850//2010-11-29 skh1120 published List ìì íë©´ìì ì¤ìë ¼ë¬¸ íì´í í´ë¦ì¼ë¡ ì§ì ì§ì . 1851function vest_TitleSet(){ 1852 document.getElementById("vest_title").value="Featured Article"; 1853} 1854 1855// Blue !!! 2007-09-13 í¸ì§ììì¥ ê²ì¬ë¶ê° 1856function thesis_Reject_UpDate(tr_num, AT, MD) { 1857 var Ment, linkUrl; 1858 1859 Ment = "í´ë¹ ë ¼ë¬¸ì ê²ì¬ë¶ê°(KJMB recommend)ë¡ ë°ì¡íìê² ìµëê¹?"; 1860 1861 linkUrl = ROOT_URL + "/Source/Admin/Admin_thesis_Reject.rang"; 1862 1863 if (!confirm(Ment)) { 1864 return false;
1865 } else { 1866 return false; 1867 //location.href = linkUrl + '?tr_num=' + tr_num + '&AT=' + AT + '&MD=' + MD; 1868 } 1869} 1870 1871function Editorial_preViewChk() { 1872 var st = document.sform; 1873 var Recommand = document.getElementsByName("Rstatus"); 1874 var LN = Recommand.length; 1875 var Chk = false; 1876 var statusNum = 1; 1877 1878 for (k=0;k < LN;k++) { 1879 if (Recommand[k].checked == true) { 1880 Chk = true; 1881 break; 1882 } 1883 statusNum++; 1884 } 1885 1886 if (Chk == true) { 1887 1888 document.getElementById("PreviewChk").style.display = ""; 1889 1890 document.getElementById("temp_PreChk").value = "Y"; //í리뷰 ë²í¼ì í´ë¦íì ê²½ì°! 1891 1892 var AuthorID = $("#rev_Comm").val(); 1893 var ReviewerID = $("#rev_CommText").val(); 1894 var MailTextID = $("#rev_MailComm").val(); 1895 1896 var focusObj = tinyMCE.getInstanceById("temp_preReview"); 1897 var val = st.tr_num.value; 1898 var rev_ListNo = st.rev_ListNo.value; 1899 var rev_Class = st.temp_Class.value; 1900 1901 var url = ROOT_URL + "/Source/Admin/Command_Preview.rang?tr_num=" + val + "&Rstatus="+ statusNum + "&CK=" + k + "&rev_ListNo=" + rev_ListNo + "&rev_Class=" + rev_Class; 1902 1903 new Ajax.Request(url, { 1904 method: 'get', 1905 onSuccess: function(transport) { 1906 var el = transport.responseText.split("||"); 1907 document.getElementById('temp_Title').value = el[0]; 1908 if(!el[1]) el[1] = ''; 1909 1910 if(ReviewerID) { 1911 //AuthorText = AuthorID + '<div style=\"height:40px\"> </div>' + ReviewerID; 1912 //AuthorText = AuthorID + '<br />' + ReviewerID; 1913 AuthorText = ReviewerID; 1914 } else { 1915 AuthorText = AuthorID; 1916 } 1917 1918 TextADD = el[1].replace('#AUTHOR_COMMENT#', AuthorText); 1919 TextADD = TextADD.replace('#EDITOR_COMMENT#', AuthorText); 1920 TextADD = TextADD.replace('#MAIL_COMMENT#', AuthorID); 1921 1922 focusObj.setContent(TextADD); 1923 }, 1924 onFailure: function() { 1925 alert("Ajax를 ì¤íí ì ììµëë¤."); 1926 } 1927 }); 1928 1929 } else { 1930 alert("Please select review result."); 1931 st.Rstatus[0].focus(); 1932 } 1933 1934} 1935 1936function Editorial_preViewValueChk() { 1937 if (document.getElementById("PreviewChk").style.display==""){ // 미리보기 ì°½ì´ ì´ë ¤ììê²½ì° 1938 1939 Editorial_preViewChk(); 1940 //document.getElementById("PreviewChk").style.display = "none"; 1941 } 1942} 1943 1944 1945// Blue !!! 2009-12-08 í¸ì§ìì íì ê²ì¬ë¶ê°ì 1946function Editorial_Reject_Chk(num) { 1947 st = document.sform; 1948 /* 1949 if (st.Rstatus[4].checked == true) { 1950 document.getElementById("degreeTr").style.display = ""; 1951 document.getElementById("degreeTr2").style.display = "none"; 1952 1953 var tinyID = tinyMCE.getInstanceById("rev_Comm"); 1954 tinyID.setContent(""); 1955 1956 } else { 1957 document.getElementById("degreeTr").style.display = "none"; 1958 document.getElementById("degreeTr2").style.display = "none"; 1959 1960 var tinyID = tinyMCE.getInstanceById("rev_Comm"); 1961 tinyID.setContent(preResultCheckArr[num-1]); 1962 1963 } 1964 */ 1965 var tinyID = tinyMCE.getInstanceById("rev_Comm"); 1966 tinyID.setContent(preResultCheckArr[num-1]); 1967} 1968 1969 1970 1971// Blue !!! 2009-10-15 ê´ë¦¬ìì© ê²ìë¶ë¶ : ì¹´í ê³ ë¦¬ ê²ìì´ í¬í¨ë ë¶ë¶ì ì´ë ê² ì²ë¦¬í´ì¤ëë¤. 2ë¨ select 1972function Adm_Search_FormChk_Cate(MD) { 1973 var st = document.Search_Form; 1974 1975 st.target = ""; 1976 1977 switch (MD) 1978 { 1979 case "RL": // Reviewer List 1980 st.action = "Reviewers.html"; 1981 break; 1982 1983 case "RS": // Reviewer Select List 1984 st.action = "Reviewer_Select.html"; 1985 break; 1986 1987 case "ES": // Editor Select List 1988 st.action = "Editor_Select.html"; 1989 break; 1990 case "RSS": 1991 1992 if(!st.Search_email.value) { 1993 alert("Please enter your e-mail address."); 1994 st.Search_email.focus(); 1995 return false; 1996 } else { 1997 EmailValue= trim_tags(st.Search_email.value); 1998 chk = isEmail(EmailValue); 1999 2000 if (chk == false) 2001 { 2002 alert("You did not enter a valid e-mail address."); 2003 st.Search_email.select(); 2004 return false; 2005 } 2006 } 2007 2008 st.action = "Reviewer_GetRegist_Search.html"; 2009 break; 2010 case "ESS": 2011 2012 if(!st.Search_email.value) { 2013 alert("Please enter your e-mail address."); 2014 st.Search_email.focus(); 2015 return false; 2016 } else { 2017 EmailValue= trim_tags(st.Search_email.value); 2018 chk = isEmail(EmailValue); 2019 2020 if (chk == false) 2021 { 2022 alert("You did not enter a valid e-mail address."); 2023 st.Search_email.select(); 2024 return false;
2025 } 2026 } 2027 2028 st.action = "Editor_GetRegist_Search.html"; 2029 break; 2030 case "ESS_T": 2031 2032 /* 2033 if(!st.Search_email.value) { 2034 alert("Please enter your e-mail address."); 2035 st.Search_email.focus(); 2036 return false; 2037 } else { 2038 EmailValue= trim_tags(st.Search_email.value); 2039 chk = isEmail(EmailValue); 2040 2041 if (chk == false) 2042 { 2043 alert("You did not enter a valid e-mail address."); 2044 st.Search_email.select(); 2045 return false; 2046 } 2047 } 2048 */ 2049 2050 st.action = "Editor_GetRegist_Search_List.html"; 2051 break; 2052 2053 default: 2054 } 2055 2056 st.submit(); 2057} 2058 2059// Blue !!! 2012-04-24 íì¼ ì ë¡ë 2060function CrossCheck_File_Upload() { 2061 var st = document.Thesis_Form; 2062 2063 if (st.file_Name.value == '') { 2064 alert('Please select your upload files.'); 2065 st.file_Name.focus(); 2066 return false; 2067 } 2068 2069 switch (formatChk(st.file_Name)) { 2070 case 'html': 2071 case 'pdf': 2072 break; 2073 2074 default: 2075 alert('Please check file type.'); 2076 return false; 2077 } 2078 2079 st.submit(); 2080} 2081 2082// Blue !!! 2015-02-11 íì¼ì ë¡ëìì Figure/Table/Supple ì íì ì²ë¦¬ëë ë¶ë¶ì ëë¤. 2083// ì¤ì ë index ê°ì ë°ë¼ ë¶ê¸° í기 ë문ì Comm_Arr.inc ìì ì¤ì í ì¸ë±ì¤ì ë§ìì¼ í©ëë¤. // $_SET['thesis']['Figure'] = 4; 2084function fileType_ChangeAll_Fun() { 2085 var chkAll = "none"; // ì ì²´ 2086 var chk1 = "none"; // Number 2087 var chk2 = "none"; // caption 2088 2089 var LN = document.getElementsByName("file_Type[]").length; 2090 2091 for (i=0;i < LN;i++) { 2092 switch (document.getElementsByName("file_Type[]")[i].selectedIndex) { 2093 case 2: // table : ììì ì´ë¯¸ì§ ì¼ ê²½ì° ìº¡ì ì ë³´ì¬ì¤. 2094 //case 3: // figure : ììì ì´ë¯¸ì§ ì¼ ê²½ì° ìº¡ì ì ë³´ì¬ì¤. 2095 chkAll = ""; 2096 chk1 = ""; 2097 switch (formatChk(document.getElementsByName("file_Name[]")[i])) { 2098 case 'jpg': 2099 case 'jpeg': 2100 case 'gif': 2101 case 'tif': 2102 case 'tiff': 2103 case 'bmp': 2104 case 'png': 2105 case 'eps': 2106 chk2 = ""; 2107 break; 2108 2109 default: 2110 chk2 = "none"; 2111 } 2112 break; 2113 2114 case 5: // supple : ììë§ ë³´ì¬ì¤ 2115 chkAll = ""; 2116 chk1 = ""; 2117 chk2 = "none"; 2118 break; 2119 2120 default: 2121 chkAll = "none"; 2122 chk1 = "none"; 2123 chk2 = "none"; 2124 } 2125 2126 // ì´ê¸°í 2127 if (chk1 == "none") document.getElementsByName("file_SubSeq[]")[i].value = ""; 2128 if (chk2 == "none") document.getElementsByName("file_Memo[]")[i].value = ""; 2129 2130 document.getElementsByName("file_Name_View")[i].style.display = chkAll; 2131 document.getElementsByName("file_Name_Number")[i].style.display = chk1; 2132 document.getElementsByName("file_Name_Caption")[i].style.display = chk2; 2133 } 2134} 2135 2136 2137// Blue !!! 2009-03-19 í¸ì§ìì ë©ì¼ 미리보기 ì²´í¬ 2138function Admin_ProofChk() { 2139 var st = document.Thesis_Form; 2140 var statusCnt = st.Rstatus.length; 2141 var statusNum = 0; 2142 var tinyID = tinyMCE.getInstanceById("rev_Comm"); 2143 var tinyID2 = tinyMCE.getInstanceById("mail_Content"); 2144 2145 for(var k=0; k<statusCnt; k++) { 2146 if(st.Rstatus[k].checked==false) { 2147 statusNum++; 2148 } 2149 } 2150 2151 if(statusCnt == statusNum) { 2152 alert("Please select review result."); 2153 st.Rstatus[0].focus(); 2154 return false; 2155 } 2156 2157 tinyMCE.triggerSave(); // ë°ëì 기ì í´ì¼ í¨. 2158 /*2020-11-09 íììì ì íì¼ë¡ ë³ê²½ 2159 if (tinyID.getContent() == "") { 2160 alert("Please enter review contents."); 2161 tinyID.setContent(""); 2162 tinyID.focus(); 2163 return false; 2164 } 2165 */ 2166 2167 2168 if (st.mail_Title.value == '') 2169 { 2170 alert('Please enter mail title.'); 2171 return false; 2172 } 2173 2174 if (tinyID2.getContent() == "") { 2175 alert("Please enter mail message."); 2176 tinyID2.setContent(""); 2177 tinyID2.focus(); 2178 return false; 2179 } 2180 2181 if(confirm("Will you send it?") ) { 2182 return true; 2183 } 2184 2185 return false; 2186} 2187 2188// Blue!! 2006-06-13 íì ì ë³´ ê²ì 2189function MemberSearch_Editor(M, IDX) 2190{ 2191 windowOpen(ROOT_URL + '/Source/Author/thesis_Editor_MemberSearch.html?MD=' + M + '&IDX=' + IDX, 'thesis_Editor_MemberSearch', 1050, 660, ',scrollbars=yes'); 2192 2193 return false; 2194} 2195 2196//-->
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.