// ----------------------------------------------------------------------------
if (typeof(ACCESSIBLE_VERSION) == "undefined") { ACCESSIBLE_VERSION = false; }
// ----------------------------------------------------------------------------
if (typeof(__waa__) == "undefined") var __waa__ = [];
__waa__[__waa__.length] =
new function(appInfo) {
var emburl = new URL(document.location.href);
var cgiurl = new URL("http://" + appInfo.server + appInfo.cgiPath);
var resurl = new URL("http://" + appInfo.server + "/cgi/NewsTicker/StringScroller.js");
cgiurl.setParameter("accountId", appInfo.accountId, true);
cgiurl.setParameter("uid", appInfo.internalId, true);
cgiurl.setParameter("cc", Math.random(), true);
if (appInfo.proxyIncludes) {
cgiurl = new URL(appInfo.proxyUrl + URL.jencode(cgiurl.toString()));
resurl = new URL(appInfo.proxyUrl + URL.jencode(resurl.toString()));
}
document.getElementById("scrollMeParent").style.display = "none";
window.showTicker = function (obj) {
var msg = "+++ News +++ News +++";
var tickerTextStoreElem = document.getElementById("tickerTextStore");
if(tickerTextStoreElem){
msg = URL.jdecode(tickerTextStoreElem.innerHTML);
}
// do not embed falsh ticker template directly
if (!ACCESSIBLE_VERSION) {
if (obj.isFlash) {
var url = __path_prefix__ + "/flash/newsticker.swf";
document.write("");
} else {
g_stringScroller = new StringScroller(window, "scrollMe");
g_stringScroller.setSpeed(15, 1);
g_stringScroller.setString(msg);
g_stringScroller.start();
if (typeof(__TickerWidth__) != 'undefined' && typeof(document.getElementById) == 'function')
document.getElementById("scrollMeParent").style.width=__TickerWidth__;
document.getElementById("scrollMeParent").style.display = "";
}
} else {
document.write("" + msg + "");
}
}
document.writeln("");
document.writeln("");
}({
accountId : "AHPL10INPLBW",
internalId : "17685132",
customField : "1501",
server : "wsc1.home.net.pl:80",
cgiPath : "/cgi-bin/CMNewsTicker",
cgiRes : "http://wsc1.home.net.pl:80/cgi",
productId : "WSCSYSSSSLY0XVUI",
clientId : "RRHOME999JZT4EPQ",
proxyIncludes : false,
proxyUrl : "",
pos : __waa__.length
});
// ----------------------------------------------------------------------------