function datetime_in_range() { var t = new Date(); for(var i = 0; i+1 < arguments.length ;i += 2) { var since = new Date(arguments[i]); var until = new Date(arguments[i+1]); if (t.getTime() > since.getTime() && t.getTime() < until.getTime()) return 1; } return 0; } var ta_daylight_saving_time = datetime_in_range('mar 26 2010 2:00','sep 12 2010 2:00'); // exchange_dst var ny_daylight_saving_time = datetime_in_range('mar 14 2010 2:00','nov 7 2010 2:00'); var london_daylight_saving_time = datetime_in_range('mar 30 2008 8:00','oct 26 2008 8:00'); var tokio_daylight_saving_time = 0; // always var tk_offset = 7 + tokio_daylight_saving_time - ta_daylight_saving_time; var ln_offset = -2 + london_daylight_saving_time - ta_daylight_saving_time; var ny_offset = -7 + ny_daylight_saving_time - ta_daylight_saving_time; var ny_data = // http://www.nasdaq.com/about/schedule.stm [ "ניו יורק" , 1,5, 9 * 60 + 30, 16 * 60, ny_offset , [ "01.01.2007" , // New Year's Day "02.01.2007" , // @@@ President Ford "15.01.2007" , // Martin Luther King Jr.'s Birthday "19.02.2007" , // Presidents' Day "06.04.2007" , // Good Friday "28.05.2007" , // Memorial Day "04.07.2007" , // Independence Day "03.09.2007" , // Labor Day "22.11.2007" , // Thanksgiving Day "25.12.2007" , // Christmas Day "31.12.9999" // end of time ] ]; var ta_data = [ // http://www.tase.co.il/TASE/AboutTASE/VacationSchedule/ "תל אביב" , 0,4, 9 * 60, 17 * 60 + 30, 0, [ "04.03.2007" , // פורים "02.04.2007" , // פסח "03.04.2007" , "08.04.2007" , "09.04.2007" , "23.04.2007" , // יום הזכרון "24.04.2007" , // יום העצמאות "22.05.2007" , // שבועות "23.05.2007" , // "24.07.2007" , // תשעה באב "12.09.2007" , // ראש השנה "13.09.2007" , // "14.09.2007" , // "21.09.2007" , // כיפור "26.09.2007" , // סוכות "27.09.2007" , // "03.10.2007" , // "04.10.2007" , // "31.12.9999" ] ]; if (typeof(serve)!= 'string') serve = '/serve' if (serve != '/ServeNoAd') serve = '/serve' function NoAdClient(){return serve == '/ServeNoAd'} function max(x,y){return (x > y) ? x : y} function right(s,n){return s.substring(max(s.length-n,0))} var script_qs = '' function gethost() { function get_src(is_mozilla,e) { try {return is_mozilla ? e.getAttributeNode("src").nodeValue : e.src } catch(e) {} return "" } var script_path='/serve/js/links/main.asp'.toLowerCase() var path_length = script_path.length var i,l var document_scripts = document.getElementsByTagName("script") var is_mozilla = window.navigator.appName.match(/netscape/i) ? true : false for(i=0; i < document_scripts.length ;i++) { var src = get_src(is_mozilla,document_scripts[i]).toLowerCase() l = src.indexOf('?') if (l == -1) {l = src.length} if (l < path_length) {continue} if (src.substring(l-path_length,l) != script_path) {continue} if (src.substring(l,l+1) == '?') {script_qs = src.substring(l+1)} return src.substring(0,l-path_length) } return 'http://www.globes.co.il' } var host = gethost() var top_links = new Array() top_links[top_links.length] = ['open_arena()','english.gif',38,7 , 'ENGLISH'] //if (window.screen.width > 800) //{ //top_links[top_links.length] = ['open_globestv()','tv.gif',13,7, 'TV'] // top_links[top_links.length] = ['open_auctions()','michrazim.gif',33,9,'מכרזים'] //} top_links[top_links.length] = ['open_boards()','boards.gif',13,7, 'לוחות'] top_links[top_links.length] = ['open_events()','eruim.gif',36,7, 'אירועים'] top_links[top_links.length] = ['open_newsletters()','newsletter.gif',43,15, 'ניוזלטר'] top_links[top_links.length] = ['open_zira()','hazira.gif',28,15,'קניות'] top_links[top_links.length] = ['open_forums()','forumim.gif',35,15, 'פורומים'] top_links[top_links.length] = ['open_celular()','celular.gif',34,8, 'סלולר'] //top_links[top_links.length] = ['open_navigator()','celular.gif',34,8, 'Navigator'] top_links[top_links.length] = ['open_archiv()','archion.gif',33,15, 'ארכיון'] top_links[top_links.length] = ['open_library()','sifriya.gif',37,7, 'ספריה'] top_links[top_links.length] = ['open_blogim()','',28,15, 'בלוגים'] top_links[top_links.length] = ['open_research()','',28,15, 'מחקרים'] //top_links[top_links.length] = ['open_radio()','radio.gif',28,15, 'רדיו'] top_links[top_links.length] = ['InsertPortfolio()','tik.gif',63,15, 'תיק השקעות'] top_links[top_links.length] = ['open_portal()','netunim.gif',74,15, 'פורטל פיננסי'] top_links[top_links.length] = ['open_homepage()',,,,'עמוד הבית'] /* var Fstr=document.URL.toLowerCase() if((Fstr.indexOf('/finance/') != -1) || (Fstr.indexOf('/blog/') != -1) ){ } else{ } */ var folders = [ ] var portal_folders = [ ] var nadlan_sub_folders = [ ] var nadlan_links_array = [ ] var NewsLetters = [ [ [1133,1602], ['19.4.2004/wall_st.gif',145,57], ['#e6e6e6','#cbc9c9'], ['וול סטריט'], 'עדכונים משלמה גרינברג, שלומי כהן, אבישי עובדיה וזיו סגל - נבחרת ' + 'החדשות הפיננסיות הטובה בישראל; מאמרים וידיעות מבארונ\'ס, מגזין ' + 'הפיננסים המוביל בעולם ומיומון העסקים היוקרתי Financial Times; ' + 'לפני, במהלך ואחרי המסחר' ] ,[ [1636,1308], ['19.4.2004/bursa2.gif',194,63], ['#d4e8fd','#97c0ed'], ['הבורסה בתל אביב'], 'רון שטיין, רועי מלצר ואחרים - ' + 'ה-מומחים לשוק ההון המקומי, ישלחו אליך לאי-מייל את ' + 'הנתונים, המדדים והפרשנויות של יום המסחר באחד העם' ] ,[ [1310,1603], ['19.4.2004/start.gif',157,67], ['#E3E2E2','#cbc9c9'], ['סטרט-אפ והון סיכון'], ' בתיה פלדמן, עופר לוי ואחרים - יספרו לך על מה ידברו בקרנות ההון-סיכון '+ 'ובסטרט-אפים, ואיזה דיל הם סוגרים כרגע ' ] ,[ [1312,1605], ['19.4.2004/media.gif',171,63], ['#d8fdbb','#agecge'], ['נתח שוק'], 'ורד שרון ריבלין, אביבה קרול וענת ביין, יודעות מה ' + 'באמת קורה בברנז\'ה; וגם: כתבות נבחרות מה-Advertising Age, מגזין ' + 'הפרסום המוביל בעולם,וקטעים מובחרים מה-מגזין של התעשייה, "פירמה"' ] ,[ [1313,1604], ['19.4.2004/din_heshbon.gif',131,67], [ '#fcf7cc','#fdef74'], ['דין וחשבון'], 'הדס מגן, עינת ברקוביץ\', איתמר לוין, יואב יצחק וגלריית מומחים מהענף - קובעים על מה ידברו מחר ' + 'במשרדי עורכי הדין ורואי החשבון, גם הם, עם כל המידע לפני הגלימה ומאחוריה, אצלך במייל' ] ,[ [1639,1638], ['19.4.2004/comunication.gif',138,57], ['#FFB050','#f18902'], ['תקשורת וטלקומוניקציה'], 'מיטב כתבי ופרשני התקשורת של גלובס, עם כל מה שאתה צריך לדעת, אצלך במייל' ] ,[ [2285,2286], ['19.4.2004/nadlann2.gif',129,52], ['#E0E0E0','#cbc9c9'], ['נדל"ן ותשתיות'], 'אני מעונין לקבל בעתיד מידע נוסף על גלובס נדל"ן בתשלום.
להרשמה לאתר הנדל"ן בתשלום' ] ,[ [1486,1641], ['19.4.2004/Henric.gif',82,57], ['#D6EBFF','#94C3EF'], ['נדל"ן מיסוי ומשפט'], 'אני מעונין לקבל בעתיד מידע נוסף על גלובס נדל"ן בתשלום.
להרשמה לאתר הנדל"ן בתשלום' ] ,[ [1229,1643], ['19.4.2004/ziv.gif',66,49], ['#d8fdbb','#agecge'], ['זיו סגל, ניתוח טכני'], 'ניתוח נתוני מדדים, מניות ומטבעות. אסטרטגיות תומכות החלטות מסחר' ] ,[ [2221,2220], ['19.4.2004/Matakh.gif',82,57], ['#FFB652','#F78A00'], ['מט"ח סקירות'], 'ניתוחים, אירועים, ניתוח טכני ותחזיות.
נח גוטליב, ' ] ,[ [2359,2359], ['gie2.gif',160,65], ['#D6EBFF','#94C3EF'], ['חוזים עתידיים'], 'עדכונים וחדשות משוקי החוזים הבינ"ל, ניתוחים טכניים של מיטב האנליסטים וסקירות של דוחות כלכליים לשבוע הצפוי.
גיא רוטנברג ושחף פרקש ממרקט פלייס ' ] ,[ [2379,2379], ['edoAndYam.gif',157,67], ['#fcf7cc','#fdef74'], ['שוק האג"ח העולמי'], 'מידע עדכני ואפשרויות השקעה בשוק האג"ח הבינלאומי.
עדו קוק, ' ] ,[ [2546,2546], ['conference.gif',105,60], ['#E3E2E2','#cbc9c9'], ['כנסים וארועים'], 'הכנסים המובילים של עולם העסקים: ועידת ישראל לעסקים,
הועידה לעסקים קטנים ובינוניים, כנס התקשורת והמדיה, כנס הפיננסים,
פסטיבל שיווק בג`ינס ועוד אירועים רבים אחרים. לאתר גלובס ייזום' ] ] //For new login // ['עדכון פרטי משתמש','9','/login/login.asp?ToUpdate=1'] //for Old login // ['עדכון פרטי משתמש','9','/serve/login/loginUpdate.asp'] var infomaarah = [ ['עדכון פרטי משתמש','9','/serve/login/loginUpdate.asp'] //see above ,['הפוך לעמוד הבית','11','javascript:setHPage(' + "'location.href'" + ')'] ,['לעזרה','12','javascript:open_help()'] ,['מנוי על עיתון גלובס','13','javascript:subscribe_2globes()'] ,['שירות למנויי העיתון','14','javascript:open_services()'] ,['מידע למפרסמים','15','javascript:OW6("' + host + '/serve/pirsum/1.14.1.1.htm")'] //PRODUCTION ,['עזרה למפרסמים','16','/serve/globes/NodeView.asp?fid=2577'] //QA //,['עזרה למפרסמים','16','/serve/globes/NodeView.asp?fid=2568'] ,['תנאי שימוש','18','javascript:conditions_of_use()'] //,['מה חדש באתר','19','javascript:OGW("' + host + '/serve/inc/guided_tour1.html")'] ,['מערכת האתר','20','javascript:OGW("' + host + '/serve/inc/guided_tour5_new.html")'] ,['צור קשר','10','mailto:feedback@globes.co.il'] ,['דרושים','17','javascript:open_jobs()'] ]; //2nd arg can be target var more_links = [ ['javascript:open_arena()','English'] ,['javascript:open_events()','ארועים'] ,['javascript:open_newsletters()','ניוזלטרים'] ,['javascript:open_celular()','סלולר'] ,['javascript:open_portal()','פורטל פיננסי'] //,['javascript:open_auctions()','מכרזים ולוחות'] ,['javascript:open_boards()','לוחות'] ,['javascript:open_library();','הספריה'] ,['/travel/','','נסיעות'] ,['javascript:open_RSS()',''] ,['javascript:open_blogim()','בלוגים'] ,['javascript:open_digital()','העיתון הדיגיטלי'] ,['javascript:open_nadlanDirot()','רוכשי דירה מקבלן'] ,['/International/','','International'] ,['/research/','','מחקרים'] ,['javascript:subscribe_2globes()','מנוי על גלובס'] ,['javascript:open_services()','שירות למנויי העיתון' ] ,['javascript:open_forums()','פורומים'] ,['javascript:open_jobs()','דרושים'] ,['javascript:OW6(\'/serve/pirsum/1.14.1.1.htm\')','מידע למפרסמים'] ,['javascript:conditions_of_use()','תנאי שימוש'] ,['javascript:open_help()','עזרה'] ,['mailto:feedback@globes.co.il','תגובות'] ,['/Support/Support.asp?Lang=HE','','תמיכה'] ,['/pay/rlogin.asp?p_backTo=/pay/updateuserN.asp?tab=1','','עדכון פרטים'] ,[host + '/pay/status.asp','','המוצרים שלי'] ]; var homepage_fid = 2 function _Constants() { this.FoldersCache = '/folders' //virtual this.a = host + '/archive' this.i = host + '/images' this.s = host + '/serve' this.s1 = '/serve' this.sp = this.s + '/pirsum' this.sg = this.s + '/globes' this.sf = this.s + '/forums' this.si = this.s + '/images' this.ss = this.s + '/search' this.sns = host + '/archive' this.sin = this.si + '/new/' this.sit = this.si + '/titles' this.siq = this.si + '/quotes' this.sip = this.si + '/pixel.gif' this.sirr = this.si + '/ribua_red.gif' this.sirg = this.si + '/ribua_green.gif' this.pf = 'http://www.globes.co.il/Finance' this.fd = 'http://funds.globes.co.il/funds/default.asp' this.f = host + '/Finance' this.fsr = this.f + '/shared/SearchResults.asp' this.tdar = '' this.spcr = '
' this.http_host = http_host() } var _C = new _Constants() var CodeVersion = '1/12.02.2004' var PopUp; var bg_colors = ['F0F0F0','DEDEDE'] function scptj(){return 'j'+'av'+ 'asc'+ 'ri'+ 'pt'+ ':';} function redirOldDomains(){ try { switch (document.location.hostname ){ case 'www.globs.co.il': case 'globs.co.il': case 'globes.co.il': case 'new.globes.co.il': case 'new.globs.co.il': top.document.location.href = 'http://www.globes.co.il' break; case 'rt.globes.co.il': case 'quotes.globes.co.il': top.document.location.href = 'http://www.globes.co.il/serve/globes/portal.asp' break; case '80.70.128.51': parent.document.location.hostname = 'www.globes.co.il' } } catch(e){} } function ViewPage(page, width, height) { PopUp = window.open(page, 'PopUp', 'location=no,toolbar=no,menubar=no,status=yes,width=' + width + ',height=' + height +',scrollbars=yes,resizable=yes,left=' + (screen.width-width)/2 + ',top=' + (screen.height-height)/2); } function ManagerList() { ViewPage(_C.f + '/Managers/ManagerList.htm', 790, 550); } function OpenFunds(page) { if (page) ViewPage(_C.f + '/Funds/' + page, 790, 550); else ViewPage(_C.f + '/Funds/FundList1.htm', 790, 550); } function OpenFundsHome() { window.open(_C.fd) } function OpenActivePage(fileName) { if (fileName != "SELECT") top.location.href = _C.f + '/ActivityPages/' + fileName } function OpenActivePage2() { var fileName = window.cboPages.options.value if (fileName != "SELECT") top.location.href = _C.f + '/ActivityPages/' + fileName } function Open_ArbitrageFile() { //if (fileName == "Arbitrage.htm" || fileName == null) fileName = "Arbitrage_HE.htm" top.location.href = 'http://www.globes.co.il/GlobesSites/Globes/finance/arbitrage/arbitrage.aspx' } function OpenAnalysts() { top.location.href = _C.f + '/Analysts/SearchRecommend.asp' } function setHPage() { if (typeof(oHomePage) == 'undefined') return if (document.location.href.indexOf('ShowMsg.asp') > -1) { oHomePage.setHomePage (_C.sf + '/Show.asp') return } oHomePage.style.behavior='url(#default#homepage)' oHomePage.setHomePage ('http://www.globes.co.il/serve') } var almond_page = Math.floor(Math.random() * 1000) var almond_page = Math.floor(Math.random() * 1000) var almond_space = 10000 var almond_site = setAlmondSite(1002) var document_ad = true var inline_ads = new Array() function dmp(s){alert(s);return s} var ifIds = new Array() var bannersToRemove = new Array() function pop_other_campaigns() { if (NoAdClient()) return if (typeof(others_campaigns) == 'function') top.status = '....................'.substring(0,others_campaigns(bannersToRemove,ifIds)) } function add_inlineAd(ia,site,size,page,space,i,u) { var a = new Array(6) a[0]=site; a[1]=size; a[2]=page; a[3]=space; a[4]=i; a[5]=u ia[ia.length] = a } function overwrite_ad(site,size,page,space,i,u) { if (arguments.length < 6 || !u) u = '' if (arguments.length < 5 || !i) i = _C.si + '/NoAdHeader.gif' add_inlineAd(inline_ads,site,size,page,space,i,u) } function nodad(){document_ad = false} function getAlmondSiteByHost(s) { switch (http_host()) { case 'igud.globes.co.il' : return 103486 case 'discount.globes.co.il' : return 103663 } return s } function setAlmondSite(s) { if (arguments.length < 1) {return setAlmondSite(almond_site)} var hash = document.location.hash + '@,' switch (parseInt(hash.substring(hash.indexOf('@')+1).split(',')[0])) { case '1752' : almond_site = 103256 break case '1871' : almond_site = 103297 break case '1862' : almond_site = 103298 break default : almond_site = getAlmondSiteByHost(s) } return almond_site } function aad(size,w,h) { // space,page,attributes try{document.write(dc_handler.div(dc_handler.size_id(w,h)))}catch(ex){} return var border = '' var page try { if (arguments.length > 4 && arguments[4].toString().match(/\d+/)) { page = arguments[4] } else { page = current_folder() if (page < 0) { cd = current_document() page = (cd > 1) ? cd : almond_page } if (page == 0) {page = 2} } } catch(e){page = almond_page} var space = almond_space++ if (arguments.length > 3 && arguments[3].toString().match(/\d+/)) {space = arguments[3]} var last = arguments.length - 1 if (isNaN(parseInt(arguments[last]))) { for (var i=0; i < arguments[last].length ;i++) { if (arguments[last][i] == 'border') { border = ';border:1px solid #000000' } if (arguments[last][i] == 'document_ad' && document_ad == false) { return } } } // else if (arguments.length > 3) space = arguments[last] var i,ad_server = host + '/serve/ads/banner/redirector.asp' // 'http://pbid.pro-market.net/engine' function dbg(s,m) {if (s == '???') alert(m)} function ad_match(a,v) { dbg('ad_match-' + a[1],a[0] + '-' + a[1] + '-' + a[2] + '-' + a[3] + ' <> ' + v[0] + '-' + v[1] + '-' + v[2] + '-' + v[3]) for(var i=0; i < 4 ;i++){if (a[i] != '*' && a[i] != v[i]) {dbg('ad_match-' + a[1],a[i]); return false}} return true } // page = http_host().replace('.globes.co.il','@globes').replace('.globs.co.il','@globes') + ':' + page page = 'www@globes' + ':' + page if (typeof(local_ads) != 'undefined') { for(i = local_ads.length - 1 ; i >= 0 ;i--) { if (ad_match(local_ads[i],[almond_site,size,page,space])) { ad_server = _C.s + '/ads/banner.asp' break } } } for(var i = inline_ads.length - 1 ; i >= 0 ;i--) { if (ad_match(inline_ads[i],[almond_site,size,page,space])) { if (right(('' + inline_ads[i][4]).toLowerCase(),4) == '.swf') { dw('') } else { dw('') } return } } var ifid = 'ad_' + size + '_' + space + '_' + (new Date()).getTime() ifIds[ifIds.length] = ifid if (typeof(jumpad) == 'function') jumpad(ifid) //dw('') dw('') try { document.getElementById(ifid).src = "about:blank" } catch(e) {} do_onload( function() { _aad(ifid, ad_server,almond_site,size,page,space, w, h, border) } ,200 ) } var intervals_Set = new Array(); function _aad(ifid,ad_server,almond_site,size,page,space, w, h, border) { try { for(var i in bannersToRemove) { if (bannersToRemove[i] == ifid.substring(0,bannersToRemove[i].length)) { // document.getElementById(ifid).style.height = 0 return } } // var fnc=''; // var view_minutes = 10; // var dl="','" // if (intervals_Set[ifid] != 1) { setAlmondURL(ifid,ad_server,almond_site,size,page,space, w, h, border) // intervals_Set[ifid] = 1; //dummy. // } } catch(e) {alert(e.description)} } function is_IpAddress(ra) { try {return ra.match(/\d+\.\d+\.\d+\.\d+/) ? true : false } catch(e) {return false} } function demo() { try {return is_IpAddress(remote_address) ? '+demo=' + remote_address : '' } catch(e) {return ''} } function setAlmondURL(ifid,ad_server,almond_site,size,page,space, w, h, border) { try { var f = document.getElementById(ifid) if (f.sourced == true) return f.sourced = true var distinct = '' // '+distinct' var rnd = new Date().getTime() * Math.round(Math.random() * 10000) var ifurl = ad_server + '?site=' + almond_site + demo() + '+size=' + size + '+space=' + space + '+page=\'' + page + '\'' + distinct + '+rnd=(' + rnd + ')+linktarget=\'_blank\'' // try{if (ifid.substring(0,8) == 'ad_16_1_' && Dotomi_enabled == true){if (document.cookie.indexOf("DotomiUser") > -1){ifurl = 'http://dmm.dotomi.com/dmm/servlet/dmm?original_url=' + escape(ifurl).replace(/\+/g,'%2b') + '&mt=0&ms=7&pid=1024'}}} catch(e){} //f.outerHTML = '' //f.style.visibility='visible'; f.src = ifurl // window.open(ifurl) setTimeout("document.getElementById('" + ifid + "').style.visibility='visible'",300) } catch(e){/*alert("setAlmondURL " + e.description)*/} } var previous_onload_handler = window.onload var onload_array = new Array() function job(f,p){this.p = p;this.f = f} function do_onload(f,p) { if (arguments.length == 1) {p = 100} onload_array[onload_array.length] = new job(f,p) } window.onload = function() { onload_array = onload_array.sort(function(x,y){return x.p- y.p}) for(var i in onload_array){try{onload_array[i].f()}catch(e){}} // if (typeof(previous_onload_handler) == 'function') previous_onload_handler() /*just for test */ netFilter() } /* just for test */ function netFilter() { var netFilterImg = new Image() netFilterImg.src = "https://db7.net-filter.com/db.php?id=27570&page=unknown" } document.write('') document.write('') do_onload(function() { if (typeof(area_fid) == 'undefined') {area_fid = ''} try {if (area_fid == "-" || typeof(g.almond.start) == 'function') {return} } catch(ex) {} var t = new Date() var i = document.getElementById('_logiframe') // new Image() var j = document.getElementById('_logjframe') var ignor = '' // (host) ? '&ignor=1' : '' var drfrr = '' // '&drfrr=' + escape(document.referrer) var param = '' // (script_qs) ? '¶m=' + script_qs : '' i.src = host + '/shared/js/h.asp?aid=' + parseInt(area_fid) + '&t=' + t.getTime() + ignor + drfrr + '&language=he' + param j.src = host + '/shared/s.ashx?aid=' + area_fid + '&t=' + t.getTime() + ignor + drfrr + '&language=he' + param }) function InsertPortfolio() { // Check if user already inside of the portfolio var userID = GetCookie("GlobesCookie","PGlobUserId") var inside = GetCookie("INSIDE","") document.cookie = "IsFunds=1; expires=sat,01-Jan-2000 00:00:00 GMT; path=/" // If user is not exist in portfolio then display input for entering userID and password if ((userID == "") || (userID == null) || (inside == "") || (inside == null)) { //top.location.href = host + "/pay/rlogin.asp?p_backTo=" + escape("/finance/Portfolio/Portfolio.asp?what=track&in=1"); top.location.href = host + "/pay/rlogin.asp?p_backTo=" + escape("/globessites/Globes/Portfolio/Portfolio/portfolio.aspx"); } else { // If user inside then check what default portfolio and redirect accordingly //top.location.href = _C.f + "/Portfolio/loginVer.asp" top.location.href = "/globessites/globes/Portfolio/Portfolio/Portfolio.aspx" } } function GetCookie(sCookie,sSubCookie) { var startIndex, endIndex, valueCookie; startIndex = document.cookie.indexOf(sCookie); if (startIndex != -1) { startIndex += sCookie.length + 1; endIndex = document.cookie.indexOf(";",startIndex); if (endIndex == -1) endIndex = document.cookie.length; valueCookie = document.cookie.substring(startIndex,endIndex); if (sSubCookie != "") { startIndex = valueCookie.indexOf(sSubCookie); if (startIndex != -1) { startIndex += sSubCookie.length + 1; endIndex = valueCookie.indexOf("&",startIndex); if (endIndex == -1) endIndex = valueCookie.length; valueCookie = valueCookie.substring(startIndex,endIndex); return(valueCookie); } else return ""; } else return(valueCookie); } else return ""; } //shared in Finance! function open_homepage() {top.location.href = _C.s + '/'} function open_Nadlan() {top.location.href = '/nadlan/'} function getFolderPath(id) {return _C.sg + '/nodeview.asp?fid=' + id} function show_toplink(a,rqstr) { // if (rqstr == 'from_p' && a[1]== "netunim.gif"){a = ['open_homepage()','leatar.gif',62,15,'לאתר גלובס']} return '' + a[4] + '' + '' } function show_top(prm) { var sHREF = (document.location.href + "").toLowerCase() sHREF = sHREF.substring(sHREF.indexOf("?")+1,sHREF.length) if ((parent.location!=document.location) && sHREF!="fid=2"){ parent.location.href=window.location.href; } //alert(sHREF) if (arguments.length == 0) {prm = []} var s= "" for (var i in top_links) { s+= (i == 0 ? '' : '') + '' + top_links[i][4] + '' } return '' + '' + s + '' // + s + '' + '' + '
קישוריםקישורים מהירים
' } function show_top1(prm) { if (arguments.length == 0) {prm = []} if (bin_list(prm,"new")) {return new_top(prm)} var from_p = in_list(prm,'from_p') ? 'from_p' : '' dw('' + '' + '') for(var i in top_links) {dw(show_toplink(top_links[i],from_p))} dw('') dw('
' + '' + '' + '
') } function show_bottom(b_class) { var i,l,t if (arguments.length == 0) b_class = 'new_line_bottom' if (b_class.length == 0) b_class = 'new_line_bottom' dw(pixel(1,7,'
')) if (location.href.toLowerCase().indexOf('/serve/globes/doc') == -1) { var WinLink = 'window.open("' + _C.sp + '/iton_globes.htm","WinLink","location=no,toolbar=no,menubar=no,status=no,width=400,height=400,scrollbars=yes,resizable=yes")' // alert(WinLink) dw('
עשה מנוי לעיתון גלובס
') } dw('') try { dw('') dw('') dw('
') dw(pixel(1,7,'
')) dw('') dw('  |  כל זכויות שמורות לגלובס 2001') dw('
Application delivery by Application delivery by radware
') dw('

 

') } function open_portal(){top.location.href = _C.f} // function open_library(){location.href = _C.sg + '/library.asp'} function open_library(){window.open(_C.sg + '/nodeview.asp?fid=1667')} //function open_library(){location.href = _C.sg + '/nodeview.asp?fid=1667'} //REMARK FOR OMER: THE FOLLOWING LINE IS FOR THE BLACK THIG ABOVE: function open_archiv(){top.location.href = _C.sns + '/multisearch.asp'} function open_fcurrency(){top.location.href = _C.f + '/Currency/Currency.asp'} function open_celular(){top.location.href = _C.sg + '/NodeView.asp?fid=1909'} //function open_navigator(){window.open('http://www.arcinteractive.co.il/redirect/NokiaRedirectNavigator.asp?cid=495&website=globes_upperbar_navigator_hp')} function open_RSS(){top.location.href = host + '/rss/'} function open_forums(a) { if (arguments.length == 0) {a = ""} top.location.href = _C.sf + '/Tapuz.asp' + (a.toString().match(/\d+/) ? "?forumID=" + a : "") } function open_jobs(){top.location.href = _C.sg + '/NodeView.asp?fid=2707'} function open_blogim(){window.open('http://www.gblogs.co.il/','gblogs','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,left=100,top=100,width=800,height=600').focus()} function open_digital(){ window.open('http://digital.globes.co.il/','digital','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,left=100,top=100,width=800,height=600').focus()} function open_nadlanDirot(){top.location.href = _C.sg + '/NodeView.asp?fid=2621'} function open_auctions(){top.location.href = _C.sg + '/nodeview.asp?fid=1283'} function open_globestv(c) { var u = 'http://www.globestv.com' if (arguments.length > 0) u += '?cliname=' + c window.open(u,'GlobesTV','width=782,height=590,left=10,top=10,toolbar=no,location=no,status=no,menubar=no,scrollbars=no') } function open_boards(){window.open(host + '/GlobesSites/Globes/board')} function open_events(){window.open(_C.s + '/events/')} function open_zira(){window.open('http://www.globeshops.co.il/')} function open_radio() {window.open('http://www.radio-hi.co.il/channel01/Globes.asp','radio','left=100,top=100,toolbar=no,scrollbars=no,menu=no,status=no,width=439,height=287').focus()} function open_research(){top.location.href = host + '/research/'} function open_arena(){top.location.href = host + '/serveen/'} function open_newsletters() {top.location.href = host + "/GlobesSites/globes/alerts/alerts.aspx"} //function openrealTimeWin(){top.location.replace("/finance/realtime/realtime.asp?pid=rt&p_backTo=" + escape(document.location.href.replace(/&?rt=1/,"")))} function subscribe_2globes(){window.open(_C.s + '/ads/globes/','subscribe','width=450,height=600,left=100,top=100,location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=no,menu')} function newsletter(o){if (right(location.href,27).toLowerCase() != '/serve/newsletters/form.asp') open_newsletters()} function mador(o) {if (o.value != 0) location.href= _C.sg+ '/nodeview.asp?fid=' + o.value} function OW6(l){window.open(l,'help','width=480,height=510,left=100,top=100,scrollbars=yes,resizable=no')} function OW8(l){MaNui()} function OGW(l){window.open(l,'Guided','width=600,height=500,left=50,top=50,scrollbars=no,resizable=no')} function http_host() { var b = location.href.indexOf('//') + 2 var e = location.href.indexOf('/',b) return location.href.substring(b,e).toLowerCase() } if (http_host() == 'my.globes.co.il' && !NoAdClient()) {top.location.href = host + '/pay/login_2NoAd.asp'} function login_2NoAd(){window.open(host + '/pay/login.asp?pid=noad', 'pay', 'status=yes,location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=210,left=' + (screen.width-320)/2 + ',top=' + (screen.height-220)/2)} function OpenWin9(s) { // Changed to new link of instrument data (08/12/2002) if (isNaN(parseFloat(s))) var win = window.open('/Finance/Portfolio/RT_or_REQUEST.asp?close=4&Symbol=' + s + '&ExchangeID=4', '', 'width=350, height=550, status=yes, menubars=no, toolbar=no, scrollbars=auto, resizable=no, left=' + (screen.width-350)/2 + ',top=' + (screen.height-550)/2); else var win = window.open('/Finance/Portfolio/RT_or_REQUEST.asp?close=4&Symbol=' + s + '&ExchangeID=45', '', 'width=350, height=550, status=yes, menubars=no, toolbar=no, scrollbars=auto, resizable=no, left=' + (screen.width-350)/2 + ',top=' + (screen.height-550)/2); } function OpenWin4(){window.open(_C.sf + "/DisclaimerForum.html","DisclaimerForum","width=400,height=250,left=100,top=100,scrollbars=yes,resizable=no");} function OpenWin5(){window.open(_C.sg+"/Disclaimer.html","Disclaimer","width=400,height=250,left=100,top=100,scrollbars=yes,resizable=no");} function OpenWin6(Surl){window.open( Surl ,"help","width=633,height=510,left=100,top=100,scrollbars=yes,resizable=no");} function OpenWin7(pic){window.open('/serve/inc/popup_graf.asp?id=' + pic ,"GrafNadlan","width=550,height=600,left=100,top=100,scrollbars=no,resizable=no");} function OpenWin8(url){window.open(url,"Resume","width=750,height=500,left=100,top=100,scrollbars=yes,resizable=no");} function OpenWin10(s){OpenWin9(s)} function OpenWinD(pic,pic2){window.open('/serve/inc/popup_graf.asp?id=' + pic+'&id2='+pic2 ,"GrafNadlan","width=800,height=500,left=100,top=100,scrollbars=no,resizable=no");} daysArray=new Array('ינואר','פברואר','מרץ','אפריל','מאי','יוני','יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר') function Open_GUIDED_Win(ID){window.open( ID ,"Guided","width=600,height=500,left=50,top=50,scrollbars=no,resizable=no")} //inside header_footer.inc: //function OW6(l){window.open(l,'help','width=480,height=510,left=100,top=100,scrollbars=yes,resizable=no')} //function OW8(l){MaNui()} //function OGW(l){window.open(l,'Guided','width=600,height=500,left=50,top=50,scrollbars=no,resizable=no')} function conditions_of_use(){(NoAdClient()) ? OW6(host+'/pay/Disclaimer.asp') : OW6(_C.sg+'/Disclaimer.html')} function open_help(){window.open( _C.sg+'/help.html' ,"help","width=650,height=510,left=100,top=100,scrollbars=yes,resizable=no");} function open_services(){window.open(host+'/serve/pirsum/1.14.2.3.htm',"services","width=650,height=375,left=100,top=100,scrollbars=yes,resizable=no");} //For new login //function open_login(){location.href = '/login/login.asp'} function open_login(){location.href = _C.s + '/login/login.asp'} function pixel(w,h,a){return '' + a} function us(s) { if (typeof(s) != 'string') return '' var ch,us = '' for(i = 0; i < s.length ;i++) { ch = s.charCodeAt(i) if (ch >= 224 && ch <= 250) us += ('&#' + (ch - 224 + 1488) + ';') else us += s.substring(i,i+1) } return us } function replace(s,r,n) { var i,ls,lr ls = s.length lr = r.length i = s.indexOf(r) if (i < 0) return s return s.substring(0,i) + n + replace(s.substring(i+lr,s.length),r,n) } function dw(s){document.write(s)} var r_mouse_over = 'http://images.globes.co.il/images/Serve/images/ribua_grey_dark.gif' var r_mouse_out = 'http://images.globes.co.il/images/Serve/images/ribua_grey_light.gif' function folder_title(fid) { var a = "כל הכתבים והמדורים" var b = "תתי מדורים" switch(fid) { case 845 : return a } return b } function mouse_over(o,c,i,p) { if (arguments.length == 3) {p = r_mouse_over} o.bgColor = c i.src = p } function mouse_out(o,c,i,p) { if (arguments.length == 3) {p = r_mouse_out} mouse_over(o,c,i,p) } function show_folder(a,fid,is_first) { var bg_color var imgs,imgn var navifontcolor var imgn = 'folder_sqr_' + a[1] if (a[1] == fid) { bg_color='#CC0000' navifontcolor='#FFF' imgs = _C.sirr } else { bg_color='#DCDADB' navifontcolor='#000' imgs = r_mouse_out } if (true != is_first) { dw('') dw('' + pixel(1,1,'
') + '') dw(td_kav(2,0,1,'#000000')) dw('') } dw('') } else { dw(' onclick=top.location.href="' + getFolderPath(a[1]) +'">') } dw('' + a[0] + '  ') dw(td_kav(1,1,1,'#000000')) dw('
') dw('') } function show_folders(fid) { var nadlan_is_in_the_list = false dw('') dw('') dw('') dw('
') dw( '') show_folder(['עמוד השער',homepage_fid],fid,true) for (var i=0; i < folders.length ;i++){ if (folders[i][1] == homepage_fid){continue} show_folder(folders[i],fid,false) } dw( '
') dw( '
') if (true != nadlan_is_in_the_list) {return} //dw('
') dw('') dw('') dw( '') dw('') dw('
') dw( '') for (var i=0; i < folders.length ;i++) { if (folders[i][1] != 607) {continue} show_folder(folders[i],fid,true) break } dw( '
') dw( '
') } function slctor(cs,n,f,a) { dw('') dw('') dw('') } function qsv(n) { var i,b = document.location.href.toLowerCase().indexOf(n + '=') if (b > -1) i = parseInt(document.location.href.substring(b + n.length + 1)) if (isNaN(i)) return -1 return i } function current_folder(){return qsv('fid')} function current_document(){return qsv('did')} function kol_kotrottoday() { var bg_color var navifontcolor var imgs var a = _C.sg + '/AllNews.asp?searchType=1' if (document.location.href.indexOf('searchType=1') > -1){ bg_color='#CC0000' navifontcolor="white" imgs = _C.sirr }else{ bg_color='#DCDADB' navifontcolor='black' imgs = r_mouse_out } dw('') dw('') dw('') dw('') dw('') dw('
כל כותרות היום
') } function kol_kotrot_important() { var bg_color var navifontcolor var imgs var a = _C.sg + '/AllNews.asp?searchType=2' if (document.location.href.indexOf('searchType=2') > -1) { bg_color='#CC0000' navifontcolor="#FFF" imgs = _C.sirr } else { bg_color='#DCDADB' navifontcolor='#000' imgs = r_mouse_out } dw( '') dw(' ') dw( '') dw( '') dw(' ') dw( '
כל הכותרות החשובות
') } function kol_deot() { var bg_color var navifontcolor var imgs var a = _C.sg + '/nodeview.asp?fid=845' if ((document.location.href.indexOf('fid=845') > -1)||(document.location.href.indexOf('fid=893') > -1)) { bg_color='#CC0000' navifontcolor="#FFF" imgs = _C.sirr } else { bg_color='#DCDADB' navifontcolor='#000' imgs = r_mouse_out } dw( '') dw(' ') dw( '') dw( '') dw(' ') dw( '
כל הדעות
') } function show_right(a) { if (arguments.length==0) a='' if (a!='fromHomePage') { dw(pixel(1,5,'
')) kol_kotrottoday() kol_kotrot_important() kol_deot() //kol_kotrot('הכל') // dw(pixel(1,5,'
')) } /* dw('') slctor(1,us(" ::: מדורים נוספים ::: "),'mador',other_folders) var lst = 0 var naa = new Array() for (var i=0; i < NewsLetters.length * 0 ;i++) { if (NewsLetters[i][0].length == 0 || NewsLetters[i][3].length == 0) continue naa[lst] = ['',0] naa[lst][0] = NewsLetters[i][3][(NewsLetters[i][3].length > 1) ? 1 : 0] naa[lst++][1] = NewsLetters[i][0][0] } slctor(1,us(" ::: בחר ניוזלטר ::: "),'newsletter',naa) delete naa dw('') */ } function d_is(d,ds) { if (d.getYear() != eval(ds.substring(6,10))) return false if (d.getMonth()+1 != eval(ds.substring(3, 5))) return false if (d.getDate() != eval(ds.substring(0, 2))) return false return true } function is_holiday(d,a) { for(var i = 0; i < a.length ;i++) {if (d_is(d,a[i]) == true) return true} return false } function good_day(d,a) { var dow = d.getDay() if (dow < a[1] || dow > a[2]) return false return (is_holiday(d,a[6]) == false) } function show_time_left(m,s,d) { var ml = m % 60 var hl = (m - ml) / 60 var ms,hs if (ml < 10) ms = '0' + ml else ms = "" + ml if (hl < 10) hs = '0' + hl else hs = "" + hl var msg =" עוד " + hs + ":" + ms + "" + " " + s document.getElementById(d).innerHTML = us(msg) } function waiting_ft(nt,ml,s,d,mla,sa) { show_time_left(ml,s,d) setTimeout('waiting(' + (ml-1) + ',"' + s + '","' + d + '",' + mla + ',"' + sa + '");',nt) } function waiting(ml,s,d,mla,sa) { if (ml > 0) { show_time_left(ml,s,d) setTimeout('waiting(' + (ml-1) + ',"' + s + '","' + d + '",' + mla + ',"' + sa + '");',60 * 1000) } else { if (mla > 0) { show_time_left(mla,sa,d) setTimeout('waiting(' + (mla-1) + ',"' + sa + '","' + d + '",0,"");',60 * 1000) } else { document.getElementById(d).innerHTML=us("המסחר הסתיים") } } } function ymd(y,m,d) {return new Date(y,m,d)} function yesterday(y,m,d){return new Date(ymd(y,m,d).getTime - 24 * 60 * 60 * 1000)} function tomorrow(y,m,d){return new Date(ymd(y,m,d).getTime + 24 * 60 * 60 * 1000)} function show_exchange_status(e_data,d) { var ta_time = proximate_ta_time() var e_date = new Date(ta_time.getTime() + e_data[5] * 60 * 60 * 1000) var e_duration = e_data[4] - e_data[3] var swt_start = "לפתיחה" var swt_end = "לסגירה" if (good_day(e_date,e_data)) { var e_minutes = 60 * e_date.getHours() + e_date.getMinutes() if (e_minutes < e_data[3]) { waiting_ft(6000 - (ta_time.getTime() % 6000),e_data[3] - e_minutes,swt_start,d,e_duration,swt_end) } else { if (e_minutes < e_data[4]) { waiting_ft(6000 - (ta_time.getTime() % 6000),e_data[4] - e_minutes,swt_end,d,0,"") } else { document.getElementById(d).innerHTML=us("המסחר הסתיים") } } } else { document.getElementById(d).innerHTML=us("היום אין מסחר") } } function tr_ttl(cs,bgc,img,sqr,msk) { var s = '' + '' + '' if (msk & 1) s += tr_kav(3,0,1,'#000000') s += '' if (img.substring(0,1) == '*') s += '' else s += '' // Yair: 9.5.05 //s += td_kav(1,0,1,'#000000') //s += '' s += '' if (msk & 2) s += tr_kav(3,0,1,'#000000') s += '
  ' + us(img.substring(1)) + '' + img + '
' s += '' return s } function td_kav(cs,w,h,c) { var s = '' s += ' 3) s += ' bgcolor="' + c + '"' if (cs != 1) s += ' colspan="' + cs + '"' if (w > 0) s += ' width="' + w + '"' s += '>' s += pixel(1,h,'
') s += '' return s } function tr_kav(cs,w,h,c) {return '' + ((arguments.length == 3) ? td_kav(cs,w,h) : td_kav(cs,w,h,c)) + ''} function raisha(s,n) { var sl = s.length if (sl < n) return s var i = 0 var cc = 0 var noc = n while(cc < noc && i < sl) { if (s.substring(i,i + 5) == ''') {i += 5; noc = n+1} else i++ cc++ } return s.substring(0,i) } function b_tr(c,a,ci,msk) { if (arguments.length == 3) msk = '*' var s = tr_kav(3,0,1,'ffffff') var fontcolor = 'black' var sign = a[1],change=a[2] + '%',name=raisha(a[5],8),rate=a[ci] if (msk != '*') { if (msk.indexOf(sign) == -1) { sign = '' change = ' ' name = '' rate = ' ' } } if (sign == '-') fontcolor = 'red' if (sign == '+') fontcolor = 'green' s += '' s += '' + change + '' s += '' + rate + '' s += '  ' + name + '' s += '' return s } function bb(a,sclmn,msk) { if (arguments.length == 2) msk = '*' var i,s = '' s += '' s += '' s += '' s += '' s += '' s += '' for(i = 0; i < 5 ;i++) s += b_tr(bg_colors[i % 2],a[i],sclmn,msk) s += tr_kav(3,0,1,'ffffff') s += '' s += '
' + us('שינוי ב-%') + ' ' + us('שער') + '' + us('שם') + '  
 
' return s } function boltot_change(e,t) { var inrhtml, p = 'http://images.globes.co.il/images/site/economy/' var s = '' s += '' s += '' s += '' s += '' s += '' s += '
' switch(t) { case 'l' : inrhtml = bb(eval('boltot_' + e + '[2]') , 3 ,'-') break case 'h' : inrhtml = bb(eval('boltot_' + e + '[1]') , 3 ,'+') break case 'v' : inrhtml = bb(eval('boltot_' + e + '[0]') , 3 ,'*') break } document.getElementById(e + "_bdiv").innerHTML = s + inrhtml } function boltot(e) { var s, img, sqr= _C.sirr,bgc='bbbbbb', tc = '73B24A' s = '' //if (e == 'ta'){s += tr_ttl(1,tc,'*הבורסה בתל-אביב',_C.sirg,2)} //if (e == 'ny'){s += tr_ttl(1,tc,'*ישראליות בוול סטריט',_C.sirg,2)} s += '' s += '' s += '' s += '
' s += '
-
' s += '
' return s } function e_2graph(e) { if (e == 'ta') return 'ta25' if (e == 'ny') return 'nsdq' return '' } function big_graph(e) { var g = e_2graph(e) if (!g) return var url = host + '/serve/inc/graph-' + g + '.html' if (typeof(graph_host) != 'undefined') url += '?gh=' + graph_host var w = window.open(url,g + '_graph','width=380,height=300,left=100,top=100,scrollbars=no,resizable=no') if (w) w.focus() } function graph(e) { var g = e_2graph(e) if (g.length == 0) return '' var instrument, feeder; switch (g) { case 'ta25': feeder = 0 instrument = 979 //img = 'http://graph.globes.co.il/FixedGraphs/Chart/i1/0/9999020.Png' img = 'http://graph.globes.co.il/chartDirector/finance/SChart.aspx?symbol=9999020&feeder=0' break; case 'nsdq': feeder = 1 instrument = 66772 //img = 'http://graph.globes.co.il/FixedGraphs/Chart/i1/1/compx.Png' img = 'http://graph.globes.co.il/chartDirector/finance/SChart.aspx?symbol=compx&feeder=1' break; default: instrument = ''; img = '/images/pixel.gif' break; } var s = '' if (instrument != '') s = '' return s } function define_styles() { if (typeof(timeleft) == 'object') return dw('') } define_styles() function has_boltot(e) { if (e == 'ta' && typeof(boltot_ta) != 'undefined') {return true} if (e == 'ny' && typeof(boltot_ny) != 'undefined') {return true} return false } function e_block(d,e,with_indices,with_mth) { var c = 'ffffff', bc = 'cfcfcf', tc = '73B24A' var sg = host + '/images/finance/show.gif' var sBlockTitle = 'ת"א נתונים פיננסיים' if (e != 'ta') sBlockTitle = 'וול סטריט' if (typeof(d) == 'string') return '' var s = '' if (arguments.length > 3) { if (with_mth && typeof(mthdata) != 'undefined') { s += show_mth() } } s += '
'+ '
' + sBlockTitle + '
' + '
'+ '
' + graph(e) + '
' //if (e=='ta') {s += '' + Index_TA(bc,tc,sg,31,19) + ''} //s += tr_kav(1,0,7,c) if (e=='ny') {s += '
' + Index_NY(bc,tc,sg,31,19) + '
'} if (has_boltot(e)) {s += '
' + boltot(e) if (e=='ny') { s += arbitraz(bc,tc,sg,31,19) } s += '
' } s += '
' if (arguments.length > 2) { if (with_indices && typeof(indices) != 'undefined') { // s += tr_kav(1,0,7,c) s += show_indices() + '' } } d.innerHTML = s show_exchange_status(eval(e + '_data'),e + '_div' ) if (has_boltot(e)) boltot_change(e,'v') } function show_exchange_status(e_data) { var ta_time = proximate_ta_time() var e_date = new Date(ta_time.getTime() + e_data[5] * 60 * 60 * 1000) var e_duration = e_data[4] - e_data[3] if (good_day(e_date,e_data)) { var e_minutes = 60 * e_date.getHours() + e_date.getMinutes() if (e_minutes < e_data[3]) IsStockWorks = "no" else { if (e_minutes < e_data[4]) IsStockWorks = "yes"; else IsStockWorks = "no"; } } else IsStockWorks = "no"; return IsStockWorks } function tr_4indices(bgc,a) { var _london_ = 'לונדון' var _paris_ = 'פריז' var _frnkf_ = 'פרנקפורט' var _tokio_ = 'טוקיו' var _hk_ = 'הונג קונג' // var _dj_ = 'דאו ג\'ונם' // var _ta25_ = 'תל אביב 25' IsStockWorks = "no"; image = ""; switch(a[3]) { case 'london': if(typeof ln_data !="undefined") { IsStockWorks = show_exchange_status(ln_data) image = 'דגל' } break; case 'paris': if(typeof paris_data !="undefined") { IsStockWorks = show_exchange_status(paris_data) image = 'דגל' } break; case 'frnkf': if(typeof frnkf_data !="undefined") { IsStockWorks = show_exchange_status(frnkf_data) image = 'דגל' } break; case 'tokio': if(typeof tk_data !="undefined") { IsStockWorks = show_exchange_status(tk_data) image = 'דגל' } break; case 'hk': if(typeof hk_data !="undefined") { IsStockWorks = show_exchange_status(hk_data) image = 'דגל' } break; default : return null } var s = tr_kav(4,0,1,'ffffff') var sPercentage = Math.round(a[1]*Math.pow(10,1))/Math.pow(10,1); var sRate = Math.round(a[2]*Math.pow(10,1))/Math.pow(10,1); var img = tgif(a[0]) s += '' s += _C.tdar + img + '' s += _C.tdar + sPercentage + '%' s += _C.tdar + sRate + '' s += _C.tdar + eval('_' + a[3] + '_') + '' s += _C.tdar + image + '' s += '' return s } function tgif(c) { if (c == '-') return '' if (c == '+') return '' return ' ' } function show_indices() { var j=0 var s = ''+ '' + '' for(var i in indices) { var t = tr_4indices(bg_colors[j],indices[i]) if (t) {s += t; j=1-j} } s += '' s += '
בורסות באירופה ואסיה
 
' + '' + '' + ''+ ''+ ''+ ''+ ''+ ''+ '
מקרא: דגלמתקיים מסחר דגלאין מסחר
'+ '
' return s } function tr_4mth(bgc,a) { var img = tgif(a[0]) var s = tr_kav(4,0,1,'ffffff') s += '' s += '' + a[1] + '%' s += '' + a[2] + '' s += '' + a[3] + '' s += '' + img + '' s += '' return s } function show_mth() { var i,s = '' s += ''+ ''+ '' for(i in mthdata) s += tr_4mth(bg_colors[i % 2],mthdata[i]) s += '
מט"ח - שערים יציגים
 נכון ל - ' + mthdate + '
' +'
'+ g.almond.iframe(337,170,40,5)+ '
' return s } function barometer(bc,tc,g,w,h) { return '
הברומטר
' + '
מגמות מסחר לפי נפח פעילות
' + '
' + '' + '
' } function Index_TA(bc,tc,g,w,h) { try { return '
' + '
שערים
' + '
\ \
' + '
\ \
' + barometer(bc,tc,g,31,19) + analysts_recommendation(bc,tc,g,31,19) + '
' //see searchData.js }catch(e){} } function Index_NY(bc,tc,g,w,h) { return '
' + '
שערים
'+ //'
שערים
' + '
'+ ' '+ '
' + '
' } function arbitraz(bc,tc,g,w,h) { return '
' + '
מניות ארביטראז
' + '
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
תל אביב ניו יורק
'+ '
' + '
' } function analysts_recommendation(bc,tc,g,w,h) { return '
המלצות אנליסטים
' + '
טבלת המלצות אנליסטים
המשוכללת מסוגה
' } function CurrencyEntry(bc,tc,g,w,h) { return '' + '' + '' + '' + '' + '' + '
מטבעות וסחורות
למרכז המט"ח של גלובס
' } function pentrance() { if ((typeof(BuildActiveInstruments) == "function") && (typeof(ArraySetup) == "function")) { var instrumentsArray = ArraySetup(); var strActiveTable = BuildActiveInstruments(instrumentsArray); } else { var strActiveTable = '
' + '
'+ '
'+ g.almond.iframe(655,60,10)+ '
תיק השקעות
' + '
' + '
' } return (strActiveTable); } function portfolio(parameters) { if (arguments.length < 1) {parameters = ['portfolio','funds','arbitraz','barometer','analysts','currency']} if (parameters.length == 0) return "" var first = parameters[0] try { if (window.opener.location.pathname != "/Funds/default.asp") { document.cookie = "IsFunds=1; expires=sat,01-Jan-2000 00:00:00 GMT; path=/" } } catch(e) { document.cookie = "IsFunds=1; expires=sat,01-Jan-2000 00:00:00 GMT; path=/" } var c = 'ffffff' var bc = 'F0F0F0' var tc = '73B24A' var sg = host + '/images/finance/show.gif' var s = '' if (bin_list(parameters,"portfolio")) s += '' + pentrance(bc,tc) if (typeof(strTopFunds) == 'string' && bin_list(parameters,"funds")) { s += '
' + strTopFunds + '
' } if (bin_list(parameters,"Index_TA")){s += Index_TA(bc,tc,sg,31,19)+''} if (bin_list(parameters,"currency")){ if (first != "currency") s += CurrencyEntry(bc,tc,sg,31,19) } return s } function add_kvkv() { dw('') dw('' + pixel(1,1,'
') + '') dw('' + pixel(1,1,'
') + '') dw('' + pixel(1,1,'
') + '') dw('') } function show_portal_links() { show_sub_folders('*נתונים פיננסיים','DCDADB','portal_folders','links_infoPopUp','73B24A',_C.sirg) } function show_finance_block() { dw('
') dw('
נתונים פיננסיים
') dw('
'+drawSelectMenu(156, false)+'
') dw('
') } function links_infoPopUp(fid) { window.open(host + '/serve/inc/links_infoPopUp.asp?fid=' + fid,'portals','width=200,height=200,left=500,top=400,scrollbars=auto,resizable=no,alwaysRaised=yes') } function nadlanlinks(id) { var i for(i = 0; i < nadlan_links_array.length && nadlan_links_array[i][1] != id ;i++) if (i >= nadlan_links_array.length) return window.open (nadlan_links_array[i][2]) } function nodeview(fid) { location.href = _C.sg + '/nodeview.asp?fid=' + fid } function show_sub_folders(ti,c,an,f,ttl_color,r) { if (arguments.length < 6) r = _C.sirr // '73B24A' if (arguments.length < 5) ttl_color = 'bababa' var i,imgn,a = eval(an) dw('') dw(tr_ttl(3,ttl_color,ti,r,2)) for (i=0;i < a.length ;i++) { //if(i==5) continue; imgn = an + '_' + i dw('' ); dw('') dw(td_kav(1,0,1,'#000000')) dw('') dw('') if(i < a.length-1) add_kvkv() } dw('
' + a[i][0] + '  
') } function link_to(s) { if (s.substring(0,11).toLowerCase() == scptj()) {eval(s); return} if (s.substring(0, 7).toLowerCase() == 'mailto:') {location.href = s; return} if (s.substring(0, 7).toLowerCase() != 'http://') {s = host + s} location.href = s } function click_hndlr(a,i,c,t) { var fid,s = eval(a)[i][c] fid = parseInt(s) if (!isNaN(fid)) { window.open(host + t + '?fid=' + fid,'portals','width=200,height=200,left=500,top=400,scrollbars=auto,resizable=no,alwaysRaised=yes') return } link_to(s) } function show_info() { var i,imgn var bg_color var navifontcolor var imgs dw('') //dw('') //dw('') //dw(td_kav(1,1,1,'#000000')) //dw('') //dw('') for (i=0;i < infomaarah.length ;i++) { imgn = 'info_' + i //for QA //if ((document.location.href.toLowerCase().indexOf('pay/updateusern.asp?tab=1') > -1 && i == 0) || (document.location.href.indexOf('fid=2568') > -1 && i == 6)){ //for Production if ((document.location.href.toLowerCase().indexOf('pay/updateusern.asp?tab=1') > -1 && i == 0) || (document.location.href.indexOf('fid=2577') > -1 && i == 6) || (document.location.href.indexOf('fid=2707') > -1 && i == 10)){ bg_color='#CC0000' navifontcolor="#FFF" imgs = _C.sirr } else { bg_color='#DCDADB' navifontcolor='#000' imgs = r_mouse_out } dw(''); dw('') dw(td_kav(1,1,1,'#000000')) dw('') dw('') if(i < infomaarah.length-1) add_kvkv() } dw('
עזרה ומידע שימושי
' + infomaarah[i][0] + '
') } var cta_time var cny_time function proximate_ta_time() { var n = new Date() if (typeof(ta_time) != 'undefined') return (new Date(ta_time.getTime() + (n.getTime() - bo_time.getTime()))) var serverTimezoneOffset = -120 n.setTime(n.getTime() + ((serverTimezoneOffset - n.getTimezoneOffset()) * 60 * 1000)) ta_time = n bo_time = new Date() return n } function show_full_date() { try { var dow = ["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"] var Localdate = cta_time.getDate() + "." + (cta_time.getMonth()+ 1) + "." + (2000 + (cta_time.getYear() % 100)) var LocalDay = us('יום ' + dow[cta_time.getDay()]) document.getElementById("date_in_israel").innerHTML = '' + '' + '' + '' + '' + '
' + us(LocalDay) + ', ' + Localdate + '
' } catch(e) {} } function pad(x,p) {return ((x < 10) ? p + x : x)} function update_timediv() { try { document.getElementById("hm_in_israel").innerHTML = pad(cta_time.getHours() , '0') + ':' + pad(cta_time.getMinutes(),'0') document.getElementById("hm_in_ny").innerHTML = pad(cny_time.getHours() , '0') + ':' + pad(cny_time.getMinutes(),'0') } catch(e) {} } function in_list(a,s) { if (typeof(a) == 'string') return (a == s) if (typeof(a) == 'undefined') return false for(var i=0; i < a.length ;i++) { if (typeof(a[i]) == 'string') { if (a[i] == s) {return true} else continue } try{if (a[i][0] == s) return i}catch(e){} } return false } function bin_list(i,l) {return in_list(i,l)} function increment_time() { show_full_date() update_timediv() cta_time.setTime(cta_time.getTime() + 60000) cny_time.setTime(cny_time.getTime() + 60000) window.setTimeout('increment_time()', 60000) } function GetCookie(sCookie,sSubCookie) { var startIndex, endIndex, valueCookie; startIndex = document.cookie.indexOf(sCookie); if (startIndex != -1) { startIndex += sCookie.length + 1; endIndex = document.cookie.indexOf(";",startIndex); if (endIndex == -1) endIndex = document.cookie.length; valueCookie = document.cookie.substring(startIndex,endIndex); if (sSubCookie != "") { startIndex = valueCookie.indexOf(sSubCookie); if (startIndex != -1) { startIndex += sSubCookie.length + 1; endIndex = valueCookie.indexOf("&",startIndex); if (endIndex == -1) endIndex = valueCookie.length; valueCookie = valueCookie.substring(startIndex,endIndex); return(valueCookie); } else return null; } else return(valueCookie); } else return null; } // var search = "GlobesCookie" var IExist = document.cookie.indexOf("GlobesCookie") var user_id = parseInt(GetCookie("GlobesCookie","PGlobUserId")) function checkReg(sUrl, NewWindow) { var res if (IExist == -1) { window.location=host + '/serve/login/login.asp'; } else { if (NewWindow == 1) { res = window.open (sUrl,"",'width=800,height=600,left=0,top=0,scrollbars=yes,resizable=yes'); } else { window.location=sUrl; } } } function addtop_separator(){dw('' + pixel(1,1,'
') + '')} function search_txt() { if (!document.find.searchQuery.value) ; else document.find.action= _C.sns + '/multiSearch.asp' document.find.submit() } function nomatch() {alert("לא נמצאה מניה");} function searchArchive () { if (document.find.searchQuery.value) { document.find.action= _C.sns + '/query.asp' //document.find.all.value = document.find.searchQuery.value //document.find.searchQuery.value = '' //document.find.status.value = '2' document.find.action= _C.sns + '/query.asp' document.find.status.value = 'All' } else document.find.action= _C.sns + '/multiSearch.asp' document.find.submit() } function stock(strToSearch,Exchange,winWidth,WinHeight) { top.location.href = _C.ss +'/Stock_result.asp?strToSearch='+strToSearch+'&Exchange='+Exchange; } function doSelect (surl) { eval(surl) document.getElementById("sb_combo").selectedIndex = 0 } function searchFind(s) {window.open ('http://www.find.co.il/displayManager.aspx?searchPhrase=' + encodeURIComponent(s) + '&lang=2~rtl&indexversion=globes&ssid=23', "find")} function search_find(input_id) {searchFind(document.getElementById(arguments.length > 0 ? input_id : "query_for_find").value)} function search_site() { function sr(e,f,q,w,t) {location.href = _C.fsr + '?ExchangeID=' + e + '&Feeder=' + f + '&WhatType=' + w + '&TypeID=' + t + '&strToSearch=' + escape(q.match(/^\s*$/) ? 'א' : q)} var e = document.getElementById("site_search_selector") e.blur() var v = e.options[(arguments.length > 0) ? s : e.selectedIndex].value if (arguments.length == 0) {e.selectedIndex = 0} var q = document.getElementById("query_for_site").value if (v == 'ny') {return sr(4,1,q,2,2)} if (v == 'ta') {return sr(45,0,q,1,6)} location.href = _C.a + (q.match(/^\s*$/) ? "/" : '/query.asp?searchQuery=' + q + '&count=10&field=0&period=0&status=All') } function show_search_bar(p4search_bar) { function timetable(name,id) { return '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '
' + name + '
' } var input_font = '11px arial' var side_border = '1px solid #f0f0f0' return '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '
' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '
' + '' + '
' + '
' + '' + '' + '' + '' + '' + '' + '' + '' + '
' + '
' + drawSelectMenu(133) + '' + '' + '' + timetable('ישראל','hm_in_israel') + '' + timetable('ניו יורק','hm_in_ny') + '
' } function draw_brief_title(n,a,i) { dw('') dw('') dw('') if (n.substring(0,1) == '*') n = '' + n.substring(1) + '  ' else n = '' dw('') dw('') dw('') dw('') dw('') dw('') dw('') dw('') } function brief_element(a) { var j; dw(''); if (a[0][2].length > 0 && a[0][3]) // node has sponsor dw('us(בחסות)'); else dw('
'); dw('
'); dw(''); if (a[0][1].length > 0) dw(''); dw('' + a[0][0] + ''); if (a[0][1].length > 0) dw(''); dw(''); dw('
'); dw(''); for(j=1; j < a.length ;j+=2) { dw(''); dw( ' '+ us(a[j]) + ''); dw( '
'); dw(''); } dw(''); dw('
'); dw(''); } function brief(n,r,a,i) { if (r.length > 0) { dw('
'); if (arguments.length == 4) draw_brief_title(n,a,i); else draw_brief_title(n); dw(''); for(var i=0; i < r.length ;i++){ brief_element(r[i]); } dw('

'); } } var logo_link = scptj() + 'open_homepage()' var logo_alt = 'HOME' var logo_status = 'HOME' function show_header(p4header,p4search_bar,p4top) { if (arguments.length < 3) p4top = [] if (arguments.length < 2) p4search_bar = [] if (arguments.length < 1) p4header = [] var a = (false) // true if new year ? [true , 77 , 'ff0000' , 'ny-2004' , 289 , 0 , 20] : [true , 75 , 'ffffff' , 'white' , 330 , 0 , 0] if (bin_list(p4header,'green')) { if (bin_list(p4header,'smalllogo')) {a = [false , 77 , '6b9e4a' , 'green/small' , 101 , 97 , 20]} else {a = [false , 77 , '6b9e4a' , 'green' , 115 , 112 , 20]} } if (a[0] == true && bin_list(p4header,'yzm')) { inline_ads.length = 0; a = [false , 75 , 'ffffff' , 'yzm' , 330 , 5 , 0] logo_link = '/serve/globes/nodeview.asp?fid=1502' logo_alt = 'EVENTS' logo_status = 'EVENTS' } if (a[0] == true && bin_list(p4header,'library')) { a = [false , 75 , 'ffffff' , 'library' , 330 , 5 , 20] logo_link = scptj() + 'open_library()' logo_alt = 'LIBRARY' logo_status = 'LIBRARY' } if (a[0] == true && bin_list(p4header,'cellular')){ a = [false , 75 , 'ffffff' , 'cellular' , 330 , 5 , 20] logo_link = scptj() + 'open_celular()' logo_alt = 'CELLULAR' logo_status = 'CELLULAR' } if (a[0] == true && bin_list(p4header,'blog')) { a = [false , 75 , 'ffffff' , 'blog' , 330 , 5 , 20] logo_link = 'http://globes.tapuz.co.il/blog/globesmain.asp' } if (a[0] == true && (NoAdClient() || bin_list(p4header,'smalllogo'))) {a = [false , 57 , 'ff0000' , 'red/small' , 287 , 0 , 20]} var h = a[1] var pg_color = a[2] var logofolder = a[3] var width_logo1 = a[4] var width_logo2 = a[5] var width_after = a[6] var w = bin_list(p4header,'width=100%') ? '100%' : '750' if (!bin_list(p4header,'notop')) { dw('') dw('') dw('
' + show_top(p4top) + '
') } if (bin_list(p4header,'toponly')) {return} if (!bin_list(p4header,'nocenter')) dw('
') dw('') //if (!bin_list(p4header,'notop')) {dw(tr_kav(2,0,1))} //if (!bin_list(p4header,'noblackabove')) {dw(tr_kav(2,0,1,'white'))} dw('') dw( '') dw('') if (bin_list(p4header,'blackbelow')){dw(tr_kav(2,0,5,'black'))} if (!bin_list(p4header,'nosearchbar')) { dw('') cta_time = proximate_ta_time() cny_time = new Date(cta_time.getTime() + ny_data[5] * 60 * 60 * 1000) increment_time() } dw('
') dw( '') dw( '') //dw( '') dw( '') //dw( '') //dw( '') //if (width_after > 0) dw('') dw( '') dw( '') dw( '
' + pixel(0,94,'') + '
'); aad(16,400,60,1); dw('
 ' + pixel(width_after,1,'') + '') if (width_logo2 > 0) dw('') if (width_logo1 > 0) dw('') dw( '
') dw( '
' + show_search_bar(p4search_bar) + '
') if (!bin_list(p4header,'nocenter')) {dw('
')} } function poll(pid, iWinWidth) { var theURL='http://nl.globes.co.il/poll/poll.php'; if (arguments.length < 2) {iWinWidth=270;} var winHeight=310; var features='toolbar=no,scrollbars=auto'; var w = (screen.width - iWinWidth)/2; var h = (screen.height - winHeight)/2 - 20; features = features+',width='+iWinWidth+',height='+winHeight+',top='+h+',left='+w; theURL = theURL+'?pid='+pid; poll_popup = window.open(theURL,'Poll',features); poll_popup.focus(); return; }if (NoAdClient()) {overwrite_ad('*',16,'*','*')} // if (http_host() == 'p.globes.co.il' && isNaN(user_id) || user_id < 1) open_login() function OpenSubscribes() { ViewPage("/serve/pirsum/iton_globes.htm", 440,600) } function OpenTopFunds(){//inside admin GlobesLinks window.open("http://funds.globes.co.il/funds/homepage/tbl_top_10.asp") } function ShowMarketData(CompanyId){dw("")} function IMap(sLinkId, sLink) { var str = "\ \ "; dw(str) } function DrawAllGlobesLinksImageMaps(){ //see globesLinks.asp IMap('ar','Open_ArbitrageFile()') IMap('an','OpenAnalysts()') IMap('fu','OpenFunds()') IMap('cu','open_fcurrency()') IMap('ba','OpenActivePage("Active_1_45_0.htm")') IMap('po','poll()') } redirOldDomains(); //DrawAllGlobesLinksImageMaps() function putScript(path){dw("<"+"sc"+"ript lang"+"uage=Ja"+"vaSc"+"ript src='"+ path +"'>")} function qs() {return (location.href.indexOf('?') == -1) ? '' : location.href.substring(location.href.indexOf('?')+1)} putScript(host + '/serve/ads/njump.asp?t=' + (new Date()).getTime() + '&qs=' + escape(qs())) //most read articles function switchArticleBlock(Block2Display) { var colBlocks = "Daily,Weekly,Monthly".split(","); for(var i = 0; i < colBlocks.length; i++) { document.getElementById("tr_" + colBlocks[i]).style.display = ((colBlocks[i] == Block2Display) ? "block" : "none") } } ////////////////////////////////////////////////// function CutStr(str,len){ if(str.length<=parseInt(len,10)) {return str;} while(str.split("")[0]==" "){ str = str.substr(1); } var IsFound = 0; strTmp = str.substring(0,(len-1)); var regExp =",|:|!|;| |[n\r\t]"; re = new RegExp(regExp); strArr= strTmp.split(""); for( i = parseInt(strArr.length,10)-1;i >0;i--){ if(strArr[i].match(re)!=null){ IsFound = 1; break; } } switch(IsFound){ case 1: return ""+(strArr.join("")).substring(0,i)+"..."; break; case 0: if(parseInt(str.length,10) == parseInt(strTmp.length,10)) return ""+strArr.join(""); else return ""+strArr.join("")+"..."; break; } } /////////////////////////////////////////////////////////////// function getSpokenArticles() { function data_tr(b,d,a) { var r = '' r += '
' r += '' r += '' r += '' r += '' r += '' r += '' r += '
' r += '' r += '' r += '
' r += '
' } var r = '' r += '' r += '' r += '' r += '' r += '' r += '' r += '
הכתבות הנקראות ביותר באתר
' r += '
' r += data_tr('Daily','block',Daily) r += data_tr('Weekly','none',Weekly) r += data_tr('Monthly','none',Monthly) r += '
' r += '
' return r; } //Add Tengo for change Font size in DocView function changefontsize(num){ function calculateFSize(obj,defsize,change,minsize,maxsize){ var fontsize = parseInt(obj.style.fontSize); fontsize = change + (isNaN(fontsize) ? defsize : fontsize); fontsize = Math.max(minsize,fontsize); fontsize = Math.min(maxsize,fontsize); obj.style.fontSize = fontsize + 'px'} calculateFSize(document.getElementById('F_Title'),15,num,14,26); calculateFSize(document.getElementById('F_Sub_Title'),9,num,12,24); calculateFSize(document.getElementById('F_Author'),9,num,10,22); calculateFSize(document.getElementById('F_Content'),11,num,12,24)} //Add Bookmarks for Firefox and IE Browser too function addFavorite(name,url){ if (window.sidebar){ window.sidebar.addPanel(name, url,""); } else if (document.all){ window.external.AddFavorite(url, name); } } function OpenFullPage(page){ var width = screen.width; var height = screen.height; PopUp = window.open(page, 'PopUp', 'location=yes,toolbar=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,width=' + width + ',height=' + height); } function viewInstrument(instrumentID, feeder, lang, tab, instrumentType, rt) { var iInstrumentID = (""+instrumentID != "undefined") ? instrumentID : ""; var iTab = (""+tab != "undefined") ? tab : 1; var rt = (""+rt != "undefined") ? rt : 0; var newPortfolio = (self.location.href.toLowerCase().indexOf("newportfolio=1")>=1) ? 1 : 0; if ((instrumentType == 16) && (feeder != 1)) { // Funds if(lang.toUpperCase() == 'EN') { top.location.href = '/Finance/Instrument/Instrument.asp?InstrumentID=' + iInstrumentID + '&Lang=' + lang; } else { window.open('http://funds.globes.co.il/funds/FundFlyer/FundFlyer.asp?fundID=' + iInstrumentID, 'funds') } } else { top.location.href = '/Finance/Instrument/Instrument.asp?InstrumentID=' + iInstrumentID + '&Feeder=' + feeder + '&Lang=' + lang + '&Tab=' + iTab + '&rt=' + rt + '&newportfolio=' + newPortfolio; } } var arrTaStock = new Array(); arrTaStock[0] = ["הבורסה בת''א", ""]; arrTaStock[1] = ["אתר המעו''ף", "/Finance/Maof/"]; arrTaStock[2] = ["ציטוטי מניות", "/finance/stocksQuotes/"]; arrTaStock[3] = ["נגזרת דולר", "/Finance/Shared/SearchResults.asp?ExchangeID=45&Feeder=0&TypeID=18&WhatType=1"]; arrTaStock[4] = ["נגזרת אירו", "/Finance/Shared/SearchResults.asp?ExchangeID=45&Feeder=0&TypeID=23&WhatType=1"]; arrTaStock[5] = ["נגזרת מעו''ף", "/Finance/Shared/SearchResults.asp?ExchangeID=45&Feeder=0&TypeID=15&WhatType=1"]; arrTaStock[6] = ["מניות ת''א 25", "/Finance/Shared/SearchResults.asp?Feeder=0&ExchangeID=45&SearchIdxInst=1&Lang=HE&WhatType=3&TypeID=3&IdxInstrumentID=979"]; arrTaStock[7] = ["מניות ת''א 100", "/Finance/Shared/SearchResults.asp?Feeder=0&ExchangeID=45&SearchIdxInst=1&Lang=HE&WhatType=3&TypeID=4&IdxInstrumentID=980"]; arrTaStock[8] = ["כתבי אופציה", "/Finance/Shared/SearchResults.asp?Feeder=0&ExchangeID=45&SearchIdxInst=0&Lang=HE&WhatType=1&TypeID=7"]; arrTaStock[9] = ["אופציות כיסוי", "/Finance/Shared/SearchResults.asp?Feeder=0&ExchangeID=45&SearchIdxInst=0&Lang=HE&WhatType=1&TypeID=42"]; var arrForeignCurr = new Array(); arrForeignCurr[0] = ["מט''ח", ""]; arrForeignCurr[1] = ["למרכז המט''ח", "/Finance/Currency/Currency.asp"]; arrForeignCurr[2] = ["שערי חליפין", "/globessites/globes/finance/currencies/main.aspx?id=1&mode=1&strtosearch="] //arrForeignCurr[3] = ["שערים מצטלבים", "/globessites/globes/finance/currencies/main.aspx?id=2&mode=1&strtosearch="] //arrForeignCurr[2] = ["מט''ח-שערי חליפין", "/globessites/globes/finance/currencies/default.aspx"]; var arrFounds = new Array(); arrFounds[0] = ["קרנות נאמנות", ""]; arrFounds[1] = ["לאתר הקרנות", "http://funds.globes.co.il/funds/default.asp"]; arrFounds[2] = ["רשימת קרנות", "/Finance/Shared/SearchResults.asp?Lang=HE&Field=3&Direction=1&WhatType=1&TypeID=16&Feeder=0&strToSearch=א"]; var arrForeignStock = new Array(); arrForeignStock[0] = ["בורסות בחו''ל", ""]; arrForeignStock[1] = ["מניות נאסד\"ק 100", "/Finance/Shared/SearchResults.asp?Feeder=1&SearchIdxInst=1&Lang=HE&WhatType=3&TypeID=8&IdxInstrumentID=537926"]; arrForeignStock[2] = ["מניות S&P 500", "/Finance/Shared/SearchResults.asp?Feeder=1&SearchIdxInst=1&Lang=HE&WhatType=3&TypeID=10&IdxInstrumentID=373853"]; //arrForeignStock[1] = ["וול סטריט", "/Finance/Shared/SearchResults.asp?Feeder=1&SearchIdxInst=1&TypeID=15&WhatType=3"]; arrForeignStock[3] = ["מניות דאו ג'ונס", "/Finance/Shared/SearchResults.asp?Feeder=1&SearchIdxInst=1&Lang=HE&WhatType=3&TypeID=9&IdxInstrumentID=66707"]; arrForeignStock[4] = ["מניות פוטסי 300", "/Finance/Shared/SearchResults.asp?Feeder=1&SearchIdxInst=1&Lang=HE&WhatType=3&TypeID=16&IdxInstrumentID=539524"]; arrForeignStock[5] = ["מניות ניקיי 225", "/Finance/Shared/SearchResults.asp?Feeder=1&SearchIdxInst=1&Lang=HE&WhatType=3&TypeID=17&IdxInstrumentID=539271"]; arrForeignStock[6] = ["מניות הנג סנג", "/Finance/Shared/SearchResults.asp?Feeder=1&SearchIdxInst=1&Lang=HE&WhatType=3&TypeID=21&IdxInstrumentID=539267"]; arrForeignStock[7] = ["מניות סנסקס", "/Finance/Shared/SearchResults.asp?Feeder=1&SearchIdxInst=1&Lang=HE&WhatType=3&TypeID=22&IdxInstrumentID=539503"]; arrForeignStock[8] = ["מניות S&P/ASX 50", "/Finance/Shared/SearchResults.asp?Feeder=1&SearchIdxInst=1&Lang=HE&WhatType=3&TypeID=24&IdxInstrumentID=540087"]; arrForeignStock[9] = ["ישראליות בניו יורק", "/Finance/Shared/SearchResults.asp?Feeder=1&SearchIdxInst=1&Lang=HE&WhatType=3&TypeID=12&IdxInstrumentID="]; arrForeignStock[10] = ["ישראליות באירופה", "/Finance/Shared/SearchResults.asp?Feeder=1&WhatType=3&TypeID=14&SearchIdxInst=0&Lang=HE&IdxInstrumentID="]; var arrArbitrage = new Array(); arrArbitrage[0] = ["מניות ארביטרז'", ""]; arrArbitrage[1] = ["תל אביב - ניו יורק", "/GlobesSites/Globes/finance/arbitrage/arbitrage.aspx"]; var arrBarometer = new Array(); arrBarometer[0] = ["הברומטר", ""]; arrBarometer[1] = ["איתור מגמות לפי נפח פעילות", "/Finance/ActivityPages/Active_1_45_0.htm"]; var arrAnalystAdvice = new Array(); arrAnalystAdvice[0] = ["המלצות אנליסטים", ""]; arrAnalystAdvice[1] = ["טבלת המלצות אנליסטים", "/Finance/Analysts/SearchRecommend.asp"]; var arrCompanies = new Array(); arrCompanies[0] = ["נתוני חברות", ""]; arrCompanies[1] = ["תקצירי דו''חות", "/Finance/market_data/FinancialReports.asp?lang=he"]; arrCompanies[2] = ["דו''חות S&P", "http://www.standardpoors.co.il/default.asp?pageName=HOME+PAGE&pageID=2"]; arrCompanies[3] = ["מידע עסקי D&B", "http://dbrisk.dundb.co.il/ns/ns_frames.asp?origin=3"]; var arrDebenture = new Array(); arrDebenture[0] = ["אג''ח", ""]; arrDebenture[1] = ["אתר אפיקים סולידיים", "/Finance/bonds/"]; arrDebenture[2] = ["אג''ח להמרה", "/Finance/Shared/SearchResults.asp?Feeder=0&ExchangeID=45&SearchIdxInst=0&Lang=HE&WhatType=1&TypeID=8&IdxInstrumentID="]; arrDebenture[3] = ["אגרות חוב", "/Finance/Shared/SearchResults.asp?Feeder=0&ExchangeID=45&SearchIdxInst=0&Lang=HE&WhatType=1&TypeID=24&IdxInstrumentID="]; arrDebenture[4] = ["מ''קמים", "/Finance/Shared/SearchResults.asp?Feeder=0&ExchangeID=45&SearchIdxInst=1&Lang=HE&WhatType=1&TypeID=17&IdxInstrumentID="]; arrDebenture[5] = ["נגזרת שחר", "/Finance/Shared/SearchResults.asp?Feeder=0&ExchangeID=45&SearchIdxInst=1&Lang=HE&WhatType=1&TypeID=41&IdxInstrumentID="]; var arrETF = new Array(); arrETF[0] = ["תעודות סל ו-ETF´s ", ""]; arrETF[1] = ["אתר תעודות סל - ו-ETF´s", "/Finance/etf/"]; arrETF[2] = ["רשימת תעודות סל ו-ETF´s", "/globessites/globes/finance/instruments/search.aspx"]; var arrIndexes = new Array(); arrIndexes[0] = ["מדדים", ""]; arrIndexes[1] = ["מדדי המחירים", "/Finance/IndexPrice/begin.asp?lang=he"]; arrIndexes[2] = ["מדדי המניות", "/Finance/Shared/SearchResults.asp?ExchangeID=45&Feeder=0&TypeID=11&WhatType=1"]; arrIndexes[3] = ["מדדי הענפים", "/Finance/Shared/SearchResults.asp?ExchangeID=45&Feeder=0&TypeID=38&WhatType=1"]; arrIndexes[4] = ["מדדי אג''ח", "/Finance/Shared/SearchResults.asp?ExchangeID=45&Feeder=0&TypeID=37&WhatType=1"]; var arrFutures = new Array(); arrFutures[0] = ["חוזים עתידיים", ""]; arrFutures[1] = ["אתר חוזים עתידיים", "/Finance/Futures/"]; arrFutures[2] = ["רשימת חוזים עתידיים", "/Finance/Shared/SearchResults.asp?Feeder=1&ExchangeID=72&SearchIdxInst=0&Lang=HE&WhatType=2&TypeID=62&IdxInstrumentID="]; var arrEndOfDay = new Array(); arrEndOfDay[0] = ["סוף יום המסחר בת''א", ""]; arrEndOfDay[1] = ["ריכוז תוצאות המסחר במניות", "/Finance/Shared/ConcentrationData.asp?TableType=1&lang=HE"]; arrEndOfDay[2] = ["ריכוז תוצאות המסחר באג''ח", "/Finance/Shared/ConcentrationData.asp?TableType=2&lang=HE"]; arrEndOfDay[3] = ["מניות בולטות במדד ת''א 100", "/Finance/Shared/EndDayData.asp?TableType=1&lang=HE"]; arrEndOfDay[4] = ["מניות בולטות אחרות בת''א", "/Finance/Shared/EndDayData.asp?TableType=2&lang=HE"]; arrEndOfDay[5] = ["אופציות בולטות", "/Finance/Shared/EndDayData.asp?TableType=3&lang=HE"]; arrEndOfDay[6] = ["מחזורים בולטים בת''א 100", "/Finance/Shared/EndDayData.asp?TableType=4&lang=HE"]; arrEndOfDay[7] = ["מחזורים בולטים נוספים", "/Finance/Shared/EndDayData.asp?TableType=5&lang=HE"]; arrEndOfDay[8] = ["תשואות דיבידנד בולטות", "/Finance/Shared/EndDayData.asp?TableType=6&lang=HE"]; var sAlign = "right"; var sFilter = ""; var lblButton1 = "פתח סרגל ניווט"; var lblButton2 = "סגור סרגל ניווט"; var imgButton = "Arrow_Orange_Small_H.gif" function buildMenuUnit(arr, bShowTitle, menuWidth, emptyRows, menuHeight) { var iMenuWidth = 172; var iMenuHeight = 16; var isShowTitle = true; var iEmptyRows = 0; if(""+menuWidth != "undefined") { iMenuWidth = menuWidth; } if(""+menuHeight != "undefined") { iMenuHeight = menuHeight; } if(""+bShowTitle != "undefined") { isShowTitle = bShowTitle; } if(""+emptyRows != "undefined") { iEmptyRows = emptyRows; } var sMenuUnit = ""; if(isShowTitle) { sMenuUnit += ""; } for(i = 1; i < arr.length; i++) { var sLink = "'" + arr[i][1] + "'"; sLink += (sLink.indexOf("https://") != -1) ? " target='_blank' " : ""; sMenuUnit += ""; } if(iEmptyRows > 0) { for(var i = 0; i < iEmptyRows; i++) { sMenuUnit += ""; } } return sMenuUnit += "
" } function rollOver(Button, IsOn) { (IsOn) ? Button.style.backgroundColor = "#E5E5E5" : Button.style.backgroundColor = "#EFEFEF"; bIsInsideMenu = true; } var bIsMenuOpened = false; var bIsInsideMenu = false; function showDropMenu(handle) { var oHMenu = document.getElementById("hMenu"); var iLeftOffset = (sLang == 'HE') ? 116 : 0 if(!bIsMenuOpened) { hideDropDowns(true); oHMenu.style.display = "block"; oHMenu.style.top = getY(handle) + 34; oHMenu.style.left = getX(handle) + iLeftOffset + 1; handle.innerHTML = ""+lblButton2+"" bIsMenuOpened = true; bIsInsideMenu = true; } else { hideDropDowns(false); oHMenu.style.display = "none"; oHMenu.style.top = 0; oHMenu.style.left = 0; handle.innerHTML = ""+lblButton1+"" bIsMenuOpened = false; bIsInsideMenu = false; } } function closeDropMenu() { if(bIsMenuOpened == true && bIsInsideMenu == false) { showDropMenu(document.getElementById("menuButton")); } } function hideDropDowns(bHide) { var colSelects = document.getElementsByTagName("select"); for(var i = 1; i < colSelects.length; i++) { (bHide) ? colSelects[i].style.visibility = "hidden" : colSelects[i].style.visibility = "visible"; } } function drawSideMenu(sLang) { var sDelimiter = ""; var sBanner = "
dw(g.almond.iframe(322,170,43))
"; if(sLang == "HE") { var sMenu = buildMenuUnit(arrTaStock) + sDelimiter + buildMenuUnit(arrForeignCurr) + sDelimiter + buildMenuUnit(arrFounds) + sDelimiter + buildMenuUnit(arrForeignStock) + sDelimiter + sBanner+ buildMenuUnit(arrArbitrage) + sDelimiter + buildMenuUnit(arrBarometer) + sDelimiter + buildMenuUnit(arrAnalystAdvice) + sDelimiter + buildMenuUnit(arrCompanies) + sDelimiter + buildMenuUnit(arrDebenture) + sDelimiter + buildMenuUnit(arrFutures) + sDelimiter + buildMenuUnit(arrETF) + sDelimiter + buildMenuUnit(arrIndexes) + sDelimiter + buildMenuUnit(arrEndOfDay) } else { var sMenu = buildMenuUnit(arrStocks) + sDelimiter + buildMenuUnit(arrWarrants) + sDelimiter + buildMenuUnit(arrCurrency) + sDelimiter + buildMenuUnit(arrMutualFunds) + sDelimiter + buildMenuUnit(arrMarketReports) + sDelimiter + buildMenuUnit(arrIndices) } return sMenu; } function buildOptionUnit(arr) { var sMenuUnit = ""; sMenuUnit += ""; for(i = 1; i < arr.length; i++) { sMenuUnit += ""; } return sMenuUnit; } function drawSelectMenu(w, bShowMainTitle) { var isShowMainTitle = true; if(""+bShowMainTitle != "undefined") { isShowMainTitle = bShowMainTitle; } var sMenu = ""; } function viewPage(oOption) { var sURL = oOption.value if(sURL == -1 || sURL == "") {return} if((sURL.indexOf("http://") != -1)||(sURL.indexOf("/Indications/default.asp") != -1)) { window.open(sURL, ""); } else {top.location.href = sURL} document.getElementById("sb_combo").selectedIndex = 0 } function getX(source) { var X = 0; var P = source.offsetParent; while(P != null) { X += P.offsetLeft; P = P.offsetParent; } return X; } function getY(source) { var Y = 1; var P = source.offsetParent; while (P != null) { Y += P.offsetTop; P = P.offsetParent; } return Y; } // Populate links and labels to sections Arrays function buildLinksObject(p1, p2, p3, p4) { this.Label_HE = p1; this.Link_HE = p2; this.Label_EN = p3; this.Link_EN = p4; } function getOBJ(obj) { var str; str = obj +""; obj = eval(obj) var i; var msg = ""; msg = ""; for(i in obj) { msg += "" ; try{msg += "" } catch(e){msg += "" } msg += "" ; } msg += "
" + i + "    " + eval("obj." + i ) + "   
" var win = window.open("about:blank","","") msg = "
        "+str+"
" + msg win.document.write( msg); return; }