var user_id = 0; // var login_id = '%u05D0%u05D5%u05E8%u05D7'; var user_properties = { noad: false , can_use_adblocker: true } if (location.host.match(/^m\.globes\.co\.il$/i)) {location.href = location.href.replace(/\/\/m.globes.co.il\//i,'//www.globes.co.il/')} var IsHomePage = location.pathname == '/' || location.href.match(/\/news\/home\.aspx\?fid=2$/i) var dcCountry = null var is_pas_on = true var use_last_call = true var win_or_mac_or_linux = navigator.platform.match(/^win\d+/i) || navigator.platform.match(/^mac/i) || navigator.platform.match(/^linux/i) var recently_passived = localStorage_supported && localStorage.adblockerStatus == 'passive' && localStorage.adblockerPassivedDateime > 1484687802763 var excluded_dc_ids = []; var dfp_urls_to_exclude = [] if (typeof(FolderDynasty) == 'string' && FolderDynasty.match(/-4049-/)) {dfp_urls_to_exclude.push(/jumbo/i)} if (!win_or_mac_or_linux || recently_passived) {dfp_urls_to_exclude.push(/slide/i)} dfp_urls_to_exclude.push(/slide/i); /* new */ var Is_Almond_On = false; var Is_Millon_On = false; var Is_Vilon_On = false && !IsHomePage; var Vilon_Version = '?version=2_24022011'; var Is_VirtualWeb_On = false; var is_mobile = !navigator.appVersion.match(/win/i) && !navigator.appVersion.match(/x11/i) && (!navigator.appVersion.match(/mac/i) || navigator.appVersion.match(/like mac/i)) && (!navigator.appVersion.match(/linux/i) || navigator.appVersion.match(/android/i)) var dc_server = 'true' var disable_e_counter = false // http://www.globes.co.il/news/article.aspx?did=1000940619 var cta_offset = 0 * 60 * 60 * 1000 // milliseconds var bo_time = new Date() var ta_time = new Date(2017,0,31,23,16,42) var server_datetime = new Date(2017,0,31,23,16,42) var remote_address = '140.247.201.10' var local_address = '2' var sCastTVParams = 'dfp_timeout=6&VAST=2'; var localStorage_supported = (function() { try { var t = 't_' + (new Date()).getTime() localStorage.setItem(t,t); localStorage.removeItem(t); return true; } catch(e) { return false } })() // if time for sekindo: 08:00-13:00, 18:00-01:00 var popUnderSrc = ""; var isChromium = window.chrome, vendorName = window.navigator.vendor, isOpera = window.navigator.userAgent.indexOf("OPR") > -1, isIEedge = window.navigator.userAgent.indexOf("Edge") > -1, isChromeFull = (isChromium !== null && isChromium !== "undefined" && vendorName === "Google Inc." && isOpera == false && isIEedge == false); var shalter = { AddToWhiteList : typeof(FolderDynasty) == 'string' && FolderDynasty.match(/-4049-/) ? false : true ,aroundab : false ,after_logo : true // IsHomePage ,arti_media : true ,cornerFeedback : false ,CTArt : (false && isChromeFull) || Boolean(location.search.match(/CTArt=1/i)) ,CTArtMonitor : (false && isChromeFull) || Boolean(location.search.match(/CTArtMonitor=1/i)) ,CTArtMonitorVersion : "12" ,dfp : true ,DR : false ,edologic : false ,excellence : window.ActiveXObject ? false : true ,fbbs : true ,fidback : false ,Hiro : true ,hotjar : false ,hpNewPopup : "%3Cstyle%3E%23newGlobes%20%7B%20background%3Aurl%28http%3A//images.globes.co.il/images/site/newGlobes.png%29%20no-repeat%200%200%3B%20width%3A700px%3B%20height%3A510px%3B%20position%3Afixed%3B%20left%3A%2050%25%3B%20top%3A%2050%25%3B%20transform%3A%20translate%28-50%25%2C%20-50%25%29%3B%20z-index%3A444%3B%20box-shadow%3A0%200%2010px%205px%20%23666%3B%7D%23newGlobesClose%20%7B%20position%3Aabsolute%3B%20top%3A10px%3B%20right%3A10px%3B%20width%3A40px%3B%20height%3A40px%3B%20cursor%3Apointer%7D%23newGlobesLink%20%7Bposition%3Aabsolute%3B%20bottom%3A45px%3B%20right%3A55px%3B%20%20width%3A250px%3B%20height%3A80px%7D%23Gray_Layer%20%7Btop%3A%200px%3B%20background-color%3A%23999%3B%20height%3A%20100%25%20%21important%3B%20left%3A%200%3Bopacity%3A%200.7%3B%20%20overflow%3A%20hidden%3B%20%20position%3A%20absolute%3B%20width%3A%20100%25%20%21important%3B%20z-index%3A%20201%3B%7D%3C/style%3E%3Cdiv%20id%3D%22Gray_Layer%22%20onclick%3D%22if%28document.getElementById%28%27newGlobes%27%29%29%7Bdocument.getElementById%28%27newGlobes%27%29.style.display%3D%27none%27%3B%7Dif%28document.getElementById%28%27Gray_Layer%27%29%29%7Bdocument.getElementById%28%27Gray_Layer%27%29.style.display%3D%27none%27%3B%7D%22%3E%26nbsp%3B%3C/div%3E%3Cdiv%20id%3D%22newGlobes%22%3E%3Cdiv%20id%3D%22newGlobesClose%22%20onclick%3D%22if%28document.getElementById%28%27newGlobes%27%29%29%7Bdocument.getElementById%28%27newGlobes%27%29.style.display%3D%27none%27%3B%7Dif%28document.getElementById%28%27Gray_Layer%27%29%29%7Bdocument.getElementById%28%27Gray_Layer%27%29.style.display%3D%27none%27%3B%7D%22%3E%3C/div%3E%3Ca%20target%3D%22_blank%22%20id%3D%22newGlobesLink%22%20href%3D%22/news/newSiteExplain.aspx%22%3E%3C/a%3E%3C/div%3E" ,inwizer : true ,linicom : false ,mador_pirsumi : true ,ShareIt : true ,SekindoPopUnder : (function() {var lpd = parseInt(localStorage_supported ? localStorage.getItem('lastPopDate') : 0); return lpd > 0 && (typeof(FolderDynasty) != 'string' || !FolderDynasty.match(/-4049-/)) && (new Date()).getTime() - lpd < 1000 * 60 * 60 * 24 * 14 || user_properties.noad == true || "1000940619" == '1000940456' ? false : true })() ,tailo : true ,veida_live : false ,without_popunder : false } if (shalter.hpNewPopup!="") popUnderSrc=""; excluded_dc_ids.push('*') if (shalter.dfp) {} if (shalter.edologic) {dfp_urls_to_exclude.push(/slide/i)} if (user_properties.noad) {dfp_urls_to_exclude.splice(dfp_urls_to_exclude.length ,0, /jumbo/i, /slide/i, /takeover/i ) } function getExlcBunner() {} var independence_day = {start : new Date('may 9 2011 20:00') , end : new Date('may 11 2011')} var memorial_day = {start : new Date('may 8 2011 17:30')} var Is_Desk_On = true; var Is_CastTimeDID = false function position_holiday_icon() { // debugger var hi = document.getElementById("holiday_icon") if (hi.parentNode.id != "logoBlock") { hi.parentNode.style.position = 'relative' hi.style.top = "10px"; hi.style.right = "270px" } hi.style.display = 'block' } var Is_Nadlan_On = ''; var near_logo = {} { var c = -51 if (c > 0 && c <= 30 && true ) { // c = c < 10 ? "0" + c : c; if (false /* live */) { c = 'LIVE' } if (!location.href.match(/\/portal\/.*/i)) { near_logo.html = '' + '' + '' + '' } } } if (typeof(_sf_startpt) == 'undefined') {_sf_startpt = (new Date()).getTime()} var visit_counters = [1,1,6,0] if (false && location.protocol == 'https:') { try{ var e = document.createElement("FORM") var i = document.createElement("INPUT") i.setAttribute('name',"referer") i.setAttribute('value',location.href) e.appendChild(i) e.action = "https://" + location.host + "/news/ssl_redirector.aspx" e.method = "POST" document.body.appendChild(e) e.submit() } catch(ex) {} } var width_type = (function() { try { var inner_width = window.innerWidth > 0 ? window.innerWidth : Math.max(document.documentElement.clientWidth, document.body.clientWidth) if (inner_width > 1400) {return 'wide'} if (inner_width > 1100) {return 'medium'} } catch(ex) {} return 'narrow' })() var inner_width = window.innerWidth > 0 ? window.innerWidth : Math.max(document.documentElement.clientWidth, document.body.clientWidth) var width_type_statistic = (function() { try { if (inner_width > 1600) {return 'wide'} if (inner_width > 1100) {return 'medium'} } catch(ex) {} return 'narrow' })() var width_type_statistic_ABT = (function() { try { if (inner_width > 1600) {return 'wide'} if (inner_width > 1549) {return 'medium_d'} if (inner_width > 1489) {return 'medium_c'} if (inner_width > 1399) {return 'medium_b'} if (inner_width > 1200) {return 'medium_a'} } catch(ex) {} return 'narrow' })() var gl_abt = (function() { var t = {} /* try { if (inner_width > 1300 && localStorage_supported) { if (!localStorage.wt || localStorage.wtv!="4a17") { localStorage.removeItem("wt"); localStorage.wtv="4a17" } if (localStorage.wt) { t.wt = localStorage.wt } else { var m = new Date().getMilliseconds() localStorage.wt = t.wt = m < 500 ? 'narrow' : 'wide' } } } catch(ex) {} */ return t })() var GA_ver = 3; var _gaq = _gaq || [];