PageSourceSearch

https://albudeite.com/js/aplicaciones/destacadosHome.js

js albudeite.com collected 2026-10-02 12:43:30 UTC 1,548 bytes, 50 lines download raw bytes

1function nuevoAjax(){
2	var xmlhttp=false;
3 	try {
4 		xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
5 	} catch (e) {
6 		try {
7 			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
8 		} catch (E) {
9 			xmlhttp = false;
10 		}
11  	}
12	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
13 		xmlhttp = new XMLHttpRequest();
14	}
15	return xmlhttp;
16}
17
18function cargarPagina(sCual, sDonde){
19	var contenedor;
20	contenedor = document.getElementById(sDonde);
21	ajax=nuevoAjax();
22	ajax.open("GET", sCual + '?sRuta=../../../', true);
23	ajax.setRequestHeader("Content-Type","text/html; charset=iso-8859-1");		
24	ajax.onreadystatechange=function() {
25		if (ajax.readyState==4) {
26			contenedor.innerHTML = ajax.responseText;
27			cambiarPestania(sCual);
28		}
29	}
30	ajax.send(null)
31}
32
33function cambiarPestania(sCual) {
34
35	if (sCual == '../inc/aplicacionesPerso/destacadosHome/noticias.php') {
36		document.getElementById('destNoticias').className='activo';
37		document.getElementById('destNovedades').className='';
38		document.getElementById('destMultimedia').className='';
39	}
40	if (sCual == '../inc/aplicacionesPerso/destacadosHome/novedades.php') {
41		document.getElementById('destNoticias').className='';
42		document.getElementById('destNovedades').className='activo';
43		document.getElementById('destMultimedia').className='';
44	}
45	if (sCual == '../inc/aplicacionesPerso/destacadosHome/multimedia.php') {
46		document.getElementById('destNoticias').className='';
47		document.getElementById('destNovedades').className='';
48		document.getElementById('destMultimedia').className='activo';
49	}
50}

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.