PageSourceSearch

https://hk-automotive.de/files/skin/js/izimodal.js?v=2a8e1ef5

js hk-automotive.de collected 2026-10-05 21:25:23 UTC 1,906 bytes, 75 lines download raw bytes

1
2var izi3D=document.getElementById("izi3Dmodal");
3var izi3Dtoggle = document.getElementById("izi3Dtoggle");
4var izi3Dexpand = document.getElementById("izi3Dexpand");
5
6
7
8
9if(izi3Dtoggle){
10    //izi3Dtoggle.addEventListener("click", izi3DClicked);
11}
12if(izi3Dexpand){
13    izi3Dexpand.addEventListener("click", izi3DexpandClicked);
14}
15
16
17function hasClass(element, cls) {
18    return (' ' + element.className + ' ').indexOf(' ' + cls + ' ') > -1;
19}
20function setWidgetCookie(cname, cvalue, exdays) {
21    //console.log('cookie ' + cname);
22    var d = new Date();
23    d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
24    var expires = "expires=" + d.toGMTString();
25    document.cookie = cname + "=" + cvalue + ";" + expires + "; path=/";
26    //console.log('the cookie:' + document.cookie);
27}
28function getWidgetCookie(cname) {
29    var name = cname + "=";
30    var ca = document.cookie.split(';');
31    for (var i = 0; i < ca.length; i++) {
32        var c = ca[i];
33        while (c.charAt(0) == ' ')
34        c = c.substring(1);
35        if (c.indexOf(name) == 0) {
36            return c.substring(name.length, c.length);
37        }
38    }
39    return "";
40}
41
42
43
44function izi3DClicked(event) {
45    event.preventDefault();
46	event.stopPropagation();
47    console.log('izi3DClicked');
48	
49      if(izi3D){
50	    if(hasClass(izi3D,'sichtbar')){
51	       izi3D.classList.remove('sichtbar');
52	       iziOverlayer.classList.remove('sichtbar');
53	       document.getElementById("dreiDframe").remove();
54	    }else{
55	        izi3D.classList.add('sichtbar');
56	        iziOverlayer.classList.add('sichtbar');
57	    }
58      }
59
60}
61function izi3DexpandClicked(event) {
62    event.preventDefault();
63	event.stopPropagation();
64    console.log('izi3DexpandClicked');
65	
66      if(izi3D){
67	    if(hasClass(izi3D,'fullscreen')){
68	       izi3D.classList.remove('fullscreen');
69	    }else{
70	        izi3D.classList.add('fullscreen');
71	    }
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.