doulubionych_on = new Image();
doulubionych_on.src = "gfx/bt-doulubionychon.gif"
doulubionych_off = new Image();
doulubionych_off.src = "gfx/bt-doulubionych.gif"

startowa_on = new Image();
startowa_on.src = "gfx/bt-startowaon.gif"
startowa_off = new Image();
startowa_off.src = "gfx/bt-startowa.gif"

glowna_on = new Image();
glowna_on.src = "gfx/bt-glownaon.gif"
glowna_off = new Image();
glowna_off.src = "gfx/bt-glowna.gif"

poradnik_on = new Image();
poradnik_on.src = "gfx/bt-poradnikon.gif"
poradnik_off = new Image();
poradnik_off.src = "gfx/bt-poradnik.gif"

gps_on = new Image();
gps_on.src = "gfx/bt-gpson.gif"
gps_off = new Image();
gps_off.src = "gfx/bt-gps.gif"

cennik_on = new Image();
cennik_on.src = "gfx/bt-cennikon.gif"
cennik_off = new Image();
cennik_off.src = "gfx/bt-cennik.gif"

referencje_on = new Image();
referencje_on.src = "gfx/bt-referencjeon.gif"
referencje_off = new Image();
referencje_off.src = "gfx/bt-referencje.gif"

kontakt_on = new Image();
kontakt_on.src = "gfx/bt-kontakton.gif"
kontakt_off = new Image();
kontakt_off.src = "gfx/bt-kontakt.gif"

sklep_on = new Image();
sklep_on.src = "gfx/bt-sklepon.gif"
sklep_off = new Image();
sklep_off.src = "gfx/bt-sklep.gif"





function select(imgName) {
imgOn = eval(imgName + "_on.src");
document[imgName].src = imgOn;
window.status = imgName;
setTimeout("erase()",3000);
}



function unselect(imgName) {
imgOff = eval(imgName + "_off.src");
document[imgName].src = imgOff;
}



function erase() {
window.status="";
}



function onLink(obj,col,cl)
{
obj.style.backgroundColor=col;
obj.className=cl;
}



function offLink(obj,cl)
{
obj.style.backgroundColor='';
obj.className=cl;
}



function openWindow(url, width, height)
{
var ZoomInWindow = window.open("","displayWindow",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=no,menubar=no');
with(ZoomInWindow.document)
  {
  writeln('<html><head><title>certus.pl</title></head>');
  writeln('<body topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0 onBlur="window.close();">');
  writeln('<img src="' + url + '" alt="">');
  writeln('</body></html>');
  void(close());
  }
}



function addbookmark()
{
if(document.all)
  window.external.AddFavorite('http://www.certus.pl','CERTUS')
}



function OnSelChange() {
document.konfig.submit();
}



function flash(id, kolor, czas, kolor2, czas2)
{
if (document.getElementById)
{
document.getElementById(id).style.color = kolor;
setTimeout('flash("' +  id + '","' + kolor2 + '",' + czas2 + ',"' + kolor + '",' + czas + ')', czas);
}
else if (document.all)
{
document.all[id].style.color = kolor;
setTimeout('flash("' +  id + '","' + kolor2 + '",' + czas2 + ',"' + kolor + '",' + czas + ')', czas);
}
}



function blinkText(id_txt, frs_color, frs_time, sec_color, sec_time)
{
if (document.getElementById)
{
document.getElementById(id_txt).style.color = frs_color;
setTimeout('blinkText("' +  id_txt + '","' + frs_color + '",' + frs_time + ',"' + sec_color + '",' + sec_time + ')', frs_time);
}
else
if (document.all)
{
document.all[id].style.color = frs_color;
setTimeout('blinkText("' +  id_txt + '","' + sec_color + '",' + sec_time + ',"' + frs_color + '",' + frs_time + ')', frs_time);
}
}



