browser_name = navigator.appName;
browser_version = parseFloat(navigator.appVersion);

if(browser_name == "Netscape" && browser_version >= 3.0) {
  version = "ok";
}
else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 3.0) {
  version = "ok";
}
else if (browser_name == "Opera" && browser_version >= 6.0) {
  version = "ok";
}
else {
  version = "bad";
}


if (version == "ok") {

 firmaon = new Image();
 firmaon.src="images/shared/firma1.gif";
 firmaoff = new Image();
 firmaoff.src="images/shared/firma.gif";

 kontakton = new Image();
 kontakton.src="images/shared/kontakt1.gif";
 kontaktoff = new Image();
 kontaktoff.src="images/shared/kontakt.gif";

 dojazdon = new Image();
 dojazdon.src="images/shared/dojazd1.gif";
 dojazdoff = new Image();
 dojazdoff.src="images/shared/dojazd.gif";

 formularzon = new Image();
 formularzon.src="images/shared/formularz1.gif";
 formularzoff = new Image();
 formularzoff.src="images/shared/formularz.gif";
 
 about_uson = new Image();
 about_uson.src="images/shared/about_us1.gif";
 about_usoff = new Image();
 about_usoff.src="images/shared/about_us.gif";

 offeron = new Image();
 offeron.src="images/shared/offer1.gif";
 offeroff = new Image();
 offeroff.src="images/shared/offer.gif";

 contacton = new Image();
 contacton.src="images/shared/contact1.gif";
 contactoff = new Image();
 contactoff.src="images/shared/contact.gif";

 how_toon = new Image();
 how_toon.src="images/shared/how_to_get_to_us1.gif";
 how_tooff = new Image();
 how_tooff.src="images/shared/how_to_get_to_us.gif";

 formon = new Image();
 formon.src="images/shared/form1.gif";
 formoff = new Image();
 formoff.src="images/shared/form.gif";

 arrow1on = new Image();
 arrow1on.src="images/shared/arrow1.gif";
 arrow1off = new Image();
 arrow1off.src="images/shared/arrow.gif";
 
 arrow2on = new Image();
 arrow2on.src="images/shared/arrow1.gif";
 arrow2off = new Image();
 arrow2off.src="images/shared/arrow.gif";
 
 arrow3on = new Image();
 arrow3on.src="images/shared/arrow1.gif";
 arrow3off = new Image();
 arrow3off.src="images/shared/arrow.gif";
 
 arrow4on = new Image();
 arrow4on.src="images/shared/arrow1.gif";
 arrow4off = new Image();
 arrow4off.src="images/shared/arrow.gif";
 
 arrow5on = new Image();
 arrow5on.src="images/shared/arrow1.gif";
 arrow5off = new Image();
 arrow5off.src="images/shared/arrow.gif";
 
 arrow6on = new Image();
 arrow6on.src="images/shared/arrow1.gif";
 arrow6off = new Image();
 arrow6off.src="images/shared/arrow.gif";

 arrow7on = new Image();
 arrow7on.src="images/shared/arrow1.gif";
 arrow7off = new Image();
 arrow7off.src="images/shared/arrow.gif";

 arrow8on = new Image();
 arrow8on.src="images/shared/arrow1.gif";
 arrow8off = new Image();
 arrow8off.src="images/shared/arrow.gif";

 arrow9on = new Image();
 arrow9on.src="images/shared/arrow1.gif";
 arrow9off = new Image();
 arrow9off.src="images/shared/arrow.gif";

 arrow0on = new Image();
 arrow0on.src="images/shared/arrow1.gif";
 arrow0off = new Image();
 arrow0off.src="images/shared/arrow.gif";
 
 arrow10on = new Image();
 arrow10on.src="images/shared/arrow1.gif";
 arrow10off = new Image();
 arrow10off.src="images/shared/arrow.gif";
 
 ptfeon = new Image();
 ptfeon.src="images/index/ptfe1.gif";
 ptfeoff = new Image();
 ptfeoff.src="images/index/ptfe.gif";

 tekstolit_on = new Image();
 tekstolit_on.src="images/shared/tekstolit1.gif";
 tekstolit_off = new Image();
 tekstolit_off.src="images/shared/tekstolit.gif";
 
 tekstoliton = new Image();
 tekstoliton.src="images/index/tekstolit1.gif";
 tekstolitoff = new Image();
 tekstolitoff.src="images/index/tekstolit.gif";
 
 tekstoliton = new Image();
 tekstoliton.src="images/index/tekstolit1.gif";
 tekstolitoff = new Image();
 tekstolitoff.src="images/index/tekstolit.gif";

 plytyon = new Image();
 plytyon.src="images/index/plyty-gumowe1.gif";
 plytyoff = new Image();
 plytyoff.src="images/index/plyty-gumowe.gif";
 
 poliamidon = new Image();
 poliamidon.src="images/index/poliamid1.gif";
 poliamidoff = new Image();
 poliamidoff.src="images/index/poliamid.gif";
 
 kurtyny_halowe_pcvon = new Image();
 kurtyny_halowe_pcvon.src="images/index/kurtyny-halowe-pcv1.gif";
 kurtyny_halowe_pcvoff = new Image();
 kurtyny_halowe_pcvoff.src="images/index/kurtyny-halowe-pcv.gif";
 
 siliconeon = new Image();
 siliconeon.src="images/index/silicone1.gif";
 siliconeoff = new Image();
 siliconeoff.src="images/index/silicone.gif";
 
 polyamideon = new Image();
 polyamideon.src="images/index/polyamide1.gif";
 polyamideoff = new Image();
 polyamideoff.src="images/index/polyamide.gif";
 
 curtainson = new Image();
 curtainson.src="images/index/curtains1.gif";
 curtainsoff = new Image();
 curtainsoff.src="images/index/curtains.gif";
 
 ptfe_blokon = new Image();
 ptfe_blokon.src="images/page/oferta/menu_ptfe1.gif";
 ptfe_blokoff = new Image();
 ptfe_blokoff.src="images/page/oferta/menu_ptfe.gif";
 
 tekstolit_blokon = new Image();
 tekstolit_blokon.src="images/page/oferta/menu_tekstolit1.gif";
 tekstolit_blokoff = new Image();
 tekstolit_blokoff.src="images/page/oferta/menu_tekstolit.gif";
 
 plyty_blokon = new Image();
 plyty_blokon.src="images/page/oferta/menu_plyty-gumowe1.gif";
 plyty_blokoff = new Image();
 plyty_blokoff.src="images/page/oferta/menu_plyty-gumowe.gif";

 poliamid_blokon = new Image();
 poliamid_blokon.src="images/page/oferta/menu_poliamid1.gif";
 poliamid_blokoff = new Image();
 poliamid_blokoff.src="images/page/oferta/menu_poliamid.gif";
 
 kurtyny_blokon = new Image();
 kurtyny_blokon.src="images/page/oferta/menu_kurtyny1.gif";
 kurtyny_blokoff = new Image();
 kurtyny_blokoff.src="images/page/oferta/menu_kurtyny.gif";
 
 ptfe_pageon = new Image();
 ptfe_pageon.src="images/page/oferta/page_ptfe1.gif";
 ptfe_pageoff = new Image();
 ptfe_pageoff.src="images/page/oferta/page_ptfe.gif";
 
 tekstolit_pageon = new Image();
 tekstolit_pageon.src="images/page/oferta/page_tekstolit1.gif";
 tekstolit_pageoff = new Image();
 tekstolit_pageoff.src="images/page/oferta/page_tekstolit.gif";
 
 plyty_pageon = new Image();
 plyty_pageon.src="images/page/oferta/page_plyty-gumowe1.gif";
 plyty_pageoff = new Image();
 plyty_pageoff.src="images/page/oferta/page_plyty-gumowe.gif";

 poliamid_pageon = new Image();
 poliamid_pageon.src="images/page/oferta/page_poliamid1.gif";
 poliamid_pageoff = new Image();
 poliamid_pageoff.src="images/page/oferta/page_poliamid.gif";
 
 kurtyny_pageon = new Image();
 kurtyny_pageon.src="images/page/oferta/page_kurtyny1.gif";
 kurtyny_pageoff = new Image();
 kurtyny_pageoff.src="images/page/oferta/page_kurtyny.gif";
 
 mapaon = new Image();
 mapaon.src="images/page/dojazd/mapka1.gif";
 mapaoff = new Image();
 mapaoff.src="images/page/dojazd/mapka.gif";
 
 silicone_blokon = new Image();
 silicone_blokon.src="images/page/oferta/menu_silicone1.gif";
 silicone_blokoff = new Image();
 silicone_blokoff.src="images/page/oferta/menu_silicone.gif";

 polyamide_blokon = new Image();
 polyamide_blokon.src="images/page/oferta/menu_polyamide1.gif";
 polyamide_blokoff = new Image();
 polyamide_blokoff.src="images/page/oferta/menu_polyamide.gif";
 
 curtains_blokon = new Image();
 curtains_blokon.src="images/page/oferta/menu_curtains1.gif";
 curtains_blokoff = new Image();
 curtains_blokoff.src="images/page/oferta/menu_curtains.gif";
 
 silicone_pageon = new Image();
 silicone_pageon.src="images/page/oferta/page_silicone1.gif";
 silicone_pageoff = new Image();
 silicone_pageoff.src="images/page/oferta/page_silicone.gif";

 polyamide_pageon = new Image();
 polyamide_pageon.src="images/page/oferta/page_polyamide1.gif";
 polyamide_pageoff = new Image();
 polyamide_pageoff.src="images/page/oferta/page_polyamide.gif";
 
 curtains_pageon = new Image();
 curtains_pageon.src="images/page/oferta/page_curtains1.gif";
 curtains_pageoff = new Image();
 curtains_pageoff.src="images/page/oferta/page_curtains.gif";
 
 mapa_enon = new Image();
 mapa_enon.src="images/page/dojazd/mapka_en1.gif";
 mapa_enoff = new Image();
 mapa_enoff.src="images/page/dojazd/mapka.gif";
 
 plon = new Image();
 plon.src="images/shared/pl1.gif";
 ploff = new Image();
 ploff.src="images/shared/pl.gif";
 
 enon = new Image();
 enon.src="images/shared/en1.gif";
 enoff = new Image();
 enoff.src="images/shared/en.gif";
 


 function imgact(imgName) {
   if (version == "ok")
   {
     imgOn = eval(imgName + "on.src");
     document [imgName].src = imgOn;
   }
 }


 function imgnoact(imgName) {
   if (version == "ok")
   {
     imgOff = eval(imgName + "off.src");
     document [imgName].src = imgOff;
   }
 }

}
