function gethost() {
function get_src(is_mozilla,e) {
try {return is_mozilla ? e.getAttributeNode("src").nodeValue : e.src } catch(e) {}
return ""
}
var script_path=''.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 'https://www.globes.co.il'
} var host = gethost()
function scptj(){return 'j'+'av'+ 'asc'+ 'ri'+ 'pt'+ ':';}
function putScript(path){dw("<"+"sc"+"ript lang"+"uage=Ja"+"vaSc"+"ript src='"+ path +"'>")}
function _Constants()
{
this.FoldersCache = '/folders' //virtual
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 = 'https://www.globes.co.il/Finance'
this.fd = '../../data/webservices/fb.asp'
this.f = host + '/Finance'
this.tdar = ''
this.spcr = ' '
this.http_host = http_host()
} var _C = new _Constants()
function http_host() {
var b = location.href.indexOf('//') + 2
var e = location.href.indexOf('/',b)
return location.href.substring(b,e).toLowerCase()
}
function e_block(d,e,with_indices,with_mth)
{
var c = 'ffffff', bc = 'cfcfcf', tc = '73B24A'
var sg = '../../images/site/finance/show.gif'
if (typeof(d) == 'string') return ''
var s = _C.spcr +
''
if (has_boltot(e)) {s += ''}
s += '
' + boltot(e) + '
'
d.innerHTML = s
if (has_boltot(e)) boltot_change(e,'v')
return;
}
function has_boltot(e)
{
if (e == 'ta' && typeof(boltot_ta) != 'undefined') return true
if (e == 'ta25' && typeof(boltot_ta25) != 'undefined') return true
if (e == 'ny' && typeof(boltot_ny) != 'undefined') return true
return false
}
function boltot_change(e,t)
{
// Tab_Text_Selected
var inrhtml,p = _C.si + '/economy'
eval (e + '_l.className ="Tab_Text"')
eval (e + '_h.className ="Tab_Text"')
eval (e + '_v.className ="Tab_Text"')
switch(t)
{
case 'l' :
eval (e + '_l.className ="Tab_Text_Selected"')
inrhtml = bb(eval('boltot_' + e + '[2]') , 3 ,'-', e)
break
case 'h' :
eval (e + '_h.className ="Tab_Text_Selected"')
inrhtml = bb(eval('boltot_' + e + '[1]') , 3 ,'+', e)
break
case 'v' :
eval (e + '_v.className ="Tab_Text_Selected"')
inrhtml = bb(eval('boltot_' + e + '[0]') , 3 ,'*', e)
break
}
try{
}
catch(e)
{alert(e.description)}
eval(e + '_bdiv.innerHTML = inrhtml')
}
function boltot(e)
{
var s, img, sqr= _C.sirr,bgc='bbbbbb', tc = '73B24A'
s = ''
if (e == 'ta')
s += ''
if (e == 'ta25')
s += ''
if (e == 'ny')
s += ''
s += ''
s += ''
s += ''
s += ''
s += ''
s += ''
s += ''
s += '
תל אביב
מניות בולטות בת"א 25
וול סטריט
'
s += ''
s += ''
s += ''
s += ''
s += ''
s += ''
s += '
פעילות
עולות
יורדות
'
s += '
'
s += '
1
'
s += '
'
return s
}
function bb(a, sclmn, msk, e)
{
if (arguments.length == 2) msk = '*'
var i,s = ''
s += ''
s += ''
s += ''
s += ''
s += ''
s += ''
for(i = 0; i < 5 ;i++) s += b_tr((i % 2)? "CAE8BC" : "DEEFD6" , a[i], sclmn, msk, e)
s += '
' + us('שם') + '
' + us('שער') + '
' + us('שינוי ב-%') + '
'
return s
}
/*
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 s = ''
return s
}
function e_2graph(e)
{
if (e == 'ta') return 'ta25'
if (e == 'ny') return 'nsdq'
return ''
}
*/
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 += ''
s += td_kav(1,0,1,'#000000')
s += ''
s += ''
if (msk & 2) s += tr_kav(3,0,1,'#000000')
s += '
' + us(img.substring(1)) + '
'
s += ''
return s
}
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, e)
{
var tmpClassName = "VAL_ASC"
if (arguments.length == 3) msk = '*'
var s = ""
var fontcolor = 'black'
var sign = a[1],change=a[2] + '%',name=raisha(a[5],8),rate=a[ci]
var symbol = a[0];
var exchangeID = 11;
var feeder = 1;
if ((e == 'ta') || (e == 'ta25'))
{
feeder = 0;
exchangeID = 45;
}
var instrumentID = a[a.length-1]
if (msk != '*')
{
if (msk.indexOf(sign) == -1)
{
sign = ''
change = ' '
name = ''
rate = ' '
}
}
if (sign == '-') tmpClassName = "VAL_DESC"; // fontcolor = 'red'
if (sign == '+') tmpClassName = "VAL_ASC"; // fontcolor = 'green'
s += ''
s += ' ' + name + ''
s += '' + rate + ''
s += '' + change + ''
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 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 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 pixel(w,h,a){return '' + a}
function dw(s){document.write(s)}
//var r_mouse_over = _C.si + '/ribua_grey_dark.gif'
//var r_mouse_out = _C.si + '/ribua_grey_light.gif'
var bg_colors = ['C4C2C3','D8D8D8']
/*********** boltot end **************/
/******** Portfolio box related ****************/
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 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' // 'EFEFEF'
var bc = 'cfcfcf' //'d0efcf'
var tc = '73B24A'
var sg = host + '../../images/site/finance/show.gif'
var s = _C.spcr + ''
if (in_list(parameters,"portfolio")) {
s += ''
}
if (typeof(strTopFunds) == 'string' && in_list(parameters,"funds")) {
if( g.almond.site != '104614')//maof
{
g.almond.site = '104279'//finance
}
if (first != "funds") s += ''+
''
}
return s + '
' + pentrance(bc,tc) + '
' + g.almond.iframe(650,170,18) + '
' + strTopFunds + '
'
}
function pentrance()
{
var IsSession = ''
//IsSession = ''
//if (IsSession != ""){
if ((typeof(BuildActiveInstruments) == "function") && (typeof(ArraySetup) == "function")) {
var instrumentsArray = ArraySetup();
var strActiveTable = BuildActiveInstruments(instrumentsArray);
strActiveTable +=
' \
\
\
\
\
'
}
return (strActiveTable);
}
/******** End Portfolio ****************/
function Open_ArbitrageFile(fileName) {
if (fileName == "Arbitrage.htm") fileName = "Arbitrage_HE.htm"
location.href = '/Finance/Arbitrage/' + fileName;
}
function reloadPage() {
window.location.href = location.href;
}
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=''.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.html']
var infomaarah =
[
['עדכון פרטי משתמש','9','../../serve/login/loginUpdate.html'] //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','','תמיכה']
,['../../news/m/login/login-rlogin_payrlogin.aspp_backTo.html/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 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' + 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 + "../../news/m/login/login-rlogin_payrlogin.aspp_backTo.html" + escape("/finance/Portfolio/Portfolio.asp?what=track&in=1");
top.location.href = host + "../../news/m/login/login-rlogin_payrlogin.aspp_backTo.html" + 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
')
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.html'}
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 israelindepth(folder)
{
window.open("../../serveen/inc/israelindepth.html" + folder,"Israelindepth",'toolbar=no,width=224,height=253,left=140,top=50,status=no,scrollbars=auto,resize=no');
}
function linkstop(){
dw('\n')
dw('\n');
dw('\n');
dw('\n');
dw('\n');
dw('\n');
dw('\n');
dw('\n');
dw('\n');
dw('\n');
dw('\n');
dw('\n');
dw('\n');
dw('\n');
dw('
')}
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()))
function open_help(){OW6(_C.sg+'/help.html')}
function conditions_of_use(){(NoAdClient()) ? OW6(host+'../../pay/Disclaimer.html') : OW6(_C.sg+'/Disclaimer.html')}
function OpenFundsHome() { window.open(_C.fd) }
function showIndicesFinance() {
var j = 0;
var _london_ = 'לונדון';
var _paris_ = 'פריז';
var _frnkf_ = 'פרנקפורט';
var _tokio_ = 'טוקיו';
var _hk_ = 'הונג קונג';
var sBgColor = '#DEEFD6';
var s = '\
'
for(var i in indices) {
sBgColor = (i%2 == 0) ? '#DEEFD6' : '#CAE8BC'
switch(indices[i][3]) {
case 'london':
case 'paris':
case 'frnkf':
case 'tokio':
case 'hk':
break;
default :
continue;
}
s += '\
\
\
\
\
'
}
s += '
בורסות באירופה ואסיה
' + eval('_' + indices[i][3] + '_') + '
' + indices[i][2] + '
' + formatFloatNumber(indices[i][1]) + '%
' + getImage(indices[i][0]) + '
'
return s
}
function showIndicesFinance2() {
var j = 0;
var _london_ = 'לונדון';
var _paris_ = 'פריז';
var _frnkf_ = 'פרנקפורט';
var _tokio_ = 'טוקיו';
var _hk_ = 'הונג קונג';
var _shcomp_ = 'שנחאי';
var sBgColor = '#DEEFD6';
var IsStockWorks = 'no';
var s = ''
for(var i in indices) {
sBgColor = (i%2 == 0) ? '#E8E8E8' : '#F0F0F0'
switch(indices[i][3]) {
case 'london':
//IsStockWorks = form1.londonWork.value;
IsStockWorks = show_exchange_status(ln_data)
image = ''
break;
case 'paris':
IsStockWorks = show_exchange_status(paris_data)
image = ''
//IsStockWorks = form1.parisWork.value;
break;
case 'frnkf':
IsStockWorks = show_exchange_status(frnkf_data)
image = ''
//IsStockWorks = form1.frankWork.value;
break;
case 'tokio':
IsStockWorks = show_exchange_status(tk_data)
image = ''
//IsStockWorks = form1.tokioWork.value;
break;
case 'hk':
IsStockWorks = show_exchange_status(hk_data)
image = ''
//IsStockWorks = form1.hkWork.value;
break;
case 'shcomp':
IsStockWorks = show_exchange_status(hk_data)
image = ''
break;
default :
continue;
}
s += '\
\
\
\
\
\
'
}
s += '