PageSourceSearch

https://www.noticias3d.com/includes/funciones.js

js noticias3d.com collected 2026-10-01 10:46:17 UTC 1,800 bytes, 75 lines download raw bytes

1function searchKeyPress(e)
2{
3    // look for window.event in case event isn't passed in
4    e = e || window.event;
5    if (e.keyCode == 13)
6    {
7        document.getElementById('btnEntrar').click();
8        return false;
9    }
10    return true;
11}
12
13
14function searchKeyPressmobi(e)
15{
16    // look for window.event in case event isn't passed in
17    e = e || window.event;
18    if (e.keyCode == 13)
19    {
20        document.getElementById('botoncito').click();
21        return false;
22    }
23    return true;
24}
25
26function initResize(){
27			var usuwidth = document.body.clientWidth;
28			var lateralwidth = (usuwidth-1260)/2;
29
30			if(document.body.clientWidth < 1260){
31				$('#link-left').hide();
32				$('#link-right').hide();
33			}else{
34				$('#link-left').width(lateralwidth + "px");
35				$('#link-right').width(lateralwidth + "px");
36				$('#link-left').animate({width:lateralwidth+'px'},0);
37				$('#link-right').animate({width:lateralwidth+'px'},0);
38			}
39		}
40
41
42function Login() {
43    var email = document.getElementById("email").value;
44	var pwd = document.getElementById("pwd").value;
45	$.ajax({
46		type: "POST",
47		url: "login2.asp?pwd=" + pwd + "&email=" + email,
48		success: function(data, textStatus) {
49			if (data.indexOf("KO-") == -1) {
50				$("#login").html(data);
51			}
52			else {
53				alert("ERROR: " + data);
54			}
55		}
56	});    
57}
58
59function LoginMobile() {
60    var email = document.getElementById("email").value;
61	var pwd = document.getElementById("pwd").value;
62	$.ajax({
63		type: "POST",
64		url: "login2.asp?pwd=" + pwd + "&email=" + email,
65		success: function(data, textStatus) {
66			if (data.indexOf("KO-") == -1) {
67				$("#login").html(data);
68				location.href = "/default.asp";
69			}
70			else {
71				alert("ERROR: " + data);
72			}
73		}
74	});    
75}

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.