PageSourceSearch

https://www.akai-trophy.com/res/css222/js/ocnk.js?1401845513

js akai-trophy.com collected 2026-10-06 05:41:51 UTC 5,317 bytes, 130 lines download raw bytes

1function flwrite(src, width, height) {
2    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + width + '" height="' + height + '" title="">');
3    document.write('<param name="movie" value="' + src + '" />');
4    document.write('<param name="quality" value="high" />');
5    document.write('<param name="allowScriptAccess" value="always">');
6    document.write('<param name="wmode" value="transparent" />');
7    //document.write('<embed wmode="opaque" src="' + src + '" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' +  height + '"></embed>');
8    document.write('<embed src="' + src + '" quaity="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' +  height + '" allowScriptAccess=always wmode="transparent" ></embed>');
9    document.write('</object>');
10}
11
12function flwrite2(src, width, height) {
13    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + width + '" height="' + height + '" title="">');
14    document.write('<param name="movie" value="' + src + '" />');
15    document.write('<param name="quality" value="high" />');
16    document.write('<param name="allowScriptAccess" value="always">');
17    document.write('<embed src="' + src + '" quaity="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' +  height + '" allowScriptAccess=always  ></embed>');
18    document.write('</object>');
19}
20
21function OpenCategory(n){
22    var menu, flag;
23    if(document.all){
24        menu = document.all(n);
25        flag = menu.style.display;
26        if(flag == "block"){
27            menu.style.display = "none";
28            document.cookie=n+"=0; expires=Thu, 1-Jan-2099 0:0:0; path=/;";
29        }
30        else{
31            menu.style.display = "block";
32            document.cookie=n+"=1; expires=Thu, 1-Jan-2099 0:0:0; path=/;";
33        }
34        
35    }
36    else if(document.getElementById){
37        menu = document.getElementById(n);
38        flag = menu.style.display;
39        if(flag == "block"){
40            menu.style.display = "none";
41            document.cookie=n+"=0; expires=Thu, 1-Jan-2099 0:0:0; path=/;";
42        }
43        else{
44            menu.style.display = "block";
45            document.cookie=n+"=1; expires=Thu, 1-Jan-2099 0:0:0; path=/;";
46        }
47        
48    }
49}
50
51function win_open(url, name, width, height){
52    var subWin = window.open(url, name, 'width=' + width + ',height=' + height + ',location=yes,resizable=yes,scrollbars=yes');
53    
54    var check = ((navigator.appName.charAt(0) == "M") && (navigator.appVersion.charAt(0) <= 3));
55    
56    if (!check) {subWin.focus();}
57}
58
59function go_contact(url, target){
60    var matches = target.match(/^([0-9]+)/);
61    if (window.globalObj && window.globalObj.moveSecure && matches) {
62        var id = matches[1];
63        if (globalObj.moveSecure('contact', 'product/' + id)) {
64            location.href = url + '/contact/product/' + target;
65        }
66    } else {
67        location.href = url + '/contact/product/' + target;
68    }
69}
70
71function mailmaga_msg(msg){
72    if (msg !="") {
73        alert(msg);
74    }
75}
76
77function smartphoneLink(value){
78    if (navigator.userAgent.indexOf('iPhone') > -1
79        || navigator.userAgent.indexOf('iPod') > -1
80        || (navigator.userAgent.indexOf('Android') > -1 && navigator.userAgent.indexOf('Mobile') > -1)
81        || navigator.userAgent.indexOf('Opera Mini') > -1
82        || navigator.userAgent.indexOf('Opera Mobi') > -1
83        || (navigator.userAgent.indexOf('Firefox') > -1 && navigator.userAgent.indexOf('Mobile') > -1)
84        || navigator.userAgent.indexOf('Windows Phone') > -1
85        || navigator.userAgent.indexOf('BlackBerry') > -1
86    ) {
87        document.write('<a href="javascript:movePhone(true);">' + value + '</a>');
88    }
89    return false;
90}
91
92function movePhone(flag){
93    var url;
94    var host = phoneUrl ? phoneUrl.match(/^http[s]?:\/\/[^\/#\?]*/) : null;
95    var val = flag ? '0' : '1';
96    if (!phonesite) {
97        url = location.pathname;
98    } else {
99        url = phonesite;
100        if (!phonesite.match(/^http[s]?:\/\//) && phoneUrl) {
101            if (host) {
102                url = host + phonesite;
103            }
104        } else {
105            host = phonesite.match(/^http[s]?:\/\/[^\/#\?]*/);
106        }
107    }
108    var request_data = 'go=smartphone-display-type&v=0&p='+val;
109     jQuery.ajax({
110        type: 'GET',
111        url: location.protocol + '//' + location.hostname + '/xml.php',
112        data: request_data,
113        dataType: 'text',
114        headers: {'X-Requested-With': 'XMLHttpRequest'},
115        success: function(data) {
116            if (!phonesite) {
117                if (phoneUrl) {
118                    location.href = phoneUrl;
119                } else {
120                    location.reload();
121                }
122            } else {
123                location.href = url;
124            }
125        }
126    });
127}
128
129var phoneUrl;
130var phonesite;

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.