// *** print green var e_counter = new function() { this.t = new Date() this.groups = [] this.count = function(e,g,d,src) { try {if (disable_e_counter) {return}} catch(ex) {} var i for(i=0; i < this.groups.length ;i++) { if (this.groups[i].g == g) { if (this.groups[i].e == e) {return} break } } if (i == this.groups.length && arguments.length > 2 && d == e) { this.groups[i] = new function() {this.g = g; this.e = e} return } if (!('' + e).match(/^--/)) {this.groups[i] = new function() {this.g = g; this.e = e}} var x = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest() x.open("GET","/e_counter.ashx?e=" + escape(('' + e).replace(/^--/,'')) + '&g=' + escape(g) + '&t=' + this.t.getTime(),true); x.send(null) if (src) { try {_gaq.push(['_trackEvent', src, g, e]);} catch(ex) { //alert("eror:" + e + "-" + g + "-" + d + "-" + src) } } } } function c_titledata(t,d) {this.title = t; this.data = d} function mpad(m,x) {return (m > 1) ? (m + (x % m)).toString().replace(/^1/,'') : x} function in_list(item,list) {for(var i in list) {if (item == list[i]) {return i}} return -1} function bin_list(item,list) {return in_list(item,list) > -1} function get_by_title(t,a) {for(var i in a) {if (t == a[i].title) {return a[i]}} return null} function merge(t,d) { var s = ""; for(var i=0; i < d.length ;i++) {s += t[i] + d[i]} return s + ((t.length > d.length) ? t[d.length] : '') } function append_array(ta,a) {for(var i=0; i < a.length ;i++) {ta[ta.length] = a[i]} return ta} function radio_value(name) { var a = document.getElementsByName(name) for(var i=0; i < a.length ;i++) {if (a[i].checked) return a[i].value} return '' } function selected_value(id) { var s = document.getElementById(id) return s.options[s.options.selectedIndex].value } function dw(m) {document.write(m)} function dbg(v) {alert(v); return v} function keyed(e) {return window.ActiveXObject ? event.keyCode : 0} function TypesFields(p_Type, p1, p2, p3, p4, p5, p6, p7, p8, p9) { // competability this.p_Type = p_Type this.Feeder = p1 this.ExchangeID = p2 this.PortfolioType = p3 this.TypeID = p4 this.WhatType = p5 this.TypeName_EN = p6 this.TypeName_HE = p7 this.InstrumentID = p8 this.IndexMode = p9 } function windows1255(s) { function hexdigit(n) {return '0123456789abcdef'.substring(n,n+1)} function hex(n) {return (n < 16 ? '' : hex(Math.floor(n / 16))) + hexdigit(n % 16)} var t = ""; for(var i=0; i < s.length ;i++) { var ch = s.charCodeAt(i); if (ch == 32) {t += '%20'; continue} t = t + '%' + hex(224 + (ch - 'א'.charCodeAt(0))) } return t } function view_selected(caller) { var url = caller.options[caller.selectedIndex].value caller.selectedIndex = 0 if (url) {location.href = url} } function search_find() {window.open ('http://www.find.co.il/redirsrch.asp?uid=221&sourceid=300&searchstring=' + document.getElementById("query_for_find").value,"find")} /* function search_site(){ function sr(e,f,q,w,t) { location.href = g.url.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 = g.url.a + (q.match(/^\s*$/) ? "/" : '/query.asp?searchQuery=' + q + '&count=10&field=0&period=0&status=All') } */ function search_site_new(ind,search_type){ function sr(e,f,q,w,t) {top.location.href = g.url.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 var v = e.value //if (arguments.length == 0) {e.value = 0} var q = escape(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)} var status = "All" if (ind == 2) {status = "-archive"} if (ind == 5) {status = "archive"} if (arguments.length < 2 || (ind != 1 && ind != 2 && ind != 5)) {search_type = 'searchQuery'} var url = g.url.a + (q.match(/^\s*$/) ? "/" : '/query.asp?' + search_type + '=' + q + '&count=10&field=0&period=0&status=' + status + '&id=' + ind) // alert(arguments.length + '\nind=' + ind + ' ; (ind != 1 && ind != 2 && ind != 5) == ' + (ind != 1 && ind != 2 && ind != 5) + '\n' + search_type + '\n' + url) top.location.href = url } function proximate_ta_time() { var n = new Date() if (typeof(server_datetime) != 'undefined') {return server_datetime} var serverTimezoneOffset = -120 n.setTime(n.getTime() + ((serverTimezoneOffset - n.getTimezoneOffset()) * 60 * 1000)) return n } function show_full_date() { try { //var dow = ["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"] var dow = ["יום א'","יום ב'","יום ג'","יום ד'","יום ה'","יום ו'","שבת"] var Localdate = cta_time.getDate() + "." + (cta_time.getMonth()+ 1) + "." + (2000 + (cta_time.getYear() % 100)) var LocalDay = dow[cta_time.getDay()] document.getElementById("date_in_israel_new").innerHTML = '
' + LocalDay + ', | ' + '' + Localdate + ' | ' + '