naw=navigator.appName;
naw2=navigator.userAgent;

function wlaczzdje(zdj) {
   if (naw.indexOf("Explorer")!=-1 && naw2.indexOf("Opera")==-1) {
      zdj.parentNode.style.display="block";
      if (zdj.offsetWidth>227&&zdj.offsetHeight>166) {
         if (227/166<zdj.offsetWidth/zdj.offsetHeight) zdj.style.zoom=227/zdj.offsetWidth; else zdj.style.zoom=166/zdj.offsetHeight;
      } else if (zdj.offsetWidth>227&&zdj.offsetHeight<=166) zdj.style.zoom=227/zdj.offsetWidth; else if (zdj.offsetWidth<=227&&zdj.offsetHeight>166) zdj.style.zoom=166/zdj.offsetHeight;
   }
}

if (naw.indexOf("Explorer")!=-1 && naw2.indexOf("Opera")==-1) {
   document.write('<style type="text/css"><!--\n .zdje {display:none;}\n .dostawa {position: relative; top: -1px;} \n --></style>');
}


function wlaczzdje2(zdj) {
   if (naw.indexOf("Explorer")!=-1 && naw2.indexOf("Opera")==-1) {
      zdj.parentNode.style.display="block";
      if (zdj.offsetWidth>400&&zdj.offsetHeight>300) {
         if (400/300<zdj.offsetWidth/zdj.offsetHeight) zdj.style.zoom=400/zdj.offsetWidth; else zdj.style.zoom=300/zdj.offsetHeight;
      } else if (zdj.offsetWidth>400&&zdj.offsetHeight<=300) zdj.style.zoom=400/zdj.offsetWidth; else if (zdj.offsetWidth<=400&&zdj.offsetHeight>300) zdj.style.zoom=300/zdj.offsetHeight;
   }
}
