1 2function setCookie(name, value, expiredays) { 3 var todayDate = new Date(); 4 todayDate.setDate( todayDate.getDate() + expiredays ); 5 document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" 6} 7 8function getCookie(name) { 9 10 var nameOfCookie = name + "="; 11 var x = 0; 12 13 while ( x <= document.cookie.length ) 14 { 15 var y = (x+nameOfCookie.length); 16 if ( document.cookie.substring( x, y ) == nameOfCookie ) 17 { 18 if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) 19 endOfCookie = document.cookie.length; 20 return unescape( document.cookie.substring( y, endOfCookie ) ); 21 } 22 x = document.cookie.indexOf( " ", x ) + 1; 23 if ( x == 0 ) 24 break; 25 } 26 return ; 27} 28 29function notice_setCookie( name, value, expiredays ){ 30 31 var todayDate = new Date(); 32 todayDate.setDate( todayDate.getDate() + expiredays ); 33 document.cookie = name + "=" + escape( value ) + "; " + 34 "path=/; expires=" + todayDate.toGMTString() + ";" 35} 36function individualNotice_setCookie( name, value, expiredays ){ 37 38 var todayDate = new Date(); 39 todayDate.setDate( todayDate.getDate() + expiredays ); 40 document.cookie = name + "=" + escape( value ) + "; " + 41 "path=/; expires=" + todayDate.toGMTString() + ";" 42} 43 44function notice_closeWin(name){ 45 46 if ( document.forms[0].Notice.checked ) { 47 notice_setCookie( name, "done" , 1); // 1=ÇÏ·íµ¿¾È °øÁöâ ¿Áö ¾ÊÀ½ 48 window.close(); 49 } 50} 51 52function individualNotice_closeWin(name){ 53 if ( document.forms[0].individualNotice.checked ) { 54 individualNotice_setCookie( name, "done" , 1); // 1=ÇÏ·íµ¿¾È °øÁöâ ¿Áö ¾ÊÀ½ 55 window.close(); 56 } 57} 58 59function popContentView(cnt, totalSize){ 60 for(i=0; i<totalSize; i++) { 61 if(cnt == i) { 62 $("#content_"+i).css("display", ""); 63 } else { 64 $("#content_"+i).css("display", "none"); 65 } 66 } 67} 68 69 70var tmp_noticeId = ""; 71var topNotice = ""; 72 73function viewNotice(noticeId){ 74 var tlist; 75 var rwidth; 76 //document.getElementById("title_"+noticeId).className="board_noticeOver"; 77 document.getElementById("a_"+noticeId).style.color="red"; 78 //document.getElementById("title_"+noticeId).onMouseOut=""; 79 if(tmp_noticeId != "" && noticeId != tmp_noticeId){ 80 overClose(tmp_noticeId); 81 } 82 tmp_noticeId = noticeId; 83 document.getElementById("viewContent").innerHTML = document.getElementById(noticeId).innerHTML; 84 tlist = document.getElementById(noticeId).getElementsByTagName("table"); 85 for (i=0;i<=tlist.length;i++){ 86 if(tlist[i] != null){ 87 if(tlist[i].name == "topTable"){ 88 rwidth = parseInt(tlist[i].width) + 80; 89 window.resizeTo(rwidth, tlist[i].height); 90 return; 91 } 92 } 93 } 94window.resizeTo(410,500); 95} 96 97function overClose(noticeId){ 98 document.getElementById("a_"+noticeId).style.color="#0C4071"; 99} 100 101function onLoad(){ 102 103 //viewNotice(topNotice); 104} 105 106
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.