PageSourceSearch

https://odcec.torino.it/scripts/funzioni.js

js odcec.torino.it collected 2026-10-02 20:02:42 UTC 1,391 bytes, 40 lines download raw bytes

1// variabili Globali
2var sKeyFlowplayer = "#$91894130ddfaad64cf2";
3
4
5function HTML5isSupported() {
6    if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i)))
7        return true;
8    else
9        return false;
10}
11
12function setFlowplayer(_id, _url, _width, _height) {
13    if (HTML5isSupported()) {
14        $('#' + _id).html('<video width="' + _width + '" height="' + _height + '" controls="controls" preload="auto" src="' + _url + '"></video>');
15        
16    } else {
17        
18        $('#' + _id).css({ 'width': _width + 'px' });
19        $('#' + _id).css({ 'height': _height + 'px' });
20        $f(_id, { src: startingPage+"swf/flowplayer.commercial-3.2.7.swf", wmode: "transparent" }, {
21            clip: {
22                url: _url,
23                autoPlay: false,
24                autoBuffering: true
25            },
26            key: sKeyFlowplayer
27        });
28    }
29}
30
31
32function MM_showHideLayers() { //v9.0
33    var i, p, v, obj, args = MM_showHideLayers.arguments;
34    for (i = 0; i < (args.length - 2); i += 3)
35        with (document) if (getElementById && ((obj = getElementById(args[i])) != null)) {
36            v = args[i + 2];
37            if (obj.style) { obj = obj.style; v = (v == 'show') ? 'block' : (v == 'hide') ? 'none' : v; }
38            obj.display = v;
39        }
40}

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.