var loadedLibs = new Object();
var timerEl;
var spOEl,spAEl;
function require(libraryName) {
   if (loadedLibs[libraryName]) return false;
   document.write('<script type="text/javascript" src="'+libraryName+'?v=1.12"></script>');
   loadedLibs[libraryName]=true;
}

function initWiadomosci() {
	Utils.processDt("date", 59, false, "YMD");
      fixIEpng();
}
require("http://serwisy.gazeta.pl/info/sc.us/proto_sc.jsgz");
require("http://www.gazeta.pl/info/common/utils.js");
require("http://www.gazeta.pl/info/common/lokal.js");
require("http://www.gazeta.pl/info/gospodarka/podmioty.js");
require("http://www.gazeta.pl/info/klucze/gielda.js");
require("http://www.gazeta.pl/info/gospodarka/navfix.js");
require("/info/common/switchbox.js");
require("/info/sport/mmbox.js");
require("/info/video/swfobject_2.js");
require("/info/sport/pngfix.js");

function addEvent(obj, type, fn) {
  if (obj.addEventListener) {
    obj.addEventListener(type, fn, false);
  } else if (obj.attachEvent) {
    obj["e" + type + fn] = fn;
    obj[type + fn] = function() { obj["e" + type + fn] (window.event); }
    obj.attachEvent("on" + type, obj[type + fn]);
  }
}

function hasClass(obj, clName) {
  var clN = ' ' + obj.className + ' ';
  return (clN.match(' ' + clName + ' ') != null);
}

addEvent(window,'load', initWiadomosci);

