PageSourceSearch

https://sego.es/scripts/scripts.js?v=164739678

js sego.es collected 2026-09-24 09:42:30 UTC 5,988 bytes, 186 lines download raw bytes

1actualCar = 1;
2
3$(document).ready(function () {
4
5    var cookies = document.cookie.split(";");
6    for (i = 0; i < cookies.length; i++) {
7        if (cookies[i] === "cookies=1") {
8            $("#cookies").hide();
9        }
10    }
11
12    $("#webmail").click(function () {
13        window.open("http://webmail.sego.es");
14    });
15
16    $("#mnuBurger ul li, #burSocios ul li").click(function () {
17        $("#dlgSocio").dialog("open");
18    });
19
20    if ($(window.width < 400)) {
21        $("#dlgLogin, #dlgLogout").dialog({"autoOpen": false, "width": $(window.width)});
22    } else {
23        $("#dlgLogin, #dlgLogout").dialog({"autoOpen": false, "width": 350});
24    }
25
26    if ($(window.width < 600)) {
27        $("#dlgNoKey").dialog({"autoOpen": false, "width": $(window.width)});
28        $("#dlgLegal").dialog({"autoOpen": false, "width": $(window.width)});
29    } else {
30        $("#dlgNoKey").dialog({"autoOpen": false, "width": 600});
31        $("#dlgLegal").dialog({"autoOpen": false, "width": 600});
32    }
33    $("#logout").click(function(){
34        location.href = "logout.php"
35    });
36    $("#login").click(function () {
37        $.post("db/login.php",
38                {
39                    "username": $("#userName").val(),
40                    "userpass": $("#userPass").val()
41                },
42                function(respact){
43				$("#respuesta").html(respact);
44 //                   location.href = './';
45                });
46    });
47    $("#noKey").click(function () {
48//        $("#dlgNoKey").dialog("open");
49		$('#mostrarmodalchpass').hide();
50		$('#mostrarmodalchpass').modal("hide");
51       $("#rememberpass").modal("show");
52	});
53/**/
54    $("#sendKey").click(function () {
55		if($("#noKeyEmail").val().length === 0){
56			$("#repost").html("<p class='msg_recpass'>Introduzca una dirección de email.</p>")
57		}else{
58        if($("#noKeyEmail").val().indexOf('@', 0) == -1 || $("#noKeyEmail").val().indexOf('.', 0) == -1) {
59            $("#repost").html("<p class='msg_recpass'>Dirección de email no válida.</p>");
60            return false;
61		console.log("No válida.");
62        }else{
63		console.log("Válida.");
64        //$("#loader").show(function () {
65            $.post("db/sendKey.php",{"email": $("#noKeyEmail").val()},function(data){
66				/*$("#dlgNoKey").dialog("close");*/
67				//$("#rememberpass").hide();
68                $("#userpass").val("");
69                $("#userpass").focus();
70                $("#loader").hide();
71				$("#repost").html(data);
72			});
73        //});
74		}
75		}
76    });
77/**/
78	$(".close.rcvpss").click(function(){
79	location.reload();
80});
81/**/
82
83    $("#btnCookies").click(function () {
84        $("#cookies").hide();
85        $.get("db/cookies.php");
86        document.cookie = "cookies=1";
87    });
88    $("#mnuHome, #burHome").click(function () {
89        location.href = './';
90    });
91
92    $("#mnuOrganizacion, #burOrganizacion").click(function () {
93        location.href = './ORGANIZACION';
94    });
95
96    $("#mnuProgresos, #burProgresos").click(function () {
97        location.href = './PROGRESOS';
98    });
99    $("#mnuLogin, #burLogin").click(function () {
100        $("#mnuBurger").hide();
101        /*$("#dlgLogin").dialog("open");*//*Abre ventana registro antigua*/
102		$('#psw_sin_actualizar').hide();
103		$('#psw_nueva').hide();
104		$("#mostrarmodalsalir").hide();
105		$('#psw_actualizadas').show();
106    });
107    $("#mnuLogout, #burLogout").click(function () {
108        $("#mnuBurger").hide();
109        $("#dlgLogout").dialog("open");
110    });
111    $("#mnuGAPSego, #burGAPSego").click(function () {
112        location.href = './GAP_SEGO';
113    });
114    $("#mnuSecciones, #burSecciones").click(function () {
115        location.href = './SECCIONES';
116    });
117    $("#mnuTrabajo, #burTrabajo").click(function () {
118        location.href = './BOLSA_TRABAJO';
119    });
120    $("#mnuMaterial, #burMaterial").click(function () {
121        location.href = './MATERIAL_Y_MISCELANEA';
122    });
123    $("#mnuAutonomicas, #burAutonomicas").click(function () {
124        location.href = './AUTONOMICAS';
125    });
126    $("#mnuEncuestas, #burEncuestas").click(function () {
127        location.href = './ENCUESTAS';
128    });
129    $("#mnuGalerias, #burGalerias").click(function () {
130        location.href = './GALERÍAS';
131    });
132    $("#mnuMujer, #burMujer").click(function () {
133        location.href = './AREA_DE_LA_MUJER';
134    });
135    $("#mnuNoticias, #burNoticias").click(function () {
136        location.href = './NOTICIAS';
137    });
138    $("#mnuNovedades, #burNovedades").click(function () {
139        location.href = './NOVEDADES';
140    });
141    $("#mnuBibliografia, #burBibliografia").click(function () {
142        location.href = './BIBLIOGRAFIA';
143    });
144    $("#mnuContacto, #burContacto").click(function () {
145        location.href = './CONTACTO';
146    });
147    $("#mnuMapa, #burMapa").click(function () {
148        location.href = './MAPA';
149    });
150    $("#mnuSecciones, #burSecciones").click(function () {
151        location.href = './SECCIONES';
152    });
153    $("#mnuAgenda, #burAgenda").click(function () {
154        location.href = './AGENDA';
155    });
156    $("#mnuUsuarios, #burUsuarios").click(function () {
157        location.href = './USUARIOS';
158    });
159    $("#mnuGrey, #burmnuGrey").click(function () {
160        window.open('./GREY');
161    });
162    $("#btnLegal, #burLegal").click(function () {
163        $("#dlgLegal").dialog("open");
164    });
165
166    $("#burger").click(function () {
167        $("#mnuBurger").show();
168    });
169
170    setTimeout(function () {
171        caroussel();
172    }, 5000);
173});
174
175function caroussel() {
176    $("#car1").fadeOut("slow", function () {
177        actualCar++;
178        if (parseInt(actualCar) >= 12)
179            actualCar = 1;
180        $("#car1").attr("src", "caroussel/banner-" + actualCar + ".jpg");
181    }).fadeIn("slow", function () {
182        setTimeout(function () {
183            caroussel();
184        }, 5000);
185    });
186}

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.