var tClass = {
tArr: new Array(),
cOn: "t_on",
cOff: "t_off",
aTab: function (tabsContainer) {
tabs = document.getElementById(tabsContainer).getElementsByTagName("div");
for (x in tabs) { if (typeof(tabs[x].id) != "undefined") { this.tArr.push(tabs[x].id); } else {} }
},
sTab: function (element) {
for (x in this.tArr) {
tabItem = this.tArr[x];
dataElement = document.getElementById(tabItem + "_data");
if (dataElement) { if (dataElement.style.display != "none") { dataElement.style.display = "none"; } else {} } else {}
tabElement = document.getElementById(tabItem);
if (tabElement) { if (tabElement.className != this.cOff) { tabElement.className = this.cOff; } else {} } else {}
}
document.getElementById(element.id + "_data").style.display = "";
element.className = this.cOn;
}
};
document.write('\
\
\
\
\
\
\
\
\
\
\
Kontrakty terminowe\
| \
\
\
\
\
\
Waluta | Kupno | Sprzedaż | \
USD | | | EUR | | | CHF | | | \
\
\
\
Pszenica kons. | GRU24 | ↑ 955.91zł | Kukurydza | LIS24 | ↑ 906.97zł | Rzepak | LIS24 | ↑ 2215.24zł | |
\
\
\
\
Pszenica kons. | GRU24 | ↑ 844.08zł | Kukurydza | GRU24 | ↑ 655.39zł | Soja | LIS24 | ↓ 1428.27zł | Śruta soj. | GRU24 | ↓ 1339.00zł | |
\
\
| \
\
\
| \
\
\
');
tClass.aTab("ewgt_tab");