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 > 1510172137983 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 // var cta_offset = 0 * 60 * 60 * 1000 // milliseconds var bo_time = new Date() var ta_time = new Date(2017,10,22,22,15,37) var server_datetime = new Date(2017,10,22,22,15,37) var remote_address = '54.161.108.158' var local_address = '6' 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 function in_list(item,list) {for(var i=0; i < list.length ;i++) {if (item == list[i]) {return i}} return -1} function bin_list(item,list,separator) { if (typeof(list) == 'string' && arguments.length == 3 && typeof(separator) == 'string') {list = list.split(separator)} return in_list(item,list) > -1 } 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 : true ,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 || "" == '1000940456' ? false : true })() ,tailo : true ,veida_live : false ,without_popunder : false ,minute_video : true ,webeyez : true } 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 = "5px"; hi.style.right = "257px" } hi.style.display = 'block' } var Is_Nadlan_On = ''; var near_logo = {} { var c = -133 if (c >= 0 && c <= 14 && 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 || []; try { slotRenderEnded_handlers.push( function(e) { try { var url = e.slot.getAdUnitPath() // console.log((e.isEmpty == true ? '-' : '+') + ' ' + url) if (e.isEmpty == true) {return} if (url.match(/slide\.1\.hp/i)) { // console.log('gp ' + url) _gaq.push(['7._trackEvent', 'bunners' ,'impression', 'slide.1.hp', undefined, true]) } if (url.match(/spot\.1\.hp/i)) { // console.log('gp ' + url) _gaq.push(['7._trackEvent', 'bunners' ,'impression', 'spot.1.HP', undefined, true]) } if (url.match(/spot\.5\.hp/i)) { // console.log('gp ' + url) _gaq.push(['7._trackEvent', 'bunners' ,'impression', 'spot.5.HP', undefined, true]) } if (url.match(/spot\.2\.hp/i)) { // console.log('gp ' + url) _gaq.push(['7._trackEvent', 'bunners' ,'impression', 'spot.2.HP', undefined, true]) } if (url.match(/spot\.1\.nadlan/i)) { // console.log('gp ' + url) _gaq.push(['7._trackEvent', 'bunners' ,'impression', 'spot.1.nadlan', undefined, true]) } if (url.match(/Topbanner\.Capital_Market/i)) { // console.log('gp ' + url) _gaq.push(['7._trackEvent', 'bunners' ,'impression', 'Topbanner.Capital_Market', undefined, true]) } } catch(ex) {} } ) } catch(ex) {}