1function open_wingr(win_file, win_title) 2{ 3window.open(win_file, win_title, 'resizable=yes,width=500,height=600,toolbar=yes,scrollbars=yes,location=no,menubar=no,status=yes'); 4} 5 6 7function show(object) { 8 if (document.getElementById && document.getElementById(object) != null) 9 node = document.getElementById(object).style.visibility='visible'; 10 else if (document.layers && document.layers[object] != null) 11 document.layers[object].visibility = 'visible'; 12 else if (document.all) 13 document.all[object].style.visibility = 'visible'; 14} 15 16function hide(object) { 17 if (document.getElementById && document.getElementById(object) != null) 18 node = document.getElementById(object).style.visibility='hidden'; 19 else if (document.layers && document.layers[object] != null) 20 document.layers[object].visibility = 'hidden'; 21 else if (document.all) 22 document.all[object].style.visibility = 'hidden'; 23} 24 25function ReverseContentDisplay(d) { 26 if(document.getElementById(d).style.display == "none") { 27 document.getElementById(d).style.display = ""; 28 } else { 29 document.getElementById(d).style.display = "none"; 30 } 31} 32 33function HideList(d) { 34 document.getElementById(d).style.display = "none"; 35} 36 37 38 39 40function MM_preloadImages() { //v3.0 41 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 42 var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) 43 if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} 44} 45 46function MM_swapImgRestore() { //v3.0 47 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; 48} 49 50function MM_findObj(n, d) { //v4.01 51 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 52 d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} 53 if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 54 for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); 55 if(!x && d.getElementById) x=d.getElementById(n); return x; 56} 57 58function MM_swapImage() { //v3.0 59 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) 60 if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} 61} 62 63 64// COPYRIGHT WARNING 65function copyright_notice(notice){ 66parent.copy_check = notice; 67close_lightbox_iframe(); } 68 69copy_check = 0; 70 71function show_copy(e, sort) { var selection = ''; 72 if (window.getSelection) { 73 selection = ''+window.getSelection(); 74 } 75else if (document.selection) { selection = ''+document.selection.createRange().text; } 76 77if(copy_check == 0 || copy_check == 2) { 78if((e.ctrlKey && e.keyCode == 65) || (selection.length > 300 && ((e.ctrlKey && e.keyCode == 67) || sort == 'menu')) || selection.length > 1000 || copy_check == 2){ 79if(window.getSelection) { window.getSelection().removeAllRanges(); } else if(document.selection) { document.selection.empty(); } 80if(copy_check == 0) lightbox_iframe(window.location.hostname+'/copyright.php', 776, 527, ''); } } } 81 82function open_popup(url, width, height){ 83 window.open(url, 'sharer', 'toolbar=0, status=0, width='+width+', height='+height); 84}
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.