Eden :: Eden 404     var CCM_DISPATCHER_FILENAME = '/index.php'; var CCM_CID = 4900; var CCM_EDIT_MODE = false; var CCM_ARRANGE_MODE = false; var CCM_IMAGE_PATH = "/concrete/images"; var CCM_TOOLS_PATH = "/index.php/tools/required"; var CCM_BASE_URL = "http://web.archive.org./web/20211025031321/https://www.eden.com"; var CCM_REL = "";           #blockStyle41614Main6093 {background-repeat:no-repeat; }       #blockStyle41615Main6089 {background-repeat:no-repeat; margin:20px 0 0 0; }     division = "EDN";   current_language = "EN";  $(document).ready(function(){ $(".youtubeBlock").fitVids(); $(".ff-date").timeago(); var $container = $('.ff-grid-4-wrapper'); // initialize Masonry after all images have loaded $container.imagesLoaded( function() { $container.masonry(); }); /*$("div.portal-panel").live("click", function(){ if ($(this).find("a").length != 0) { window.location=$(this).find("a").attr("href"); return false; } });*/ $("body").on("click", "div.portal-panel", function(){ if ($(this).find("a").length != 0) { window.location=$(this).find("a").attr("href"); return false; } }); }); function expandSection(sectionName, baseName) { sectionClass = "." + sectionName; $(".collapsible-section").stop(); $(".collapsible-section").not(sectionClass).slideUp(); $(".collapsible-subsection").stop(); $(".collapsible-subsection").not(sectionClass).slideUp(); baseName = "#" + baseName; $(sectionClass).slideDown(); $('html, body').animate({ scrollTop: $(baseName).offset().top - 105 }, 750); }function expandSubsection(sectionName, baseName) { sectionClass = "." + sectionName; $(".collapsible-subsection").stop(); $(".collapsible-subsection").not(sectionClass).slideUp(); baseName = "#" + baseName; $(sectionClass).slideDown(); $('html, body').animate({ scrollTop: $(baseName).offset().top - 105 }, 750); } function collapseSection(sectionName) { sectionClass = "." + sectionName; $(".collapsible-section").stop(); $(sectionClass).slideUp(); }                   UNICOM Global Divisions   Product Catalog     Sign In   Search        Mergers & Acquisitions    Business & Financial Services    Real Estate     UNICOM Capital        MENU          UNICOM DIVISIONS  UNICOM Global UNICOM Government UNICOM Engineering CICS.com USRobotics Eden UNICOM Systems TeamBLUE Macro 4 DETEC SoftLanding illustro Systems iET Solutions USR Memeo Firetide UNICOM Capital       EDEN   Home Mergers & Acquisitions Business & Financial ServicesReal EstateEDEN Real Estatedocument.getElementById('show-submenu-3310').onclick = function(e) { classie.toggle( this, 'active' );classie.toggle( document.getElementById('submenu-3310'), 'side-menu-open' );};document.getElementById('close-submenu-3310').onclick = function(e) { classie.toggle( this, 'active' );classie.toggle( document.getElementById('submenu-3310'), 'side-menu-open' );}; Real Estate UNICOM Technology Park Pickfair Estate Wingsweep Roripaugh Ranch UNICOM Science and Technology Park UNICOM CapitalAboutEDEN Aboutdocument.getElementById('show-submenu-616').onclick = function(e) { classie.toggle( this, 'active' );classie.toggle( document.getElementById('submenu-616'), 'side-menu-open' );};document.getElementById('close-submenu-616').onclick = function(e) { classie.toggle( this, 'active' );classie.toggle( document.getElementById('submenu-616'), 'side-menu-open' );}; About Corry Hong, Founder and CEO, UNICOM Global Contact Us News     UNICOM Divisions Product Catalog     SIGN IN TO UNICOM GLOBAL          Email Address      Password       Remain logged in across all UNICOM websites.   $(document).ready(function(){ $('#uMaintainLogin').prop('checked', true); });   Not registered? Register Now          UNICOM GLOBAL DIVISIONS       UNICOM® Global consists of more than 50 corporate entities encompassing a wide range of businesses including Mergers and Acquisitions (M&A;), Real Estate Development, Business and Financial Services and a range of Information Technology (IT) Divisions.

     CICS.com Enterprise Software Solutions

  UNICOM Systems TeamBLUE Macro 4 DETEC SoftLanding illustro iET Solutions    USRobotics Communications Solutions

  USR Memeo Firetide Unified Communications and Collaboration    Eden Real Estate & Financial Services

  UNICOM Capital Mergers & Acquisitions IT Real Estate    UNICOM Government Government Solutions

     UNICOM Engineering Engineering Solutions

        SEARCH ALL OF UNICOM GLOBAL       (function() { var cx = '001761526981083187715:l9lrjgz-l3k'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//web.archive.org./web/20211025031321/https://cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })();   Please activate tracking cookies via the Cookie Preferences link below to enable site search.     function lockScrolling() { // lock scroll position, but retain settings for later var scrollPosition = [ self.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft, self.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop ]; var html = jQuery('html'); // it would make more sense to apply this to body, but IE7 won't have that html.data('scroll-position', scrollPosition); html.data('previous-overflow', html.css('overflow')); html.css('overflow', 'hidden'); window.scrollTo(scrollPosition[0], scrollPosition[1]); } function unlockScrolling() { var html = jQuery('html'); var scrollPosition = html.data('scroll-position'); html.css('overflow', html.data('previous-overflow')); window.scrollTo(scrollPosition[0], scrollPosition[1]) } function closeAllSliders() { $( ".side-menu-open" ).each(function( index ) { classie.toggle( this, 'active' ); classie.toggle( this, 'side-menu-open' ); }); var html = jQuery('html'); var scrollPosition = html.data('scroll-position'); html.css('overflow', html.data('previous-overflow')); window.scrollTo(scrollPosition[0], scrollPosition[1]) } $(document).ready(function() { document.getElementById('inline-menu').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('side-menu-main'), 'side-menu-open' ); lockScrolling(); }; document.getElementById('close-main').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('side-menu-main'), 'side-menu-open' ); unlockScrolling(); }; document.getElementById('show-division-submenu').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('division-submenu'), 'side-menu-open' ); classie.toggle( document.getElementById('mega-menu'), 'mega-menu-open' ); lockScrolling(); }; document.getElementById('close-division-submenu').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('division-submenu'), 'side-menu-open' ); classie.toggle( document.getElementById('mega-menu'), 'mega-menu-open' ); unlockScrolling(); }; if (document.getElementById('mega-menu')) { document.getElementById('slide-division').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('division-submenu'), 'side-menu-open' ); classie.toggle( document.getElementById('mega-menu'), 'mega-menu-open' ); lockScrolling(); }; document.getElementById('close-division').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('mega-menu'), 'mega-menu-open' ); classie.toggle( document.getElementById('division-submenu'), 'side-menu-open' ); unlockScrolling(); }; } if (document.getElementById('mega-catalog')) { document.getElementById('slide-catalog').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('mega-catalog'), 'mega-catalog-open' ); lockScrolling(); }; document.getElementById('footer-show-catalog').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('mega-catalog'), 'mega-catalog-open' ); lockScrolling(); }; document.getElementById('close-catalog').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('mega-catalog'), 'mega-catalog-open' ); unlockScrolling(); }; } document.getElementById('inline-search-slide').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('slide-search'), 'slide-search-open' ); lockScrolling(); }; document.getElementById('close-search').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('slide-search'), 'slide-search-open' ); unlockScrolling(); }; document.getElementById('show-mini-search').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('slide-search'), 'slide-search-open' ); lockScrolling(); }; document.getElementById("show-mini-login").onclick = function(e) { //$("#top-space-bar").css( "height", "211px" ); //$(".blue-login-bar").show(); classie.toggle( this, 'active' ); classie.toggle( document.getElementById('login-area'), 'login-area-open' ); lockScrolling(); } document.getElementById('slide-login').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('login-area'), 'login-area-open' ); lockScrolling(); }; document.getElementById('close-login').onclick = function(e) { classie.toggle( this, 'active' ); classie.toggle( document.getElementById('login-area'), 'login-area-open' ); unlockScrolling(); }; $('.side-menu').css('display','block'); $(document).keyup(function(e) { if (e.keyCode == 27) { // escape key maps to keycode `27` // Close windows. if ($("#mega-menu").hasClass("mega-menu-open")) { classie.toggle( document.getElementById('mega-menu'), 'mega-menu-open' ); classie.toggle( document.getElementById('division-submenu'), 'side-menu-open' ); unlockScrolling(); } if ($("#mega-catalog").hasClass("mega-catalog-open")) { classie.toggle( document.getElementById('mega-catalog'), 'mega-catalog-open' ); unlockScrolling(); } if ($("#slide-search").hasClass("slide-search-open")) { classie.toggle( document.getElementById('slide-search'), 'slide-search-open' ); unlockScrolling(); } if ($("#login-area").hasClass("login-area-open")) { classie.toggle( document.getElementById('login-area'), 'login-area-open' ); unlockScrolling(); } } }); });                  PAGE NOT FOUND          The page you were looking for was not found:    (function() { var cx = '007216261257371186281:kr3q3ongwey'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//web.archive.org./web/20211025031321/https://cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })();  Try searching the UNICOM Global sites:  .gsc-input-box { height:39px; border-radius: 5px; border-color: #3d6633; padding:3px !important; } .gsc-input-box table { border:none !important; } .gsc-input-box table tbody, .gsc-input-box table tbody tr, .gsc-input-box table tbody tr td { overflow:hidden; vertical-align: top !important; background-color: Transparent !important; } .gsc-input-box table tbody tr td input { border: none !important; box-shadow: none !important; } .gscb-a { padding-top: 5px !important; } .gsib_b { padding: 6px !important; padding-top:8px !important; background-color: Transparent !important; height: 22px !important; } .gsst_a { padding: 0px !important; border-bottom: 0px !important; } .gsib_a { padding: 6px !important; background-color: Transparent !important; height: 22px !important; } .gsib_a input { background-color: Transparent !important; } td.gsc-search-button { padding-top: 2px !important; padding-bottom: 2px !important; } input.gsc-search-button, input.gsc-search-button-v2 { border-radius: 5px; background-color: #3d6633 !important; border-color: #5B5F5D !important; height:36px !important; width: 70px !important; padding-top: 9px !important; padding-bottom: 9px !important; } .gsc-results-wrapper-overlay, .gsc-results-wrapper-visible { padding: 20px !important; } .gsc-table-result, .gsc-above-wrapper-area-container, .gsc-resultsHeader { border: none !important; } .gs-title a { padding: 0px !important; } .gcsc-branding { display: none; } .gsc-result { border: 0px !important; } .gsc-result-info, .gsc-resultsbox-visible, .gsc-resultsHeader, .gsc-table-result, .gsc-result-info-container, .gsc-orderby-container, td.gsc-input, td.gsc-search-button { border: 0px !important; } .gsc-adBlockNoHeight { border: 0px !important; } a.gs-title:hover { color: #ffffff !important; }                                   Contact

Site Map

Legal

Privacy

Cookie Preferences

Do not sell my personal information

       Copyright © 2021 Eden       UNICOM GLOBAL PRODUCT CATALOG            $(document).ready(function(){var e="#blocks_by_ajax_25657",a="1635129570:13627ab99f26d7faad5219dece7a74f7",o="/index.php/tools/packages/jl_blocks_by_ajax/blocks_by_ajax",n="XyjMNzSOtfM13XrH2Um00uFFC83vbIUavfhQpYquM7DXUH2vCNnlg5f2ax2oxKlx56kdyIY6OwEbB8Kr55m7aA==",t="4900",i="25657",s=parseInt("100",10),r="on_visible",l="Unrecognised AJAX load method on_visible.",_="AJAX load error.",c=parseInt("3",10),d=parseInt("",10),b=parseInt("0",10),f=parseInt("",10),p="",u="1",h=parseInt("500",10),v=Math.max(s,1e3),m=Math.min(s,500),w=function(){d&&window.console&&window.console.log&&window.console.log(1==arguments.length?arguments[0]:arguments)},g=function(){window.console&&window.console.log&&window.console.log(1==arguments.length?arguments[0]:arguments)},y=$(e).html();w(d),w(p);var k=function(e){var a=e.split(/\s+/),o=r.split(/\s+/),n=!1;return $.each(a,function(e,a){return $.each(o,function(e,o){return o==a?(n=o,!1):void 0}),n?!1:void 0}),w(e,r,n),n},j=function(s){var r={ccm_token:a,jl_blocks_by_ajax:n,jl_blocks_by_ajax_cID:t,jl_blocks_by_ajax_md:f,jl_blocks_by_ajax_bID:i,jl_blocks_by_ajax_rcbID:b};if(s&&(w("more_params",s),r=$.extend({},s,r)),p){p.length<2&&(p="form");var l=$(p).serializeArray();w("include_form",p,l);var d={};$.each(l,function(e,a){var o=a.name,n=a.value;o.indexOf("jl_blocks_by_ajax")>=0||(o.indexOf("[]")>=0?d[o]?d[o].push(n):d[o]=[n]:d[o]=n)}),w("form_data",d),$.extend(r,d)}w("Blocks by AJAX load started "+e,r),$(e).trigger("blocks_by_ajax_start",r),$(e).addClass("blocks_by_ajax_in_progress"),u&&$(e).html(y),$(e).load(o,r,function(a,o,n){"success"!==o?(g(n),c&&c>0?(100>c&&c--,j(),$(e).trigger("blocks_by_ajax_retry",r)):($(e).html('
'+_+" "+n.status+" "+n.statusText+"
"),$(e).removeClass("blocks_by_ajax_in_progress"),$(e).trigger("blocks_by_ajax_fail",r))):(w("Blocks by AJAX load completed "+e),$(e).removeClass("blocks_by_ajax_in_progress"),$(e).trigger("blocks_by_ajax_success",a,r),J())})},x=function(){var a=$(window).scrollTop(),o=a+$(window).height(),n=$(e).offset().top,t=n+$(e).height();if(n>o+h)return!1;if(a-h>t)return!1;var i=$(window).scrollLeft(),s=i+$(window).width(),r=$(e).offset().left,l=r+$(e).width();return r>s+h?!1:i-h>l?!1:!0},I=!1,A=function(){$(e).data("initial_ajax_load_started",!0),I=!0},C=function(){return I||$(e).data("initial_ajax_load_started")},D=function(){if(!C()&&!$(e).hasClass("blocks_by_ajax_in_progress"))if(w("Blocks by AJAX loading to "+e+" by load method "+r),k("on_visible when_visible")){var a,o=function(){return C()?!0:$(e).is(":visible")?(window.clearInterval(a),w("loading_now","on_visible when_visible"),A(),j(),!0):!1};o()||(a=window.setInterval(function(){o()},m))}else if(k("delay")){var n,t=function(){window.clearInterval(n),C()||(w("loading_now","delay"),A(),j())};n=window.setInterval(function(){t()},s)}else if(k("on_event"))$(e).one("blocks_by_ajax",function(a,o){if($(e).off("blocks_by_ajax"),!C()){var n;if(o)try{n=$.parseJSON(o)}catch(t){}w("loading_now","on_event",o,n),A(),j(n)}});else if(k("now immediate")){if(C())return;A(),j()}else if(k("form_submit")&&p)p.length<2&&(p="form"),$(p).one("click","input[type=submit]",function(e){if($(p).off("click").find("input[type=submit]").attr("disabled","disabled").addClass("blocks_by_ajax_disabled"),e.preventDefault(),e.stopPropagation(),!C()){var a={};a[$(this).attr("name")]=$(this).attr("value"),w("loading_now","form_submit",p,a),A(),j(a)}}).find(".blocks_by_ajax_disabled").removeAttr("disabled").removeClass("blocks_by_ajax_disabled");else if(k("in_viewport")){var i,_=function(){return C()?!0:x()?(window.clearInterval(i),w("loading_now","in_viewport"),A(),j(),!0):!1};_()||(i=window.setInterval(function(){_()},m))}else if(k("view_and_vis")){var c,d=function(){return C()?!0:x()&&$(e).is(":visible")?(window.clearInterval(c),w("loading_now","view_and_vis"),A(),j(),!0):!1};d()||(c=window.setInterval(function(){d()},m))}else $(e).html('
'+l+"
")},J=function(){if(w("Blocks by AJAX repeating loading to "+e+" by load method "+r),k("repeat_at_interval")){var a,o=function(){window.clearInterval(a),j()};a=window.setInterval(function(){o()},v)}else k("repeat_on_event")?$(e).one("blocks_by_ajax",function(a,o){$(e).off("blocks_by_ajax");var n;if(o)try{n=$.parseJSON(o)}catch(t){}w("repeat_loading_now","on_event",o,n),j(n)}):k("repeat_on_form_submit")&&p&&(p.length<2&&(p="form"),$(p).one("click","input[type=submit]",function(e){$(p).off("click").find("input[type=submit]").prop("disabled","disabled").addClass("blocks_by_ajax_disabled"),e.preventDefault(),e.stopPropagation();var a={};a[$(this).attr("name")]=$(this).attr("value"),w("repeat_loading_now","form_submit",p,a),j(a)}).find(".blocks_by_ajax_disabled").removeAttr("disabled").removeClass("blocks_by_ajax_disabled"))};D()});    function toggleProductType() { $('#product-type-section').toggle(); $('#hide-product-type').toggle(); $('#show-product-type').toggle(); } function toggleDivisionFilter() { $('#division-filter-section').toggle(); $('#hide-division-filter').toggle(); $('#show-division-filter').toggle(); }        $(document).foundation(); $(document).ready(function(){ $('.side-menu').css('display','block !important'); $("a[href*='/cics-root/']").each(function() { this.href = this.href.replace("www.eden.com/cics-root/", "www.cics.com/"); }); $("a[href*='/detec-en-root/']").each(function() { this.href = this.href.replace("www.eden.com/detec-en-root/", "www.detec.com/"); }); $("a[href*='/detec-de-root/']").each(function() { this.href = this.href.replace("www.eden.com/detec-de-root/", "www.detec.de/"); }); /*$("a[href*='/eden-root/']").each(function() { this.href = this.href.replace("www.eden.com/eden-root/", "www.eden.com/"); });*/ $("a[href*='/firetide-root/']").each(function() { this.href = this.href.replace("www.eden.com/firetide-root/", "www.firetide.com/"); }); $("a[href*='/iet-solutions-en-root/']").each(function() { this.href = this.href.replace("www.eden.com/iet-solutions-en-root/", "www.iet-solutions.com/"); }); $("a[href*='/iet-solutions-de-root/']").each(function() { this.href = this.href.replace("www.eden.com/iet-solutions-de-root/", "www.iet-solutions.de/"); }); $("a[href*='/illustro-systems-international-root/']").each(function() { this.href = this.href.replace("www.eden.com/illustro-systems-international-root/", "www.illustro.com/"); }); $("a[href*='/macro-4-de-root/']").each(function() { this.href = this.href.replace("www.eden.com/macro-4-de-root/", "www.macro4.de/"); }); $("a[href*='/macro-4-en-root/']").each(function() { this.href = this.href.replace("www.eden.com/macro-4-en-root/", "www.macro4.com/"); }); $("a[href*='/macro-4-es-root/']").each(function() { this.href = this.href.replace("www.eden.com/macro-4-es-root/", "www.macro4.es/"); }); $("a[href*='/macro-4-fr-root/']").each(function() { this.href = this.href.replace("www.eden.com/macro-4-fr-root/", "www.macro4.fr/"); }); $("a[href*='/macro-4-it-root/']").each(function() { this.href = this.href.replace("www.eden.com/macro-4-it-root/", "www.macro4.it/"); }); $("a[href*='/memeo-root/']").each(function() { this.href = this.href.replace("www.eden.com/memeo-root/", "www.memeo.com/"); }); $("a[href*='/softlanding-root/']").each(function() { this.href = this.href.replace("www.eden.com/softlanding-root/", "www.softlanding.com/"); }); $("a[href*='/teamblue-root/']").each(function() { this.href = this.href.replace("www.eden.com/teamblue-root/", "teamblue.unicomsi.com/"); }); $("a[href*='/unicom-capital-root/']").each(function() { this.href = this.href.replace("www.eden.com/unicom-capital-root/", "www.unicom-capital.com/"); }); $("a[href*='/unicom-engineering-root/']").each(function() { this.href = this.href.replace("www.eden.com/unicom-engineering-root/", "www.unicomengineering.com/"); }); $("a[href*='/unicom-global-root/']").each(function() { this.href = this.href.replace("www.eden.com/unicom-global-root/", "www.unicomglobal.com/"); }); $("a[href*='/unicom-government-root/']").each(function() { this.href = this.href.replace("www.eden.com/unicom-government-root/", "www.unicomgov.com/"); }); $("a[href*='/unicom-systems-inc-root/']").each(function() { this.href = this.href.replace("www.eden.com/unicom-systems-inc-root/", "www.unicomsi.com/"); }); $("a[href*='/usr-root/']").each(function() { this.href = this.href.replace("www.eden.com/usr-root/", "www.usr.com/"); }); $("a[href*='/usrobotics-root/']").each(function() { this.href = this.href.replace("www.eden.com/usrobotics-root/", "www.usrobotics.com/"); }); $("a[href*='http://web.archive.org./web/20211025031321/https://www.unicomengineering.com']").each(function() { this.href = this.href.replace("http://web.archive.org./web/20211025031321/https://www.unicomengineering.com", "http://web.archive.org./web/20211025031321/http://www.unicomengineering.com"); }); var pageUrl = window.location.href; var linkIndex = pageUrl.indexOf("#"); if (linkIndex != -1) { var linkJump = pageUrl.substring(linkIndex + 1, pageUrl.length); if ($(".collapsible-section." + linkJump).length) { if ($("#collapsible-base").length) { expandSection(linkJump, "collapsible-base"); } else expandSection(linkJump, linkJump); } } });      document.addEventListener('DOMContentLoaded', function () { cookieconsent.run({"notice_banner_type":"simple","consent_type":"express","palette":"light","language":"en","website_name":"eden.com","change_preferences_selector":"#changePreferences","cookies_policy_url":"http://web.archive.org./web/20211025031321/https://www.eden.com/privacy/"}); });    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','http://web.archive.org./web/20211025031321/https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-80265119-1', 'auto'); ga('set', 'anonymizeIp', true); ga('send', 'pageview');   Cookie Consent by PrivacyPolicies.com   function checkCookie(cname) { var name = cname + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for(var i = 0; i   (()=> { const channel = new BroadcastChannel('cookie-channel'); channel.onmessage = (e)=> { // get notification from other same-origin tabs/frames document.dispatchEvent(new CustomEvent('cookiechange', { detail: e.data })); }; let expando = '_cookie'; let lastCookie = document.cookie; let checkCookieChange = ()=> { let cookie = document[expando]; if (cookie !== lastCookie) { try { let detail = {oldValue: lastCookie, newValue: cookie}; document.dispatchEvent(new CustomEvent('cookiechange', { detail: detail })); channel.postMessage(detail); // notify other same-origin tabs/frames } finally { lastCookie = cookie; } } }; let nativeCookieDesc = Object.getOwnPropertyDescriptor(Document.prototype, 'cookie'); Object.defineProperty(Document.prototype, expando, nativeCookieDesc); Object.defineProperty(Document.prototype, 'cookie', { // redefine document.cookie enumerable: true, configurable: true, get() { return this[expando]; }, set(value) { this[expando] = value; checkCookieChange(); } }); })(); document.addEventListener('cookiechange', ({detail: {oldValue, newValue}})=> { // console.log(`Cookie changed from "${oldValue}" to "${newValue}"`); if (checkCookie("cookie_consent_level") >= 0) { document.getElementById('inline-search-slide').style.display = ''; document.getElementById('show-mini-search').style.display = ''; } else { document.getElementById('inline-search-slide').style.display = 'none'; document.getElementById('show-mini-search').style.display = 'none'; } });