1// ì ì ë³ì 2var errmsg = ""; 3var errfld = null; 4 5// íë ê²ì¬ 6function check_field(fld, msg) 7{ 8 if ((fld.value = trim(fld.value)) == "") 9 error_field(fld, msg); 10 else 11 clear_field(fld); 12 return; 13} 14 15// íë ì¤ë¥ íì 16function error_field(fld, msg) 17{ 18 if (msg != "") 19 errmsg += msg + "\n"; 20 if (!errfld) errfld = fld; 21 fld.style.background = "#BDDEF7"; 22} 23 24// íë를 깨ëíê² 25function clear_field(fld) 26{ 27 fld.style.background = "#FFFFFF"; 28} 29 30function trim(s) 31{ 32 var t = ""; 33 var from_pos = to_pos = 0; 34 35 for (i=0; i<s.length; i++) 36 { 37 if (s.charAt(i) == ' ') 38 continue; 39 else 40 { 41 from_pos = i; 42 break; 43 } 44 } 45 46 for (i=s.length; i>=0; i--) 47 { 48 if (s.charAt(i-1) == ' ') 49 continue; 50 else 51 { 52 to_pos = i; 53 break; 54 } 55 } 56 57 t = s.substring(from_pos, to_pos); 58 // alert(from_pos + ',' + to_pos + ',' + t+'.'); 59 return t; 60} 61 62// ìë°ì¤í¬ë¦½í¸ë¡ PHPì number_format íë´ë¥¼ ë 63// ì«ìì , 를 ì¶ë ¥ 64function number_format(data) 65{ 66 67 var tmp = ''; 68 var number = ''; 69 var cutlen = 3; 70 var comma = ','; 71 var i; 72 73 data = data + ''; 74 75 var sign = data.match(/^[\+\-]/); 76 if(sign) { 77 data = data.replace(/^[\+\-]/, ""); 78 } 79 80 len = data.length; 81 mod = (len % cutlen);
82 k = cutlen - mod; 83 for (i=0; i<data.length; i++) 84 { 85 number = number + data.charAt(i); 86 87 if (i < data.length - 1) 88 { 89 k++; 90 if ((k % cutlen) == 0) 91 { 92 number = number + comma; 93 k = 0; 94 } 95 } 96 } 97 98 if(sign != null) 99 number = sign+number; 100 101 return number; 102} 103 104// ì ì°½ 105function popup_window(url, winname, opt) 106{ 107 window.open(url, winname, opt); 108} 109 110 111// í¼ë©ì¼ ì°½ 112function popup_formmail(url) 113{ 114 opt = 'scrollbars=yes,width=417,height=385,top=10,left=20'; 115 popup_window(url, "wformmail", opt); 116} 117 118// , 를 ìì¤ë¤. 119function no_comma(data) 120{ 121 var tmp = ''; 122 var comma = ','; 123 var i; 124 125 for (i=0; i<data.length; i++) 126 { 127 if (data.charAt(i) != comma) 128 tmp += data.charAt(i); 129 } 130 return tmp; 131} 132 133// ìì ê²ì¬ íì¸ 134function del(href) 135{ 136 if(confirm("íë² ìì í ìë£ë 복구í ë°©ë²ì´ ììµëë¤.\n\nì ë§ ìì íìê² ìµëê¹?")) { 137 var iev = -1; 138 if (navigator.appName == 'Microsoft Internet Explorer') { 139 var ua = navigator.userAgent; 140 var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); 141 if (re.exec(ua) != null) 142 iev = parseFloat(RegExp.$1); 143 } 144
145 // IE6 ì´íìì íê¸ê¹¨ì§ ë°©ì§ 146 if (iev != -1 && iev < 7) { 147 document.location.href = encodeURI(href); 148 } else { 149 document.location.href = href; 150 } 151 } 152} 153 154// ì¿ í¤ ì ë ¥ 155function set_cookie(name, value, expirehours, domain) 156{ 157 var today = new Date(); 158 today.setTime(today.getTime() + (60*60*1000*expirehours)); 159 document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + today.toGMTString() + ";"; 160 if (domain) { 161 document.cookie += "domain=" + domain + ";"; 162 } 163} 164 165// ì¿ í¤ ì»ì 166function get_cookie(name) 167{ 168 var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); 169 if (match) return unescape(match[2]); 170 return ""; 171} 172 173// ì¿ í¤ ì§ì 174function delete_cookie(name) 175{ 176 var today = new Date(); 177 178 today.setTime(today.getTime() - 1); 179 var value = get_cookie(name); 180 if(value != "") 181 document.cookie = name + "=" + value + "; path=/; expires=" + today.toGMTString(); 182} 183 184var last_id = null; 185function menu(id) 186{ 187 if (id != last_id) 188 { 189 if (last_id != null) 190 document.getElementById(last_id).style.display = "none"; 191 document.getElementById(id).style.display = "block"; 192 last_id = id; 193 } 194 else 195 { 196 document.getElementById(id).style.display = "none"; 197 last_id = null; 198 } 199} 200 201function textarea_decrease(id, row) 202{ 203 if (document.getElementById(id).rows - row > 0) 204 document.getElementById(id).rows -= row; 205} 206 207function textarea_original(id, row) 208{ 209 document.getElementById(id).rows = row; 210} 211 212function textarea_increase(id, row) 213{ 214 document.getElementById(id).rows += row; 215} 216 217// ê¸ì«ì ê²ì¬ 218function check_byte(content, target) 219{ 220 var i = 0; 221 var cnt = 0; 222 var ch = ''; 223 var cont = document.getElementById(content).value; 224 225 for (i=0; i<cont.length; i++) { 226 ch = cont.charAt(i); 227 if (escape(ch).length > 4) { 228 cnt += 2; 229 } else { 230 cnt += 1; 231 } 232 } 233 // ì«ì를 ì¶ë ¥ 234 document.getElementById(target).innerHTML = cnt; 235 236 return cnt; 237} 238 239// ë¸ë¼ì°ì ìì ì¤ë¸ì í¸ì ì¼ìª½ ì¢í 240function get_left_pos(obj) 241{ 242 var parentObj = null; 243 var clientObj = obj; 244 //var left = obj.offsetLeft + document.body.clientLeft; 245 var left = obj.offsetLeft; 246 247 while((parentObj=clientObj.offsetParent) != null) 248 { 249 left = left + parentObj.offsetLeft; 250 clientObj = parentObj; 251 } 252 253 return left; 254} 255 256// ë¸ë¼ì°ì ìì ì¤ë¸ì í¸ì ìë¨ ì¢í 257function get_top_pos(obj) 258{ 259 var parentObj = null; 260 var clientObj = obj; 261 //var top = obj.offsetTop + document.body.clientTop; 262 var top = obj.offsetTop; 263 264 while((parentObj=clientObj.offsetParent) != null) 265 { 266 top = top + parentObj.offsetTop; 267 clientObj = parentObj; 268 } 269 270 return top; 271} 272 273function flash_movie(src, ids, width, height, wmode) 274{ 275 var wh = ""; 276 if (parseInt(width) && parseInt(height)) 277 wh = " width='"+width+"' height='"+height+"' "; 278 return "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' "+wh+" id="+ids+"><param name=wmode value="+wmode+"><param name=movie value="+src+"><param name=quality value=high><embed src="+src+" quality=high wmode="+wmode+" type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash' "+wh+"></embed></object>"; 279} 280 281function obj_movie(src, ids, width, height, autostart) 282{ 283 var wh = ""; 284 if (parseInt(width) && parseInt(height)) 285 wh = " width='"+width+"' height='"+height+"' "; 286 if (!autostart) autostart = false;
287 return "<embed src='"+src+"' "+wh+" autostart='"+autostart+"'></embed>"; 288} 289 290function doc_write(cont) 291{ 292 document.write(cont); 293} 294 295var win_password_lost = function(href) { 296 window.open(href, "win_password_lost", "left=50, top=50, width=617, height=330, scrollbars=1"); 297} 298 299$(document).ready(function(){ 300 $("#login_password_lost, #ol_password_lost").click(function(){ 301 win_password_lost(this.href); 302 return false; 303 }); 304}); 305 306/** 307 * í¬ì¸í¸ ì°½ 308 **/ 309var win_point = function(href) { 310 var new_win = window.open(href, 'win_point', 'left=100,top=100,width=600, height=600, scrollbars=1'); 311 new_win.focus(); 312} 313 314/** 315 * ìª½ì§ ì°½ 316 **/ 317var win_memo = function(href) { 318 var new_win = window.open(href, 'win_memo', 'left=100,top=100,width=620,height=500,scrollbars=1'); 319 new_win.focus(); 320} 321 322/** 323 * ìª½ì§ ì°½ 324 **/ 325var check_goto_new = function(href, event) { 326 if( !(typeof g5_is_mobile != "undefined" && g5_is_mobile) ){ 327 if (window.opener && window.opener.document && window.opener.document.getElementById) { 328 event.preventDefault ? event.preventDefault() : (event.returnValue = false); 329 window.open(href); 330 //window.opener.document.location.href = href; 331 } 332 } 333} 334 335/** 336 * ë©ì¼ ì°½ 337 **/ 338var win_email = function(href) { 339 var new_win = window.open(href, 'win_email', 'left=100,top=100,width=600,height=580,scrollbars=1'); 340 new_win.focus(); 341} 342 343/** 344 * ì기ìê° ì°½ 345 **/ 346var win_profile = function(href) { 347 var new_win = window.open(href, 'win_profile', 'left=100,top=100,width=620,height=510,scrollbars=1'); 348 new_win.focus(); 349} 350 351/** 352 * ì¤í¬ë© ì°½ 353 **/ 354var win_scrap = function(href) { 355 var new_win = window.open(href, 'win_scrap', 'left=100,top=100,width=600,height=600,scrollbars=1'); 356 new_win.focus(); 357} 358 359/** 360 * ííì´ì§ ì°½ 361 **/ 362var win_homepage = function(href) { 363 var new_win = window.open(href, 'win_homepage', ''); 364 new_win.focus(); 365} 366 367/** 368 * ì°í¸ë²í¸ ì°½ 369 **/ 370var win_zip = function(frm_name, frm_zip, frm_addr1, frm_addr2, frm_addr3, frm_jibeon) { 371 if(typeof daum === 'undefined'){ 372 alert("ë¤ì ì°í¸ë²í¸ postcode.v2.js íì¼ì´ ë¡ëëì§ ìììµëë¤."); 373 return false; 374 } 375 376 var zip_case = 1; //0ì´ë©´ ë ì´ì´, 1ì´ë©´ íì´ì§ì ë¼ì ë£ê¸°, 2ì´ë©´ ìì°½ 377 378 var complete_fn = function(data){ 379 // íì ìì ê²ìê²°ê³¼ í목ì í´ë¦íìë ì¤íí ì½ë를 ìì±íë ë¶ë¶. 380 381 // ê° ì£¼ìì ë ¸ì¶ ê·ì¹ì ë°ë¼ 주ì를 ì¡°í©íë¤. 382 // ë´ë ¤ì¤ë ë³ìê° ê°ì´ ìë ê²½ì°ì 공백('')ê°ì ê°ì§ë¯ë¡, ì´ë¥¼ ì°¸ê³ íì¬ ë¶ê¸° íë¤. 383 var fullAddr = ''; // ìµì¢ 주ì ë³ì 384 var extraAddr = ''; // ì¡°í©í 주ì ë³ì 385 386 // ì¬ì©ìê° ì íí 주ì íì ì ë°ë¼ í´ë¹ 주ì ê°ì ê°ì ¸ì¨ë¤. 387 if (data.userSelectedType === 'R') { // ì¬ì©ìê° ëë¡ëª 주ì를 ì ííì ê²½ì° 388 fullAddr = data.roadAddress; 389 390 } else { // ì¬ì©ìê° ì§ë² 주ì를 ì ííì ê²½ì°(J) 391 fullAddr = data.jibunAddress; 392 } 393 394 // ì¬ì©ìê° ì íí 주ìê° ëë¡ëª íì ì¼ë ì¡°í©íë¤. 395 if(data.userSelectedType === 'R'){ 396 //ë²ì ëëª ì´ ìì ê²½ì° ì¶ê°íë¤. 397 if(data.bname !== ''){ 398 extraAddr += data.bname; 399 } 400 // ê±´ë¬¼ëª ì´ ìì ê²½ì° ì¶ê°íë¤. 401 if(data.buildingName !== ''){ 402 extraAddr += (extraAddr !== '' ? ', ' + data.buildingName : data.buildingName); 403 } 404 // ì¡°í©í주ìì ì 무ì ë°ë¼ ì쪽ì ê´í¸ë¥¼ ì¶ê°íì¬ ìµì¢ 주ì를 ë§ë ë¤. 405 extraAddr = (extraAddr !== '' ? ' ('+ extraAddr +')' : ''); 406 } 407 408 // ì°í¸ë²í¸ì 주ì ì 보를 í´ë¹ íëì ë£ê³ , 커ì를 ìì¸ì£¼ì íëë¡ ì´ëíë¤. 409 var of = document[frm_name]; 410 411 of[frm_zip].value = data.zonecode; 412 413 of[frm_addr1].value = fullAddr; 414 of[frm_addr3].value = extraAddr; 415 416 if(of[frm_jibeon] !== undefined){ 417 of[frm_jibeon].value = data.userSelectedType; 418 } 419 420 setTimeout(function(){ 421 of[frm_addr2].focus(); 422 } , 100); 423 }; 424 425 switch(zip_case) { 426 case 1 : //iframeì ì´ì©íì¬ íì´ì§ì ë¼ì ë£ê¸° 427 var daum_pape_id = 'daum_juso_page'+frm_zip, 428 element_wrap = document.getElementById(daum_pape_id), 429 currentScroll = Math.max(document.body.scrollTop, document.documentElement.scrollTop); 430 if (element_wrap == null) { 431 element_wrap = document.createElement("div"); 432 element_wrap.setAttribute("id", daum_pape_id); 433 element_wrap.style.cssText = 'display:none;border:1px solid;left:0;width:100%;height:300px;margin:5px 0;position:relative;-webkit-overflow-scrolling:touch;'; 434 element_wrap.innerHTML = '<img src="//i1.daumcdn.net/localimg/localimages/07/postcode/320/close.png" id="bt
434nFoldWrap" style="cursor:pointer;position:absolute;right:0px;top:-21px;z-index:1" class="close_daum_juso" alt="ì 기 ë²í¼">'; 435 jQuery('form[name="'+frm_name+'"]').find('input[name="'+frm_addr1+'"]').before(element_wrap); 436 jQuery("#"+daum_pape_id).off("click", ".close_daum_juso").on("click", ".close_daum_juso", function(e){ 437 e.preventDefault(); 438 jQuery(this).parent().hide(); 439 }); 440 } 441 442 new daum.Postcode({ 443 oncomplete: function(data) { 444 complete_fn(data); 445 // iframeì ë£ì element를 ìë³´ì´ê² íë¤. 446 element_wrap.style.display = 'none'; 447 // ì°í¸ë²í¸ 찾기 íë©´ì´ ë³´ì´ê¸° ì´ì ì¼ë¡ scroll ìì¹ë¥¼ ëë린ë¤. 448 document.body.scrollTop = currentScroll; 449 }, 450 // ì°í¸ë²í¸ 찾기 íë©´ í¬ê¸°ê° ì¡°ì ëììë ì¤íí ì½ë를 ìì±íë ë¶ë¶. 451 // iframeì ë£ì elementì ëì´ê°ì ì¡°ì íë¤. 452 onresize : function(size) { 453 element_wrap.style.height = size.height + "px"; 454 }, 455 maxSuggestItems : g5_is_mobile ? 6 : 10, 456 width : '100%', 457 height : '100%' 458 }).embed(element_wrap); 459 460 // iframeì ë£ì element를 ë³´ì´ê² íë¤. 461 element_wrap.style.display = 'block'; 462 break; 463 case 2 : //ìì°½ì¼ë¡ ëì°ê¸° 464 new daum.Postcode({ 465 oncomplete: function(data) { 466 complete_fn(data); 467 } 468 }).open(); 469 break; 470 default : //iframeì ì´ì©íì¬ ë ì´ì´ ëì°ê¸° 471 var rayer_id = 'daum_juso_rayer'+frm_zip, 472 element_layer = document.getElementById(rayer_id); 473 if (element_layer == null) { 474 element_layer = document.createElement("div"); 475 element_layer.setAttribute("id", rayer_id); 476 element_layer.style.cssText = 'display:none;border:5px solid;position:fixed;width:300px;height:460px;left:50%;margin-left:-155px;top:50%;margin-top:-235px;overflow:hidden;-webkit-overflow-scrolling:touch;z-index:10000'; 477 element_layer.innerHTML = '<img src="//i1.daumcdn.net/localimg/localimages/07/postcode/320/close.png" id="btnCloseLayer" style="cursor:pointer;position:absolute;right:-3px;top:-3px;z-index:1" class="close_daum_juso" alt="ë«ê¸° ë²í¼">'; 478 document.body.appendChild(element_layer); 479 jQuery("#"+rayer_id).off("click", ".close_daum_juso").on("click", ".close_daum_juso", function(e){ 480 e.preventDefault(); 481 jQuery(this).parent().hide(); 482 }); 483 } 484 485 new daum.Postcode({ 486 oncomplete: function(data) { 487 complete_fn(data); 488 // iframeì ë£ì element를 ìë³´ì´ê² íë¤. 489 element_layer.style.display = 'none'; 490 }, 491 maxSuggestItems : g5_is_mobile ? 6 : 10, 492 width : '100%', 493 height : '100%' 494 }).embed(element_layer); 495 496 // iframeì ë£ì element를 ë³´ì´ê² íë¤. 497 element_layer.style.display = 'block'; 498 } 499} 500 501/** 502 * ìë¡ì´ ë¹ë°ë²í¸ ë¶ì¤ ì°½ : 101123 503 **/ 504win_password_lost = function(href) 505{ 506 var new_win = window.open(href, 'win_password_lost', 'width=617, height=330, scrollbars=1'); 507 new_win.focus(); 508} 509 510/** 511 * ì¤ë¬¸ì¡°ì¬ ê²°ê³¼ 512 **/ 513var win_poll = function(href) { 514 var new_win = window.open(href, 'win_poll', 'width=616, height=500, scrollbars=1'); 515 new_win.focus(); 516} 517 518/** 519 * ì¤í¬ë¦°ë¦¬ë 미ì¬ì©ì를 ìí ì¤í¬ë¦½í¸ - ì§ì´ìë¹ 2013-04-22 520 * alt ê°ë§ ê°ë ê·¸ëí½ ë§í¬ì ë§ì°ì¤ì¤ë² ì title ê° ë¶ì¬, ë§ì°ì¤ìì ì title ê° ì ê±° 521 **/ 522$(function() { 523 $('a img').mouseover(function() { 524 $a_img_title = $(this).attr('alt'); 525 $(this).attr('title', $a_img_title); 526 }).mouseout(function() { 527 $(this).attr('title', ''); 528 }); 529}); 530 531/** 532 * í ì¤í¸ 리ì¬ì´ì¦ 533**/ 534function font_resize(id, rmv_class, add_class, othis) 535{ 536 var $el = $("#"+id); 537 538 if((typeof rmv_class !== "undefined" && rmv_class) || (typeof add_class !== "undefined" && add_class)){ 539 $el.removeClass(rmv_class).addClass(add_class); 540 541 set_cookie("ck_font_resize_rmv_class", rmv_class, 1, g5_cookie_domain); 542 set_cookie("ck_font_resize_add_class", add_class, 1, g5_cookie_domain); 543 } 544 545 if(typeof othis !== "undefined"){ 546 $(othis).addClass('select').siblings().removeClass('select'); 547 } 548} 549 550/** 551 * ëê¸ ìì í í° 552**/ 553function set_comment_token(f) 554{ 555 if(typeof f.token === "undefined") 556 $(f).prepend('<input type="hidden" name="token" value="">'); 557 558 $.ajax({ 559 url: g5_bbs_url+"/ajax.comment_token.php", 560 type: "GET", 561 dataType: "json", 562 async: false, 563 cache: false, 564 success: function(data, textStatus) { 565 f.token.value = data.token; 566 } 567 }); 568} 569 570$(function(){
571 $(".win_point").click(function() { 572 win_point(this.href); 573 return false; 574 }); 575 576 $(".win_memo").click(function() { 577 win_memo(this.href); 578 return false; 579 }); 580 581 $(".win_email").click(function() { 582 win_email(this.href); 583 return false; 584 }); 585 586 $(".win_scrap").click(function() { 587 win_scrap(this.href); 588 return false; 589 }); 590 591 $(".win_profile").click(function() { 592 win_profile(this.href); 593 return false; 594 }); 595 596 $(".win_homepage").click(function() { 597 win_homepage(this.href); 598 return false; 599 }); 600 601 $(".win_password_lost").click(function() { 602 win_password_lost(this.href); 603 return false; 604 }); 605 606 /* 607 $(".win_poll").click(function() { 608 win_poll(this.href); 609 return false; 610 }); 611 */ 612 613 // ì¬ì´ëë·° 614 var sv_hide = false; 615 $(".sv_member, .sv_guest").click(function() { 616 $(".sv").removeClass("sv_on"); 617 $(this).closest(".sv_wrap").find(".sv").addClass("sv_on"); 618 }); 619 620 $(".sv, .sv_wrap").hover( 621 function() { 622 sv_hide = false;
623 }, 624 function() { 625 sv_hide = true; 626 } 627 ); 628 629 $(".sv_member, .sv_guest").focusin(function() { 630 sv_hide = false; 631 $(".sv").removeClass("sv_on"); 632 $(this).closest(".sv_wrap").find(".sv").addClass("sv_on"); 633 }); 634 635 $(".sv a").focusin(function() { 636 sv_hide = false; 637 }); 638 639 $(".sv a").focusout(function() { 640 sv_hide = true; 641 }); 642 643 // ì ë í¸ ul 644 var sel_hide = false; 645 $('.sel_btn').click(function() { 646 $('.sel_ul').removeClass('sel_on'); 647 $(this).siblings('.sel_ul').addClass('sel_on'); 648 }); 649 650 $(".sel_wrap").hover( 651 function() { 652 sel_hide = false; 653 }, 654 function() { 655 sel_hide = true; 656 } 657 ); 658 659 $('.sel_a').focusin(function() { 660 sel_hide = false; 661 }); 662 663 $('.sel_a').focusout(function() { 664 sel_hide = true; 665 }); 666 667 $(document).click(function() { 668 if(sv_hide) { // ì¬ì´ëë·° í´ì 669 $(".sv").removeClass("sv_on"); 670 } 671 if (sel_hide) { // ì ë í¸ ul í´ì 672 $('.sel_ul').removeClass('sel_on'); 673 } 674 }); 675 676 $(document).focusin(function() { 677 if(sv_hide) { // ì¬ì´ëë·° í´ì 678 $(".sv").removeClass("sv_on"); 679 } 680 if (sel_hide) { // ì ë í¸ ul í´ì 681 $('.sel_ul').removeClass('sel_on'); 682 } 683 }); 684 685 $(document).on( "keyup change", "textarea#wr_content[maxlength]", function(){ 686 var str = $(this).val(); 687 var mx = parseInt($(this).attr("maxlength")); 688 if (str.length > mx) { 689 $(this).val(str.substr(0, mx)); 690 return false; 691 } 692 }); 693}); 694 695function get_write_token(bo_table) 696{ 697 var token = ""; 698 699 $.ajax({ 700 type: "POST", 701 url: g5_bbs_url+"/write_token.php", 702 data: { bo_table: bo_table }, 703 cache: false, 704 async: false, 705 dataType: "json", 706 success: function(data) { 707 if(data.error) { 708 alert(data.error); 709 if(data.url) 710 document.location.href = data.url; 711 712 return false; 713 } 714 715 token = data.token; 716 } 717 }); 718 719 return token; 720} 721 722$(function() { 723 $(document).on("click", "form[name=fwrite] input:submit, form[name=fwrite] button:submit, form[name=fwrite] input:image", function() { 724 var f = this.form; 725 726 if (typeof(f.bo_table) == "undefined") { 727 return; 728 } 729 730 var bo_table = f.bo_table.value; 731 var token = get_write_token(bo_table); 732 733 if(!token) { 734 alert("í í° ì ë³´ê° ì¬ë°ë¥´ì§ ììµëë¤."); 735 return false; 736 } 737 738 var $f = $(f); 739 740 if(typeof f.token === "undefined") 741 $f.prepend('<input type="hidden" name="token" value="">'); 742 743 $f.find("input[name=token]").val(token); 744 745 return true; 746 }); 747});
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.