PageSourceSearch

https://www.livedns.co.il/js/swfobject.js

js livedns.co.il collected 2026-10-02 11:35:04 UTC 6,511 bytes, 147 lines download raw bytes

1if (typeof deconcept == "undefined") { var deconcept = new Object(); }
2if (typeof deconcept.util == "undefined") { deconcept.util = new Object(); }
3if (typeof deconcept.SWFObjectUtil == "undefined") { deconcept.SWFObjectUtil = new Object(); }
4deconcept.SWFObject = function (_1, id, w, h, _5, c, _7, _8, _9, _a, _b) {
5	if (!document.createElement || !document.getElementById) { return; }
6	this.DETECT_KEY = _b ? _b : "detectflash";
7	this.skipDetect = true;
8	this.params = new Object();
9	this.variables = new Object();
10	this.attributes = new Array();
11	if (_1) { this.setAttribute("swf", _1); }
12	if (id) { this.setAttribute("id", id); }
13	if (w) { this.setAttribute("width", w); }
14	if (h) { this.setAttribute("height", h); }
15	if (_5) { this.setAttribute("version", new deconcept.PlayerVersion(_5.toString().split("."))); }
16	this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"), _7);
17	if (c) { this.addParam("bgcolor", c); }
18	var q = _8 ? _8 : "high";
19	this.addParam("quality", q);
20	this.setAttribute("useExpressInstall", _7);
21	this.setAttribute("doExpressInstall", false);
22	var _d = (_9) ? _9 : window.location;
23	this.setAttribute("xiRedirectUrl", _d);
24	this.setAttribute("redirectUrl", "");
25	if (_a) { this.setAttribute("redirectUrl", _a); }
26};
27deconcept.SWFObject.prototype = {
28	setAttribute: function (_e, _f) {
29		this.attributes[_e] = _f;
30	}, getAttribute: function (_10) {
31		return this.attributes[_10];
32	}, addParam: function (_11, _12) {
33		this.params[_11] = _12;
34	}, getParams: function () {
35		return this.params;
36	}, addVariable: function (_13, _14) {
37		this.variables[_13] = _14;
38	}, getVariable: function (_15) {
39		return this.variables[_15];
40	}, getVariables: function () {
41		return this.variables;
42	}, getVariablePairs: function () {
43		var _16 = new Array();
44		var key;
45		var _18 = this.getVariables();
46		for (key in _18) {
47			_16.push(key + "=" + _18[key]);
48		}
49		return _16;
50	}, getSWFHTML: function () {
51		var _19 = "";
52		if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) {
53			if (this.getAttribute("doExpressInstall")) { this.addVariable("MMplayerType", "PlugIn"); }
54			_19 = "<embed type=\"application/x-shockwave-flash\" src=\"" + this.getAttribute("swf") + "\" width=\"" + this.getAttribute("width") + "\" height=\"" + this.getAttribute("height") + "\"";
55			_19 += " id=\"" + this.getAttribute("id") + "\" name=\"" + this.getAttribute("id") + "\" ";
56			var _1a = this.getParams();
57			for (var key in _1a) { _19 += [key] + "=\"" + _1a[key] + "\" "; }
58			var _1c = this.getVariablePairs().join("&");
59			if (_1c.length > 0) { _19 += "flashvars=\"" + _1c + "\""; }
60			_19 += "/>";
61		} else {
62			if (this.getAttribute("doExpressInstall")) { this.addVariable("MMplayerType", "ActiveX"); }
63			_19 = "<object id=\"" + this.getAttribute("id") + "\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"" + this.getAttribute("width") + "\" height=\"" + this.getAttribute("height") + "\">";
64			_19 += "<param name=\"movie\" value=\"" + this.getAttribute("swf") + "\" />";
65			var _1d = this.getParams();
66			for (var key in _1d) { _19 += "<param name=\"" + key + "\" value=\"" + _1d[key] + "\" />"; }
67			var _1f = this.getVariablePairs().join("&");
68			if (_1f.length > 0) { _19 += "<param name=\"flashvars\" value=\"" + _1f + "\" />"; }
69			_19 += "</object>";
70		}
71		return _19;
72	}, write: function (_20) {
73		if (this.getAttribute("useExpressInstall")) {
74			var _21 = new deconcept.PlayerVersion([6, 0, 65]);
75			if (this.installedVer.versionIsValid(_21) && !this.installedVer.versionIsValid(this.getAttribute("version"))) {
76				this.setAttribute("doExpressInstall", true);
77				this.addVariable("MMredirectURL", escape(this.getAttribute("xiRedirectUrl")));
78				document.title = document.title.slice(0, 47) + " - Flash Player Installation";
79				this.addVariable("MMdoctitle", document.title);
80			}
81		}
82		if (this.skipDetect || this.getAttribute("doExpressInstall") || this.installedVer.versionIsValid(this.getAttribute("version"))) {
83			var n = (typeof _20 == "string") ? document.getElementById(_20) : _20;
84			n.innerHTML = this.getSWFHTML();
85			return true;
86		} else {
87			if (this.getAttribute("redirectUrl") != "") { document.location.replace(this.getAttribute("redirectUrl")); }
88		}
89		return false;
90	}
91};
92deconcept.SWFObjectUtil.getPlayerVersion = function (_23, _24) {
93	var _25 = new deconcept.PlayerVersion([0, 0, 0]);
94	if (navigator.plugins && navigator.mimeTypes.length) {
95		var x = navigator.plugins["Shockwave Flash"];
96		if (x && x.description) { _25 = new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split(".")); }
97	} else {
98		try {
99			var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
100			for (var i = 3; axo != null; i++) {
101				axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + i);
102				_25 = new deconcept.PlayerVersion([i, 0, 0]);
103			}
104		}
105		catch (e) { }
106		if (_23 && _25.major > _23.major) { return _25; }
107		if (!_23 || ((_23.minor != 0 || _23.rev != 0) && _25.major == _23.major) || _25.major != 6 || _24) {
108			try { _25 = new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(",")); }
109			catch (e) { }
110		}
111	}
112	return _25;
113};
114deconcept.PlayerVersion = function (_29) {
115	this.major = parseInt(_29[0]) != null ? parseInt(_29[0]) : 0;
116	this.minor = parseInt(_29[1]) || 0;
117	this.rev = parseInt(_29[2]) || 0;
118};
119deconcept.PlayerVersion.prototype.versionIsValid = function (fv) {
120	if (this.major < fv.major) { return false; }
121	if (this.major > fv.major) { return true; }
122	if (this.minor < fv.minor) { return false; }
123	if (this.minor > fv.minor) { return true; }
124	if (this.rev < fv.rev) { return false; } return true;
125};
126deconcept.util = {
127	getRequestParameter: function (_2b) {
128		var q = document.location.search || document.location.hash;
129		if (q) {
130			var _2d = q.indexOf(_2b + "=");
131			var _2e = (q.indexOf("&", _2d) > -1) ? q.indexOf("&", _2d) : q.length;
132			if (q.length > 1 && _2d > -1) {
133				return q.substring(q.indexOf("=", _2d) + 1, _2e);
134			}
135		} return "";
136	}
137};
138if (Array.prototype.push == null) {
139	Array.prototype.push = function (_2f) {
140		this[this.length] = _2f;
141		return this.length;
142	};
143}
144var getQueryParamValue = deconcept.util.getRequestParameter;
145var FlashObject = deconcept.SWFObject; // for backwards compatibility
146var SWFObject = deconcept.SWFObject;
147

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.