Software: Apache/2.2.22 (Debian). PHP/5.6.36 uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) Safe-mode: OFF (not secure) /usr/local/ispmgr/skins/sirius/ drwxr-xr-x |
Viewing file: Select action/file-type: var com = {}; com.anychart = {}; var BrowserTypeInformation = function(){}; BrowserTypeInformation.isIE = /(msie|internet explorer)/i.test(navigator.userAgent); BrowserTypeInformation.isSafari = /safari/i.test(navigator.userAgent); BrowserTypeInformation.isOpera = (window.opera != undefined); com.anychart.AnyChart = function(){ switch (arguments.length) { case 0: this.constructor(); break; case 1: this.constructor(arguments[0]); break; case 2: this.constructor(arguments[0],arguments[1]); break; } }; var AnyChart = com.anychart.AnyChart; AnyChart._charts = {}; AnyChart.prototype = { id: null, width: NaN, height: NaN, quality: "high", bgColor: "#FFFFFF", swfFile: null, preloaderSWFFile: null, flashObject: null, _containerNode: null, _containerId: null, _isWrited: false, preloaderInitText: null, preloaderLoadingText: null, initText: null, xmlLoadingText: null, resourcesLoadingText: null, noDataText: null, waitingForDataText: null, templatesLoadingText: null, wMode: null, dispatchMouseEvents: true, _canDispatchEvent: false, _nonDispatcedEvents: null, _protocol: "http", constructor: function() { if (location.protocol == 'https:') this._protocol = 'https'; else this._protocol = 'http'; this.id = AnyChart.getUniqueChartId(); switch (arguments.length) { case 0: this.swfFile = AnyChart.swfFile; this.preloaderSWFFile = AnyChart.preloaderSWFFile; break; case 1: this.swfFile = arguments[0]; this.preloaderSWFFile = AnyChart.preloaderSWFFile; break; case 2: this.swfFile = arguments[0]; this.preloaderSWFFile = arguments[1]; break; } this.width = AnyChart.width; this.height = AnyChart.height; this.quality = 'high'; this.bgColor = '#FFFFFF'; this._xmlFile = null; this.loaded = false; this._listeners = new Array(); this._loaded = false; this._created = false; this._canDispatchEvent = false; this._nonDispatcedEvents = new Array(); this.wMode = null; this.dispatchMouseEvents = true; var ths = this; this.addEventListener('create', function(e) { ths._onChartLoad(); }); this.addEventListener('draw', function(e) { ths._onChartDraw(); }); this._xmlSource = null; this._isWrited = false; this._containerId = null; this._containerNode = null; this.preloaderInitText = AnyChart.preloaderInitText; this.preloaderLoadingText = AnyChart.preloaderLoadingText; this.initText = AnyChart.initText; this.xmlLoadingText = AnyChart.xmlLoadingText; this.resourcesLoadingText = AnyChart.resourcesLoadingText; this.noDataText = AnyChart.noDataText; this.waitingForDataText = AnyChart.waitingForDataText; this.templatesLoadingText = AnyChart.templatesLoadingText; this._enableMouseEvents = false; AnyChart._registerChart(this); }, write: function() { if (!this._checkPlayerVersion()) return; if (this._isWrited) return; var htmlCode = this._getFlashObjectHTML(); if (arguments[0] == undefined) { this._writeToCurrentWindow(htmlCode); } else { var target = arguments[0]; if (!BrowserTypeInformation.isIE && (!BrowserTypeInformation.isSafari && !BrowserTypeInformation.isOpera && target instanceof Window)) { this._writeToWindow(target, htmlCode); } else if (typeof (target) == 'string' || (!BrowserTypeInformation.isSafari && target instanceof String)) { this._writeToHTMLTarget(target, htmlCode); } else if (BrowserTypeInformation.isIE && target.innerHTML == undefined) { this._writeToWindow(target, htmlCode); } else { this._writeToHTMLTarget(target, htmlCode); } } this._canDispatchEvent = true; for (var i = 0; i < this._nonDispatcedEvents.length; i++) { this.dispatchEvent(this._nonDispatcedEvents[i]); } this._isWrited = true; }, _writeToCurrentWindow: function(htmlCode) { this._writeToWindow(window, htmlCode); }, _writeToWindow: function(w, htmlCode) { this._initFlashObject(w, htmlCode, false); if (w != window) { w.AnyChart = AnyChart; } }, _writeToHTMLTarget: function(target, htmlCode) { if (typeof (target) == 'string' || (!BrowserTypeInformation.isSafari && target instanceof String)) { target = document.getElementById(String(target)); } this._initFlashObject(target, htmlCode, true); }, _createContainer: function() { this._containerId = AnyChart._getUniqueContainerId(this.id); var container = document.createElement('div'); container.setAttribute('id', this._containerId); this._initPrint(); return container; }, _initFlashObject: function(htmlTarget, htmlCode, useInnerHTML) { var target = (BrowserTypeInformation.isIE) ? htmlTarget : this._createContainer(); if (BrowserTypeInformation.isIE) { try { var path = document; var obj = target; var hasErrorsInTree = false; if (obj != undefined) { obj = obj.parentNode; while (obj != undefined && obj != null) { if (obj.nodeName != null && obj.nodeName.toLowerCase() == 'form') { if (obj.name == undefined || obj.name == null || obj.name.length == 0) { hasErrorsInTree = true; break; } else { path = path.forms[obj.name]; } } obj = obj.parentNode; } } } catch (e) { } if (!hasErrorsInTree) { window[this.id] = new Object(); window[this.id].SetReturnValue = function() { }; try { if (useInnerHTML) { target.innerHTML = htmlCode; } else { target.document.write(htmlCode); } } catch (e) { } window[this.id].SetReturnValue = null; var fncts = {}; for (var j in window[this.id]) { if (typeof (window[this.id][j]) == 'function') fncts[j] = window[this.id][j]; } window[this.id] = path[this.id]; this.flashObject = window[this.id]; for (var j in fncts) { this._rebuildExternalInterfaceFunction(this.flashObject, j); } this._onHTMLCreate(); } } else { target.innerHTML = htmlCode; this._createImage(target); if (useInnerHTML) { htmlTarget.innerHTML = ''; htmlTarget.appendChild(target); } else { htmlTarget.document.getElementsByTagName('body')[0].appendChild(target); } this.flashObject = document.getElementById(this.id); this._containerNode = this.flashObject.parentNode; this._onHTMLCreate(); } }, _rebuildExternalInterfaceFunction: function(obj, functionName) { eval('obj[functionName] = function(){return eval(this.CallFunction("<invoke name=\\"' + functionName + '\\" returntype=\\"javascript\\">" + __flash__argumentsToXML(arguments,0) + "</invoke>"));}'); }, _getFlashObjectHTML: function() { return BrowserTypeInformation.isIE ? this._getObjectHTML() : this._getEmbedHTML(); }, _buildFlashVars: function() { var res = new String(); res += '__externalObjId=' + this.id; if (this._xmlFile != null) res += '&XMLFile=' + this._xmlFile; if (this.preloaderSWFFile != null) { res += '&swffile=' + this.swfFile; if (this.preloaderInitText != null) res += '&preloaderInitText=' + this.preloaderInitText; if (this.preloaderLoadingText != null) res += '&preloaderLoadingText=' + this.preloaderLoadingText; } if (this.initText != null) res += '&initText=' + this.initText; if (this.xmlLoadingText != null) res += '&xmlLoadingText=' + this.xmlLoadingText; if (this.resourcesLoadingText != null) res += '&resourcesLoadingText=' + this.resourcesLoadingText; if (this.waitingForDataText != null) res += '&waitingForDataText=' + this.waitingForDataText; if (this.templatesLoadingText != null) res += '&templatesLoadingText=' + this.templatesLoadingText; if (this.noDataText != null) res += '&nodatatext=' + this.noDataText; if (this._enableMouseEvents) res += '&__enableevents=1'; return res; }, updateSize: function(width, height) { this.flashObject.setAttribute('width', width); this.flashObject.setAttribute('height', height); }, _getMoviePath: function() { return this.preloaderSWFFile != null ? this.preloaderSWFFile : this.swfFile; }, _getObjectHTML: function() { var source = '<obj' + 'ect id="' + this.id + '" name="' + this.id + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + this.width + '" height="' + this.height + '" codebase="' + this._protocol + ':\/\/fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">'; source += '<param name="movie" value="' + this._getMoviePath() + '" />'; source += '<param name="bgcolor" value="' + this.bgColor + '" />'; source += '<param name="allowScriptAccess" value="always" />'; source += '<param name="FlashVars" value="' + this._buildFlashVars() + '" />'; if (this.wMode != null) source += '<param name="wmode" value="' + this.wMode + '" />'; source += '</obj' + 'ect>'; return source; }, _getEmbedHTML: function() { var source = '<embed type="application/x-shockwave-flash" pluginspage="' + this._protocol + ':\/\/www.adobe.com/go/getflashplayer" '; source += 'src="' + this._getMoviePath() + '" '; source += 'width="' + this.width + '" '; source += 'height="' + this.height + '" '; source += 'id="' + this.id + '" '; source += 'name="' + this.id + '" '; source += 'bgColor="' + this.bgColor + '" '; source += 'allowScriptAccess="always" '; if (this.wMode != null) source += 'wmode="' + this.wMode + '" '; source += 'flashvars="' + this._buildFlashVars() + '" />'; return source; }, _onChartDraw: function() { if (!BrowserTypeInformation.isIE) { this._setPrintImage(); } else { this._initIEPrinting(); } }, _initIEPrinting: function() { var obj = this.flashObject; if (obj == null) return; window.attachEvent("onbeforeprint", function(e) { obj.setAttribute("tmpW", obj.width); obj.setAttribute("tmpH", obj.height); obj.width = (obj.getWidth != undefined) ? obj.getWidth() : obj.width; obj.height = (obj.getHeight != undefined) ? obj.getHeight() : obj.height; if (obj.getAttribute("tmpW").indexOf("%") != -1 || obj.getAttribute("tmpH").indexOf("%") != -1) { obj.focus(); } }); window.attachEvent("onafterprint", function() { obj.width = obj.getAttribute("tmpW"); obj.height = obj.getAttribute("tmpH"); }); }, _createNormalCSS: function() { var head = document.getElementsByTagName('head'); head = ((head.length != 1) ? null : head[0]); if (head == null) return false; if (this._containerId == null) return false; var style = document.createElement('style'); style.setAttribute('type', 'text/css'); style.setAttribute('media', 'screen'); var objDescriptor = 'div#' + this._containerId; var imgDescriptor = objDescriptor + ' img'; var objRule = "width: " + this.width + ";\n" + "height: " + this.height + ";" + "padding: 0;\n" + "margin: 0;"; var imgRule = "display: none;\n" + "width: " + this.width + ";" + "height: " + this.height + ";"; style.appendChild(document.createTextNode(objDescriptor + '{' + objRule + "}\n")); style.appendChild(document.createTextNode(imgDescriptor + '{' + imgRule + '}')); head.appendChild(style); return true; }, _createPrintCSS: function() { var head = document.getElementsByTagName('head'); head = ((head.length != 1) ? null : head[0]); if (this._containerId == null) return false; var style = document.createElement('style'); style.setAttribute('type', 'text/css'); style.setAttribute('media', 'print'); var imgDescriptor = '#' + this._containerId + ' img'; var imgRule = 'display: block;'; if (this.flashObject != null && this.flashObject.getWidth != undefined && this.flashObject.getHeight != undefined) { imgRule += 'width: ' + this.flashObject.getWidth() + 'px;'; imgRule += 'height: ' + this.flashObject.getHeight() + 'px;'; } style.appendChild(document.createTextNode(imgDescriptor + '{' + imgRule + '}')); var objDescriptor = '#' + this._containerId + ' embed'; var objRule = 'display: none;'; style.appendChild(document.createTextNode(objDescriptor + '{' + objRule + '}')); head.appendChild(style); return true; }, _initPrint: function() { this._createNormalCSS(); this._createPrintCSS(); }, _createImage: function(target) { var img = document.createElement('img'); target.appendChild(img); }, _setPrintImage: function() { var img = this._containerNode.getElementsByTagName('img'); if (img.length != 1) return; img = img[0]; var pngData = this.getPng(); if (pngData != null) img.src = 'data:image/png;base64,' + pngData; }, _resizeChart: function() { if (this.flashObject.ResizeChart != undefined) this.flashObject.ResizeChart(); }, _xmlSource: null, setData: function(data) { if (typeof (data) == 'string' || (!BrowserTypeInformation.isSafari && data instanceof String)) { if (!this._loaded || !this._created) this._xmlSource = data; else this.setXMLDataFromString(data); return; } }, setJSData: function(data) { var xmlData = JSONConverter.toXML(data); this.setData(xmlData); }, updateData: function(path, data) { if (this.flashObject != null && this.flashObject.UpdateData != null) this.flashObject.UpdateData(path, data); }, updatePointData: function(groupName, pointName, data) { if (this.flashObject != null && this.flashObject.UpdatePointData != null) this.flashObject.UpdatePointData(groupName, pointName, data); }, setPlotCustomAttribute: function(attributeName, attributeValue) { if (this.flashObject != null && this.flashObject.SetPlotCustomAttribute != null) this.flashObject.SetPlotCustomAttribute(attributeName, attributeValue); }, addSeries: function(seriesData) { if (this.flashObject != null && this.flashObject.AddSeries != null) this.flashObject.AddSeries(seriesData); }, removeSeries: function(seriesId) { if (this.flashObject != null && this.flashObject.RemoveSeries != null) this.flashObject.RemoveSeries(seriesId); }, addSeriesAt: function(index, seriesData) { if (this.flashObject != null && this.flashObject.AddSeriesAt != null) this.flashObject.AddSeriesAt(seriesId); }, updateSeries: function(seriesId, seriesData) { if (this.flashObject != null && this.flashObject.UpdateSeries != null) this.flashObject.UpdateSeries(seriesId, seriesData); }, showSeries: function(seriesId, seriesData) { if (this.flashObject != null && this.flashObject.ShowSeries != null) this.flashObject.ShowSeries(seriesId, seriesData); }, addPoint: function(seriesId, pointData) { if (this.flashObject != null && this.flashObject.AddPoint != null) this.flashObject.AddPoint(seriesId, pointData); }, addPointAt: function(seriesId, pointIndex, pointData) { if (this.flashObject != null && this.flashObject.AddPointAt != null) this.flashObject.AddPointAt(seriesId, pointIndex, pointData); }, removePoint: function(seriesId, pointId) { if (this.flashObject != null && this.flashObject.RemovePoint != null) this.flashObject.RemovePoint(seriesId, pointId); }, updatePoint: function(seriesId, pointId, pointData) { if (this.flashObject != null && this.flashObject.UpdatePoint != null) this.flashObject.UpdatePoint(seriesId, pointId, pointData); }, clear: function() { if (this.flashObject != null && this.flashObject.Clear != null) this.flashObject.Clear(); }, refresh: function() { if (this.flashObject != null && this.flashObject.Refresh != null) this.flashObject.Refresh(); }, highlightSeries: function(seriesId, highlighted) { if (this.flashObject != null && this.flashObject.HighlightSeries != null) this.flashObject.HighlightSeries(seriesId, highlighted); }, highlightPoint: function(seriesId, pointId, highlighted) { if (this.flashObject != null && this.flashObject.HighlightPoint != null) this.flashObject.HighlightPoint(seriesId, pointId, highlighted); }, highlightCategory: function(categoryName, highlighted) { if (this.flashObject != null && this.flashObject.HighlightCategory != null) this.flashObject.HighlightCategory(categoryName, highlighted); }, selectPoint: function(seriesId, pointId, selected) { if (this.flashObject != null && this.flashObject.SelectPoint != null) this.flashObject.SelectPoint(seriesId, pointId, selected); }, view_highlightSeries: function(seriesId, highlighted) { if (this.flashObject != null && this.flashObject.View_HighlightSeries != null) this.flashObject.View_HighlightSeries(viewId, seriesId, highlighted); }, view_highlightPoint: function(seriesId, pointId, highlighted) { if (this.flashObject != null && this.flashObject.View_HighlightPoint != null) this.flashObject.View_HighlightPoint(viewId, seriesId, pointId, highlighted); }, view_highlightCategory: function(categoryName, highlighted) { if (this.flashObject != null && this.flashObject.View_HighlightCategory != null) this.flashObject.View_HighlightCategory(viewId, categoryName, highlighted); }, view_selectPoint: function(seriesId, pointId, selected) { if (this.flashObject != null && this.flashObject.View_SelectPoint != null) this.flashObject.View_SelectPoint(viewId, seriesId, pointId, selected); }, view_setPlotCustomAttribute: function(viewId, attributeName, attributeValue) { if (this.flashObject != null && this.flashObject.View_SetPlotCustomAttribute != null) this.flashObject.View_SetPlotCustomAttribute(viewId, attributeName, attributeValue); }, view_addSeries: function(viewId, seriesData) { if (this.flashObject != null && this.flashObject.View_AddSeries != null) this.flashObject.View_AddSeries(viewId, seriesData); }, view_removeSeries: function(viewId, seriesId) { if (this.flashObject != null && this.flashObject.View_RemoveSeries != null) this.flashObject.View_RemoveSeries(viewId, seriesId); }, view_addSeriesAt: function(viewId, index, seriesData) { if (this.flashObject != null && this.flashObject.View_AddSeriesAt != null) this.flashObject.View_AddSeriesAt(viewId, seriesId); }, view_updateSeries: function(viewId, seriesId, seriesData) { if (this.flashObject != null && this.flashObject.View_UpdateSeries != null) this.flashObject.View_UpdateSeries(viewId, seriesId, seriesData); }, view_showSeries: function(viewId, seriesId, seriesData) { if (this.flashObject != null && this.flashObject.View_ShowSeries != null) this.flashObject.View_ShowSeries(viewId, seriesId, seriesData); }, view_addPoint: function(viewId, seriesId, pointData) { if (this.flashObject != null && this.flashObject.View_AddPoint != null) this.flashObject.View_AddPoint(viewId, seriesId, pointData); }, view_addPointAt: function(viewId, seriesId, pointIndex, pointData) { if (this.flashObject != null && this.flashObject.View_AddPointAt != null) this.flashObject.View_AddPointAt(viewId, seriesId, pointIndex, pointData); }, view_removePoint: function(viewId, seriesId, pointId) { if (this.flashObject != null && this.flashObject.View_RemovePoint != null) this.flashObject.View_RemovePoint(viewId, seriesId, pointId); }, view_updatePoint: function(seriesId, pointId, pointData) { if (this.flashObject != null && this.flashObject.View_UpdatePoint != null) this.flashObject.View_UpdatePoint(viewId, seriesId, pointId, pointData); }, view_clear: function(viewId) { if (this.flashObject != null && this.flashObject.View_Clear != null) this.flashObject.View_Clear(viewId); }, view_refresh: function(viewId) { if (this.flashObject != null && this.flashObject.View_Refresh != null) this.flashObject.View_Refresh(viewId); }, updateViewPointData: function(viewName, groupName, pointName, data) { if (this.flashObject != null && this.flashObject.UpdateViewPointData != null) this.flashObject.UpdateViewPointData(groupName, pointName, data); }, _checkPath: function(path) { var currentHost = location.host; var currentPath = location.pathname; if (location.protocol == "file:") return path; var protocol = location.protocol; currentHost = protocol + "\/\/" + currentHost; currentPath = currentHost + currentPath.substr(0, currentPath.lastIndexOf("/") + 1); if ((path.charAt(0) + path.charAt(1)) == './') { return currentPath + path; } else if (path.charAt(0) == '/') { return currentHost + path; } return path; }, setXMLFile: function(path) { path = this._checkPath(path); if (this._created || this._loaded) this.setXMLDataFromURL(path); else this._xmlFile = path; }, _checkPresetXMLSource: function() { if (this._xmlSource != null && this._created && this._loaded) { var ths = this; setTimeout(function() { ths.setXMLDataFromString(ths._xmlSource); }, 1); } }, _onChartLoad: function() { this._loaded = true; this._checkPresetXMLSource(); }, _onHTMLCreate: function() { this._created = true; this._checkPresetXMLSource(); }, _created: false, _loaded: false, _listeners: null, _enableMouseEvents: false, addEventListener: function(event, callback) { this._listeners.push({ type: event, call: callback }); if (event.indexOf("point") == 0) { this._enableMouseEvents = true; if (this._loaded && this.flashObject != null && this.flashObject.EnableEvents != null) this.flashObject.EnableEvents(); } }, removeEventListener: function(type) { var newIndexes = []; var i; for (i = 0; i < this._listeners.length; i++) { if (this._listeners[i].type != type) newIndexes.push(this._listeners[i]); } this._listeners = newIndexes; }, dispatchEvent: function(event) { if (!this._canDispatchEvent) { this._nonDispatcedEvents.push(event); }; var type = event.type; event.target = this; for (var i = 0; i < this._listeners.length; i++) { if (this._listeners[i].type == type) { this._listeners[i].call(event); } } }, setXMLDataFromString: function(data) { if (this.flashObject != null && this.flashObject.SetXMLDataFromString != null) this.flashObject.SetXMLDataFromString(data.toString()); }, setXMLDataFromURL: function(url) { if (this.flashObject != null && this.flashObject.SetXMLDataFromURL != null) { this.flashObject.SetXMLDataFromURL(url); } }, setViewXMLFile: function(viewId, url) { if (this.flashObject != null && this.flashObject.UpdateViewFromURL != null) this.flashObject.UpdateViewFromURL(viewId, url); }, setViewData: function(viewId, data) { if (this.flashObject != null && this.flashObject.UpdateViewFromString != null) this.flashObject.UpdateViewFromString(viewId, data); }, setLoading: function() { if (this.flashObject == null || this.flashObject.SetLoading == null) return; switch (arguments.length) { case 1: this.flashObject.SetLoading(null, arguments[0]); break; case 2: this.flashObject.SetLoading(arguments[0], arguments[1]); break; } }, getPng: function() { return this.flashObject.GetPngScreen(); }, getJpeg: function() { return this.flashObject.GetJPEGScreen(); }, printChart: function() { this.flashObject.PrintChart(); }, saveAsImage: function() { this.flashObject.SaveAsImage(); }, saveAsPDF: function() { this.flashObject.SaveAsPDF(); }, getInformation: function() { return this.flashObject.GetInformation(); }, scrollXTo: function(xValue) { if (this.flashObject != null && this.flashObject.ScrollXTo != null) this.flashObject.ScrollXTo(xValue); }, scrollYTo: function(yValue) { if (this.flashObject != null && this.flashObject.ScrollYTo != null) this.flashObject.ScrollYTo(yValue); }, scrollTo: function(xValue, yValue) { if (this.flashObject != null && this.flashObject.ScrollTo != null) this.flashObject.ScrollTo(xValue, yValue); }, viewScrollXTo: function(viewName, xValue) { if (this.flashObject != null && this.flashObject.ViewScrollXTo != null) this.flashObject.ViewScrollXTo(viewName, xValue); }, viewScrollYTo: function(viewName, yValue) { if (this.flashObject != null && this.flashObject.ViewScrollXTo != null) this.flashObject.ViewScrollYTo(viewName, yValue); }, viewScrollTo: function(viewName, xValue, yValue) { if (this.flashObject != null && this.flashObject.ViewScrollTo != null) this.flashObject.ViewScrollTo(viewName, xValue, yValue); }, setXZoom: function(settings) { if (this.flashObject != null && this.flashObject.SetXZoom != null) this.flashObject.SetXZoom(settings); }, setYZoom: function(settings) { if (this.flashObject != null && this.flashObject.SetYZoom != null) this.flashObject.SetYZoom(settings); }, setZoom: function(xZoomSettings, yZoomSettings) { if (this.flashObject != null && this.flashObject.SetZoom != null) this.flashObject.SetZoom(xZoomSettings, yZoomSettings); }, setViewXZoom: function(viewName, settings) { if (this.flashObject != null && this.flashObject.SetViewXZoom != null) this.flashObject.SetViewXZoom(viewName, settings); }, setViewYZoom: function(viewName, settings) { if (this.flashObject != null && this.flashObject.SetViewYZoom != null) this.flashObject.SetViewYZoom(viewName, settings); }, setViewZoom: function(viewName, xZoomSettings, yZoomSettings) { if (this.flashObject != null && this.flashObject.SetViewZoom != null) this.flashObject.SetViewZoom(viewName, xZoomSettings, yZoomSettings); }, getXScrollInfo: function() { if (this.flashObject != null && this.flashObject.GetXScrollInfo != null) return this.flashObject.GetXScrollInfo(); }, getYScrollInfo: function() { if (this.flashObject != null && this.flashObject.GetYScrollInfo != null) return this.flashObject.GetYScrollInfo(); }, getViewXScrollInfo: function(viewName) { if (this.flashObject != null && this.flashObject.GetViewXScrollInfo != null) return this.flashObject.GetViewXScrollInfo(viewName); }, getViewYScrollInfo: function(viewName) { if (this.flashObject != null && this.flashObject.GetViewYScrollInfo != null) return this.flashObject.GetViewYScrollInfo(viewName); }, _checkPlayerVersion: function() { var version = this._getFlashPlayerVersion(); if (version == null) return false; if (version.major < 9) return false; return true; }, _getFlashPlayerVersion: function() { if (navigator.plugins != null && navigator.mimeTypes.length > 0) { var flashPlugin = navigator.plugins["Shockwave Flash"]; if (flashPlugin != null && flashPlugin.description != null) { var versionInfo = flashPlugin.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split("."); return { major: versionInfo[0], minor: versionInfo[1], rev: versionInfo[2] }; } return null; } var activeX = null; if (navigator.userAgent != null && navigator.userAgent.indexOf("Windows CE") != -1) { var versionIndex = 4; while (true) { try { activeX = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + versionIndex); versionIndex++; } catch (e) { break; } } if (activeX == null) return null; return { major: versionIndex, minor: 0, rev: 0 }; } var version = null; try { activeX = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); } catch (e) { try { activeX = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); version = { major: 6, minor: 0, rev: 21 }; activeX.AllowScriptAccess = "always"; } catch (e) { if (version != null && version.major == 6) return version; } try { activeX = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); } catch (e) { } } if (activeX == null) return null; var versionInfo = activeX.GetVariable("$version").split(" ")[1].split(","); return { major: versionInfo[0], minor: versionInfo[1], rev: versionInfo[2] }; } }; AnyChart.getChartById = function(id) { return AnyChart._charts[id]; }; AnyChart._chartsCount = 0; AnyChart._registerChart = function(chart) { AnyChart._charts[chart.id] = chart; AnyChart._chartsCount ++; }; AnyChart.swfFile = null; AnyChart.preloaderSWFFile = null; AnyChart.width = 550; AnyChart.height = 400; AnyChart.preloaderInitText = "Initializing..."; AnyChart.preloaderLoadingText = "Loading... "; AnyChart.initText = "Initializing..."; AnyChart.xmlLoadingText = "Loading xml..."; AnyChart.resourcesLoadingText = "Loading resources..."; AnyChart.noDataText = "No Data"; AnyChart.waitingForDataText = "Waiting for data..."; AnyChart.templatesLoadingText = "Loading templates..."; AnyChart._replaceInfo = new Array(); AnyChart.getUniqueChartId = function() { return 'chart__'+AnyChart._chartsCount; } AnyChart._getUniqueContainerId = function(chartId) { return '___CONTAINER___N'+chartId; } var JSONConverter = {}; JSONConverter.toXML = function(data) { return JSONConverter.createNode("anychart",data); } JSONConverter.isAttribute = function(prop) { return (typeof(prop) == "string" || typeof(prop) == "number" || typeof(prop) == "boolean"); } JSONConverter.isCollection = function(prop) { return (prop instanceof Array); } JSONConverter.createNode = function(nodeName, data) { var res = "<"+nodeName; for (var j in data) { if (j != "format" && j != "text" && JSONConverter.isAttribute(data[j])) { res += " "+j+"=\""+data[j]+"\""; } } res += ">"; for (var j in data) { if (j == "format" || j == "text") { res += "<"+j+"><![CDATA["+data[j]+"]]></"+j+">"; }else if (JSONConverter.isCollection(data[j])) { var nodes = data[j]; for (var i = 0;i<nodes.length;i++) { res += JSONConverter.createNode(j,nodes[i]); } }else if (!JSONConverter.isAttribute(data[j])) { res += JSONConverter.createNode(j,data[j]); } } res += "</"+nodeName+">"; return res; } AnyChart._removeSWF = function() { var objects = document.getElementsByTagName("OBJECT"); for (var i = objects.length - 1; i >= 0; i--) { objects[i].style.display = 'none'; for (var x in objects[i]) { if (typeof objects[i][x] == 'function') { objects[i][x] = function() { }; } } } } if (BrowserTypeInformation.isIE && !AnyChart._unload) { AnyChart._unloadHandler = function() { __flash_unloadHandler = function() { }; __flash_savedUnloadHandler = function() { }; window.attachEvent("onunload", AnyChart._removeSWF); } window.attachEvent("onbeforeunload", AnyChart._unloadHandler); AnyChart._unload = true; } |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0153 ]-- |