if (document.domain.indexOf("globes.co.il") != -1) {
//document.domain = "globes.co.il";
}
sp500 = 'S&P 500';
dj = 'Dow';
tltk = 'Tel-Tech';
tltk15 = 'Tel-Tech 15';
nsdk = 'Nasdaq';
ta100 = 'TA100';
ta25 = 'TA25';
dollarbb = 'Shekel/$';
euro = 'Euro';
euro_dollar = "Euro/Dollar";
ci = 0 // (screen.width > 800) ? 0 : 1;
colors = [ "b0b6bd" , "d6d6d6" ];
function dw(s) {document.write(s);}
function close_frame() {if (top != this) {parent.close_frame();}}
function reload() {
var i = new Image()
i.src = '/serve/images/pixel.gif?' + (new Date()).getTime()
i.onload = function(){location.reload()}
} setTimeout('reload()',5 * 60 * 1000)
function maximaze() {window.open ("http://new.globes.co.il/serve/inc/sleep.htm",null,"scrollbars=no,fullscreen=yes")}
function OpenWin1() {window.open("http://new.globes.co.il/serveEN/globes/terms.html","terms","width=380,height=280,left=100,top=100,scrollbars=yes,resizable=no");}
function disclaimer(language) {
ww = 420;
wl = screen.width - ww - 30;
url = "http://quotes.globes.co.il/bursa/requester.dll?opcode=mol&rqst=disc" + language;
window.open(url,"the_win","width=" + ww + ",height=320,left=" + wl + ",top=2,menubars=no,toolbar=no,scrollbars=auto,resizable=yes");
}
var dcelled = false
function in_list(item,list) {for(var i in list) {if (list[i] == item) {return i}} return -1}
function bin_list(item,list) {return in_list(item,list) > -1}
function dcell(n,d,t,c,v,a) {
if (!bin_list(n,[ta25,tltk15,nsdk,sp500,euro_dollar,euro,dollarbb])) return
if (bin_list(n,[sp500,euro_dollar]) && screen.width <= 800) {return}
var fc = "";
var clsn = "btext";
dcelled = true
switch(a) {
case '+' :
a = '
';
fc = ' color=green ';
clsn = "gtext";
break;
case '-' :
a = '
';
fc = ' color=red ';
clsn = "rtext";
break;
default :
a = ' ';
fc = ' color=green ';
}
dw('
');
dw('' + n + ' ' + d + ' ' + t + ' ');
dw(a + ' ' + c + ' ' + v + '');
if (n == euro) {dw(' |  | ')}
dw('');
}
function OpenSmallWin(winUrl,title) {window.open(winUrl,title,"width=420,height=250,left=100,top=100,scrollbars=yes,resizable=no");} //
function bot() {
dw('');
dw('  | ');
dw('
');
dw(' ');
dw(' | ');
dw(' ');
dw(' | ');
dw('
');
dw('
');
if (dcelled == false) setTimeout('location.reload()',2000)
}