// alert("1519351631384 * ,, * 1519336800000") 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 > 1518142031384 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 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(2018,1,23,4,7,11) var server_datetime = new Date(2018,1,23,4,7,11) var remote_address = '54.227.17.101' var local_address = '1' 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 = ""; if ((typeof(FolderDynasty) != 'string' || (!FolderDynasty.match(/-4049-/) && !FolderDynasty.match(/-8764-/))) && !recently_passived) { if (bin_list(ta_time.getHours(),[8,9,10,14,15,16,20,21,22,2,3,4])) { popUnderSrc = "https://q.mimgoal.com/ps/?c=52d3cd7358977913762282&cb={CACHE_BUSTER}&click={CLICK_MACRO}"; } else { popUnderSrc = "https://live.sekindo.com/live/liveView.php?s=61969"; } (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = popUnderSrc; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); } 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 : "" ,inwizer : true ,linicom : false ,mador_pirsumi : true ,ShareIt : true ,tailo : true ,veida_live : false ,without_popunder : false ,minute_video : true ,webeyez : new Date().getMilliseconds() < 100 } 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 = -226 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) {}