'
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 = 'https://images.globes.co.il/images/site/finance/show.gif'
if (typeof(d) == 'string') return ''
var s = _C.spcr +
'
'
if (has_boltot(e)) {s += '
' + boltot(e) + '
'}
s += '
'
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 += '
מניות בולטות בת"א 25
'
if (e == 'ny')
s += '
וול סטריט
'
s += '
'
s += '
'
s += '
'
s += '
'
s += '
'
s += '
פעילות
'
s += '
עולות
'
s += '
יורדות
'
s += '
'
s += '
'
s += '
'
s += '
'
s += '
'
s += '
'
s += '
1
'
s += '
'
s += '
'
s += '
'
return s
}
function bb(a, sclmn, msk, e)
{
if (arguments.length == 2) msk = '*'
var i,s = ''
s += '
'
s += '
'
s += '
' + us('שם') + '
'
s += '
' + us('שער') + '
'
s += '
' + us('שינוי ב-%') + '
'
s += '
'
for(i = 0; i < 5 ;i++) s += b_tr((i % 2)? "CAE8BC" : "DEEFD6" , a[i], sclmn, msk, e)
s += '
'
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 += '
' + us(img.substring(1)) + '
'
else s += '
'
s += td_kav(1,0,1,'#000000')
s += '
'
s += '
'
if (msk & 2) s += tr_kav(3,0,1,'#000000')
s += '
'
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 += '
'
}
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 ? '' : '
'
}
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(pixel(1,7,' '))
dw('')
dw(' | כל זכויות שמורות לגלובס 2001')
dw('
Application delivery by
')
dw('
')
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 israelindepth(folder)
{
window.open("/serveen/inc/israelindepth.asp?fid=" + folder,"Israelindepth",'toolbar=no,width=224,height=253,left=140,top=50,status=no,scrollbars=auto,resize=no');
}
function linkstop(){
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.asp') : 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 += '
\
' + eval('_' + indices[i][3] + '_') + '
\
' + indices[i][2] + '
\
' + formatFloatNumber(indices[i][1]) + '%
\
' + getImage(indices[i][0]) + '
\
'
}
s += '
'
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 = '