1 2/* <![CDATA[ */ 3function date_time(id){ 4 date = new Date; 5 year = date.getFullYear(); 6 month = date.getMonth(); 7 months = new Array('Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'); 8 d = date.getDate(); 9 day = date.getDay(); 10 days = new Array('Domingo', 'Lunes', 'Martes', 'Miercoles', 'Jueves', 'Viernes', 'Sabado'); 11 h = date.getHours(); 12 if(h<10){ 13 h = "0"+h; 14 } 15 m = date.getMinutes(); 16 if(m<10){ 17 m = "0"+m; 18 } 19 s = date.getSeconds(); 20 if(s<10){ 21 s = "0"+s; 22 } 23 // result = ''+days[day]+' '+months[month]+' '+d+' '+year+' '+h+':'+m+':'+s; 24 result = ''+days[day]+' '+d+' '+months[month]+' '+year; 25 document.getElementById(id).innerHTML = result; 26 setTimeout('date_time("'+id+'");','10000'); 27 return true; 28} 29 30function date_time_movil(id){ 31 const el = document.getElementById(id); 32 if (el) { 33 date = new Date; 34 year = date.getYear(); 35 month = date.getMonth(); 36 months = new Array('Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'); 37 d = date.getDate(); 38 day = date.getDay(); 39 days = new Array('Doming', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'); 40 h = date.getHours(); 41 if (h < 10) { 42 h = "0" + h; 43 } 44 m = date.getMinutes(); 45 if (m < 10) { 46 m = "0" + m; 47 } 48 s = date.getSeconds(); 49 if (s < 10) { 50 s = "0" + s; 51 } 52 // result = ''+days[day]+' '+months[month]+' '+d+' '+year+' '+h+':'+m+':'+s; 53 result = '' + days[day] + ', ' + d; 54 document.getElementById(id).innerHTML = result; 55 setTimeout('date_time_movil("' + id + '");', '1000'); 56 } 57 return true; 58} 59 60 61$(document).ready(function() { 62 63 /* This is basic - uses default settings */ 64 65 $("a#single_image").fancybox({ 66 'autoScale' : true, 67 'titlePosition' : 'inside' 68 }); 69 70 /* Using custom settings */ 71 72 $("a#inline").fancybox({ 73 'hideOnContentClick': true 74 }); 75 76 /* Apply fancybox to multiple items */ 77 78 $("a.group").fancybox({ 79 'transitionIn' : 'elastic', 80 'transitionOut' : 'elastic', 81 'speedIn' : 600, 82 'speedOut' : 200, 83 'overlayShow' : false 84 }); 85 86}); 87 88function verTexto(link){ 89 $("#textooculto").show(); 90 $("#linkvertexto").attr("href","javascript:ocultarTexto("+link+")"); 91 if (!link){ 92 location.href="#textooculto"; 93 } 94} 95 96function ocultarTexto(link){ 97 $("#textooculto").hide(); 98 $("#linkvertexto").attr("href","javascript:verTexto("+link+")"); 99}
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.